
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.
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.