As stated, tried to use access_token acquired from user session id_token. But when trying to use the access token it's giving below error message.
{
"error": {
"code": "InvalidAuthenticationToken",
"message": "CompactToken parsing failed with error code: 80049217",
"innerError": {
"request-id": "<<requestid>>",
"date": "2020-02-11T15:46:32"
}
}
}
Here is the Graph API URL I tried to pass the access token as a authorization header https://graph.microsoft.com/v1.0/me/photo
But, the same graph API URL is working when tried from Microsoft graph explorer.
Appreciate any help.
Thanks