Skip to main content

Notifications

Dynamics 365 general forum

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

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans