Audience not found error on connecting to a REST api endpoint in Data Factory

Dhillon, Khushvir 0 Reputation points
2023-12-08T20:46:10.5133333+00:00

Hello

I am trying to connect to a REST API in a linked service in Azure Data Factory. I can successfully connect to it and receive data in Postman but I get following error in ADF even though I am passing the audience:

Failed to get access token from your token endpoint. Error returned from your authorization server: {"error":"access_denied","error_description":"No audience parameter was provided, and no default audience has been configured"}. Processed HTTP request failed.


I came across another similar question and tried all the solutions provided there but none of them work for me. The link is attached below:

https://learn.microsoft.com/en-us/answers/questions/629804/audience-parameter-error-on-running-a-rest-api-end

I have also attached pictures of where I pass the audience successfully in my Postman request. How can I pass it successfully in ADF linked service?

Capture

Thank you

Khushvir

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,345 questions
{count} votes

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.