Microsoft Graph API - List Users Extra Info

asked 2020-09-11T12:45:19.507+00:00
muthuvel 31 Reputation points

In my account, I have Job Info, Contact Info, etc .. But in the API response, the below fields only returned.

How to get the all users info from this endpoint(https://graph.microsoft.com/v1.0/users) ?

Ref: https://learn.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http

HTTP/1.1 200 OK
Content-type: application/json
Content-length: 608

{
"value": [
{
"businessPhones": [
"businessPhones-value"
],
"displayName": "displayName-value",
"givenName": "givenName-value",
"jobTitle": "jobTitle-value",
"mail": "mail-value",
"mobilePhone": "mobilePhone-value",
"officeLocation": "officeLocation-value",
"preferredLanguage": "preferredLanguage-value",
"surname": "surname-value",
"userPrincipalName": "userPrincipalName-value",
"id": "id-value"
}
]
}

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,570 questions
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2020-09-11T12:51:14.563+00:00
    soumi-MSFT 11,591 Reputation points Microsoft Employee

    @muthuvel , Thank you for reaching out. You the graph v1.0 endpoint for list user details would only list the values that you have shared. To get more user details you would have to use the beta endpoint of Microsoft Graph API.

    API : GET https://graph.microsoft.com/beta/users

    You can read more about this api here: https://learn.microsoft.com/en-us/graph/api/user-list?view=graph-rest-beta&tabs=http

    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.