An API that connects multiple Microsoft services, enabling data access and automation across platforms
Hello Jay Lin,
Thank you for reaching out to Microsoft Support!
In response to your question, we have tested the endpoint and everything is fine, the test results are as follows:
According to your screenshot, the permissions you have granted are sufficient. What you need to check is whether your token has these permissions. Please parse the token in jwt.ms and check whether there is User.ReadBasic.All permission in "scp". This endpoint does not support a personal Microsoft account.
Reference document:
https://learn.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.