
Hello,
I am getting the below error message when I try to call the external API from D365 Online Custom workflow activity.
System.Security.SecurityException
HResult=0x8013150A
Message=Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
throwing this error at yellow marked line.
Any help or suggestions will highly be appreciated
Thanks
Srikanth
Hi Srikanth,
As following link said, you can refer it:
And if you've got CRM Online, then the normal solution is to offload the processing to an environment that you have more control over. The most common option is to offload the processing to Azure, using the Azure Service Bus or Azure Event Hub. The alternative, new to CRM 9, is to send the data to a WebHook, which can be hosted wherever you like.
Regards,
Leah Ju
Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.