Are there API queries which can be used to Fetch User data like name, address from MS Azure/Entra Id?

Powar, Gunjan 20 Reputation points
2024-05-13T13:22:39.1833333+00:00

I am a Salesforce CRM developer and need API queries to fetch the user details like Name, Phone, Email, etc. From Microsoft Azure AD/MS Entra Id. Are there any documentation or reference for same?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,874 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yakun Huang-MSFT 785 Reputation points Microsoft Vendor
    2024-05-15T02:35:38.14+00:00

    Hi @Powar, Gunjan

    You can use the users endpoint to list the personal information of all users, such as username, phone, email, etc. The request is as follows:

    https://graph.microsoft.com/v1.0/users
    

    Here are the results of my tests in Graph Explorer.

    Screenshot 2024-05-15 101119

    More information about users endpoint:

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

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful