How we generate bearer token for Azure management API

manish verma 516 Reputation points
2024-01-13T15:30:08.01+00:00

Hi All, we want to use below API in azure data Factory, we need to generate bearer token please help

https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/disable?api-version=2016-06-01
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,646 questions
{count} votes

Accepted answer
  1. phemanth 15,765 Reputation points Microsoft External Staff Moderator
    2024-01-22T06:16:49.1833333+00:00

    @manish verma

    Thanks for posting your question in the Microsoft Q&A forum.

    To generate a bearer token for the Azure Data Factory API, you can use the following steps:

    . Please follow the below approach.

    enter image description here I used the same URL with web Activity and generated a bearer Token in the Azure data factory. enter image description here Generate bearer Token as shown below:

    enter image description here

    • Connect Web activity 2 with newly created Web1 activity

    enter image description here

    • Add dynamic expression : Bearer @{activity('Web2').output.data.Token}

    enter image description here Output: enter image description here Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Vahid Ghafarpour 23,385 Reputation points Volunteer Moderator
    2024-01-13T23:32:55.66+00:00

    Thanks for posting your question in the Microsoft Q&A forum. Did you check this guide? https://cloudopszone.com/azure-rest-api-create-bearer-token/ ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.