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

Announcements

No record found.

News and Announcements icon
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 Moderator 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 171

#2
ManoVerse Profile Picture

ManoVerse 54 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 46

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans