I want to use ADF , web activity to get the access token from https://login.windows.net/**********/oauth2/token
using the system assigned managed identity from ADF
resource is
How is the request body should be ? how is the header should be ?
I want to use ADF , web activity to get the access token from https://login.windows.net/**********/oauth2/token
using the system assigned managed identity from ADF
resource is
How is the request body should be ? how is the header should be ?
Please follow below steps:
Step 1: Create a web activity to get the Access Token from ADF
https://login..../<Tenant ID>/oauth2/token
Method : POST
Body: grant_type=client_credentials&client_id=<client_id>&client_secret=<client_secret>&resource=https://purview.azure.net/
Header: Content-Type:application/x-www-form-urlencoded
Authentication: System Assigned Managed Identity
Resource: https://purview.azure.net/
Step2: Create Set variable :
@activity('Web1').output.access_token
Response