We continue to have authentication problems with OAuth Custom Connector, as mentionned in this post we encounter issue when we are trying to use OAuth Generic Connector.
Se we tried to use the Azure active directory connector, but we found out new issue. This time the connection was created successfully, but when we try to call our api we receive a generic error.
See screenshots below :
When we are trying our api we receive from the connector Test Page :
You do not have permission to view this directory or page.
I checked the bearer token sent to the Api and it seems that it doesn't send the good audience in the bearer token :
When we are getting the token from PostMan the audience is the ressource the token is intented for.
What am I missing ? Or do I misunderstand something ?
Hi @quentin-roger ,
Do you mean that you have to permission to your api connector?
whether you have added the resource as an audience in your App Service authentication configuration
I also find some docs about how to grant permissions to users to use the Azure AD connector for your reference:
Hi @quentin-roger how are you progressing with this? Was the above reply helpful?
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand