Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

CRM Web API - Impersonate User based on alternate key

(0) ShareShare
ReportReport
Posted on by

Hello Community,

Can I make impersonate calls to CRM Web API by supplying to MSCRMCallerID header attribute an alternate key value (e.g email address) instead of an user's GUID? If yes, how can I do this?

I'm looking for an way to use the CRM Web API from external application without worring about user's GUID.

Thanks.

 

  • Suggested answer
    Emre GULCAN Profile Picture
    2,379 on at
    RE: CRM Web API - Impersonate User based on alternate key

    Hi,

    Probably it's not possible.

    If you're inside Dynamics 365 you can also have current user context and user ID, if you're not probably you should run query to SystemUser entity with your field (for exp. email field) and get systemuser ID information, after that impersonate webapi with this ID.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans