web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Community Member Profile Picture
    on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans