"401 Unauthorized : The audience is invalid" Error with Azure AAD for .Net Core APIs
Azure AD by default generates Application URI in below format. api://<<Client_Id>> but When you change Application URI with "https://xyz.onmicrosoft.com/<<Client_Id>>" and the token generated using Auth Code Grant or Client Credential flow, if passed to API for Authorization, you will get…