MS Graph API OneDrive 403 error

Nieck 11 Reputation points
2021-04-23T08:41:07.127+00:00

Hey,

When I connect to Graph and want to read my own OneDrive data with "https://graph.microsoft.com/v1.0/me/drive/root/children" everything works fine. When I try to do this for another user with "https://graph.microsoft.com/v1.0/users('f5774033-e2fd-4ae4-8e11-123456789')/drive/root/children" I get a 403 error.
The user in particular has an E3 license.

90713-image.png

As far as I can estimate, I do have the correct rights:
90693-image.png

Does anyone see what I'm doing wrong?

I checked this website, but this does not give me the correct answer:
https://learn.microsoft.com/en-us/graph/resolve-auth-errors

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