Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Unanswered

Authenticate to Azure AD from CRM plugin\workflow assembly

Posted on by 264

Hi, we are in a process of going online from our on-premise implementation. I configured Azure app proxy to access our web services which will remain hosted on-premise. I turned on Azure AD as security option and tested from a console app, working fine. But to authenticate I had to use Microsoft.IdentityModel.Clients.ActiveDirectory NuGet package. I thought those assemblies will be available in GAC on Microsoft servers, but it seems they are not. I tried to use ILMerge, but get error message from plugin registration tool that assembly could not be loaded. ILMerge is a feature I am trying to avoid anyway, so my question how could I authenticate to Azure AD from a plugin or workflow assembly?

Thanks in advance

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

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

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,135 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans