Getting users list of an organization

Dani Sleiman 1 Reputation point
2020-10-15T11:26:54.687+00:00

I have implemented SPA with Microsoft graph API and able to get access token. When I try to fetch users of my organization I am not able to get those users that I have already added in the Azure portal.

The API URL I am using is:
https://graph.microsoft.com/v1.0/users

In the response, I am only getting one user details with which I have generated the access token but not the other users.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,879 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Deva-MSFT 2,256 Reputation points Microsoft Employee
    2020-10-17T13:24:22.76+00:00
    • Ok, it tells that the API doesn't lists users in the organization.
    • When i tried locally in my test tenant, i can able to get the list of all users.
    • Please check with your administrator to see whether the users are part of same organization or not.

  2. Dani Sleiman 1 Reputation point
    2020-11-04T13:16:29.347+00:00

    Hi
    I got to know that users list will not appear if account type is microsoft account.

    0 comments No comments