CompactToken parsing failed with error code: 80049217

Christos 11 Reputation points
2022-03-24T16:43:03.033+00:00

Hello I try to call GET https://graph.microsoft.com/v1.0/users
to retrieve the members of a tenant but I am getting the following error

CompactToken parsing failed with error code: 80049217

I have added the application permissions to the app
User.Read.All, User.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All

And also I have granted as admin the proper permissions from our test tenant to the app

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,445 questions
0 comments No comments
{count} votes