Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Get CRM logged in user authentication

$
0
0

Hello,

I did not found the solution to this, so asking on the community :

Is there a way to get the logged-in CRM users authentication?

Example, both IServiceProvider and IOrganizationService do not provide me methods to fetch the authentication details. 

Since plugins run in the pipeline, even async, we can perform CRUD operations in dynamics CRM, so there must be some authentication passed in the plugin directly by CRM.

Why i need this : I want the user's identity verified by MicroSoft and pass this token securely to my service. Then i hope to use this authentication to find the user to which it belongs. I assume that the authentication related to Azure Directory and i can call Azure API to fetch user details.

Thanks,

Aseem


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images