Access token validation failure. Invalid audience
Hi Support Team,
i am working on integrating the Azure AD cloud with Spring boot, created the separate web API, from the web application (client application), we are able to redirect to Azure for authorization, after successful authorization it is redirecting the original requested url end point , we are retrieving the token from the end point and trying to use the access token to call the graph API , but we are getting error as :
"Access token validation failure. Invalid audience."
in the application.yml file unable to provide the scope value as [ https://graph.microsoft.com/.default]( https://graph.microsoft.com/.default
), it is always taking the default scopes like cope=openid%20profile%20offline_access.
due to scope issue , i am unable to use the generated access token to call any graph api, please help me to resolve this issue.