Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Using ADAL libraries in Dynamics 365 (Online) plugins throws exception

$
0
0

We are trying to get our plugin to authenticate to Azure AD using ADAL. We IL merged the assemblies into the plugin and registered it. When CRM tries to login, we get this exception:

Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

I am exploring alternate option shown in http://www.zacrmguy.com/alternative-to-azure-authentication-with-adal-in-dynamics-crm-online-sandbox/ but I would really like to know if the ADAL libraries are supported from CRM online instance.

I am not sure if this is supported or if we are doing something wrong.


Rahul Ranjit


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>