I have registered the angular application in the portal and using adal-angular4 (https://www.npmjs.com/package/adal-angular4) library to retrieve the access token. While trying to call the Microsoft graph API https://graph.microsoft.com/v1.0/me with the access token in the header, receiving the error as 'Access token validation failure'.
{
"error": {
"code": "InvalidAuthenticationToken",
"message": "Access token validation failure.",
"innerError": {
"request-id": "722c9af9-f13b-4d0a-adbe-83ec349e0d16",
"date": "2017-08-28T04:40:12"
}
}
}
aud
claim in the token? – Fei Xue - MSFT