401 Unauthorized after creating client context using Access Token
Prateek Srivastava
1
Reputation point
Hi,
I have a web application deployed to Azure and registered as App Registration with AAD authentication configured.
I am getting current users info as "ClaimsPrincipal.Current" and access token as Request.Headers["x-ms-id-aad-token"].
However when try to send the above access token to authorization header in client context and try to get current user, it throws 401 unauthorized
Sign in to answer