Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Request for the permission of type 'System.Security.Permissions.SecurityPermission Failed- Dynamics 365 Unified Interface Online

(0) ShareShare
ReportReport
Posted on by 135

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.

pastedimage1617661757682v1.png

Any help or suggestions will highly be appreciated

Thanks

Srikanth

  • Community Member Profile Picture
    Microsoft Employee on at
    RE: Request for the permission of type 'System.Security.Permissions.SecurityPermission Failed- Dynamics 365 Unified Interface Online

    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.

    David Jennaway - Microsoft Dynamics CRM: Plugins in the sandbox, and why you don't get System.Security.Permissions.SecurityPermission (mscrmuk.blogspot.com)

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

     

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

Dynamics 365 Community Update – Sep 16th

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…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,860 Test role Public

#2
Ludwig Reinhard Profile Picture

Ludwig Reinhard Microsoft Employee

#3
Martin Dráb Profile Picture

Martin Dráb 225,155 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans