web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Get User ID based on email address

(0) ShareShare
ReportReport
Posted on by 30

I am looking for a rest API using which I can get the user id of any user based on the email address of the user. I can make the rest API call using the admin account. 

Can anyone please give me a REST API through which I can access the user id of the user by passing the email of any user as the parameter? I don't want to find the user id of the current user. 

I have the same question (0)
  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    Hi Dishant,

    I believe you are talking about D365 CE.  are you using any third party app to get the detail? You can use the power automate as well to get this info with existing connectors.

    However, If you still want to use rest then here is the service URL: orgname.api.crm4.dynamics.com/.../users you can put any filter in this

  • Dishant Sharma Profile Picture
    30 on at

    Naveen Ganeshe Thanks for the reply. Actually, I am using the 'crm8.dynamics.com' base URL. The above one is not working for me!

  • Dishant Sharma Profile Picture
    30 on at

    I am not using any third-party app. I just want to make an API call from my JS app and get the username of the user by sending the email address of the user as the parameter.

  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    ok. Take a look at this documentation: learn.microsoft.com/.../query-data-web-api

    Replace the other entity name with users and apply a filter for email in any example from above link

  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at

    Refer below article and Add filter as email by replacing last name so that you will get the data.

    carldesouza.com/.../

    To get the API info please refer below article..

    functionalthoughts.com/.../

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans