Azure data factory AD access token using certificate

Viewed 772

How to get access token from AAD authentication service using certificate in Azure data factory web activity , I can not use client secret for this , Certificate from Service principle is already stored in Azure key vault

My ADF pipeline flow is like thuis

1)Web activity to point to the certificate stored in keyvalut 2)web activity url as https://login.microsoftonline.com//oath2/token and in body @concat('grant_type=client_credentials&client_id=',,'&client_assertion=',activity('Web1').output.cer,'&client_assertion_type=','urn:ietf:params:oauth:client-assertion-type:jwt-bearer','&resource=','https://analysis.windows.net/powerbi/api')

Getting error as

Invoking Web Activity failed with HttpStatusCode - 'NotFound', message - 'The requested resource does not exist on the server. Please verify the request server and retry'

0 Answers
Related