AzUrlShortener icon indicating copy to clipboard operation
AzUrlShortener copied to clipboard

v2 401 Error Help

Open 2xOu7 opened this issue 4 years ago • 0 comments

Hi,

I am trying to onboard to the new v2 API. I only need the backend, which I have already deployed. I have also set up a new Identity Provider for the Functions by creating an AAD app according to the instructions.

I am able to successfully acquire a bearer token for the AAD app using the ADAL library, but when I pass in the token in the authorization header to call the UrlShorten API, the response I get is a 401 with message = "You do not have permission to view this directory or page."

Not sure why this is happening. Please let me know if you need any more information for debugging.

2xOu7 avatar May 19 '21 19:05 2xOu7