Call API /users but i only received infomation of me?

Trần Minh Trọng 1 Reputation point
2020-06-18T01:55:10.117+00:00

hello. Can you help me?
i use API https://video2.skills-academy.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http i want list users but i only received infomation of me. tell me why? . i want list users signed to my app.
10277-screenshot11.png

thank you.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,434 questions
{count} votes

1 answer

Sort by: Most helpful
  1. soumi-MSFT 11,771 Reputation points Microsoft Employee
    2020-06-18T08:17:05.043+00:00

    @TrnMinhTrng-3973, Thank you for reaching out. The following graph api "https://graph.microsoft.com/v1.0/users" would list all the users in your tenant. To use this API the minimum level of required permissions are:

    • Delegated Permissions: User.ReadBasic.All
    • Application Permissions: User.Read.All

    Make sure that you are logged into GraphExplorer app using a user account of that tenant and also make sure the following permission delegated permission "User.ReadBasic.All" is available so that the list of users can be fetched from AAD.

    Hope this helps.

    Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as Answer; if the above response helped in answering your query.

    10316-graphexplorerapi.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.