locked
Failed to send the message into the ServiceBus topic subscription by using WindowsAzure.ServiceBus Nuget package from Dynamics 365 custom workflow. RRS feed

  • Question

  • Hello,
    We are trying to send the message into the service bus by using the CRM custom workflow but it is returning a physical crash by giving the error message i.e. the Sync workflow 'Workflow name' terminated with error 'Unexpected exception from plug-in (Execute): ServiceBus_Workflows.Workflow name: System.Security.SecurityException: That assembly does not allow partially trusted callers.'

    Does anyone have an idea how to resolve this error?
    OR is there any other way to do the same thing?

    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Regards, Munavvar Husein


    Monday, November 19, 2018 2:43 PM

All replies

  • This looks very similar to what you are trying. Are these the same steps that you have tried?

    Also, there is an issue which address the same problem and talks about the way Dynamics 365 Custom Workflow assemblies are run. So, I believe you will get a better answer here.


    Thursday, November 22, 2018 12:21 PM
  • Hello Ketan,

    Yes, I have tried the same which you have specified above and also I am using the ILMerge as well but it is giving an Error.


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Regards, Munavvar Husein

    Monday, December 3, 2018 5:13 AM