Quantcast
Viewing latest article 3
Browse Latest Browse All 16000

Unable to use access_token aquired from logged in your session id_token to consume graph API to get current user photo

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





Viewing latest article 3
Browse Latest Browse All 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>