Closed mw-tim closed 5 years ago
@mw-tim Not sure why you are passing the tenantid to acquireTokenApi(). It should be the resource name. In your case, it's the 'https://graph.microsoft.com/v1.0/users/'. Can you please try this and see if it works?
@mw-tim Closing this issue due to lack of response. Please reopen if it is not resolved for you.
I am trying to get a list of users from active directory, I am getting my access token using:
But when I request the users I get a 401 unauthorized
Any help would be great.