I have an App Service protected with AAD Authentication blade. There is an AAG url also for this.
Connecting using Client Credentials, I am able to get Token, but cannot access service with the token. It is throwing 401 Unauthorized error.
However the same app service works correctly in Non-AAG environments.
How to fix this error?
How can I get detailed information on this error?
Please advice.