MS Graph API OneDrive 403 error

Nieck 1 Reputation point
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 SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
727 questions
No comments
{count} votes