Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Delete Plugin with plugin registration tool

Posted on by Microsoft Employee

I want to unregistered (delete) plugin with plugin registration tool but error below don't permit

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Action failed for assembly 'CloudafzarSMSCRM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e6d6c51e2896736e': Assembly must be registered in isolation.
Detail: <OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance">
  <ActivityId>00000000-0000-0000-0000-000000000000</ActivityId>
  <ErrorCode>-2147220906</ErrorCode>
  <ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>Action failed for assembly 'CloudafzarSMSCRM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e6d6c51e2896736e': Assembly must be registered in isolation.</Message>
  <Timestamp>2017-05-13T10:47:26.7312919Z</Timestamp>
  <ExceptionSource i:nil="true" />
  <InnerFault>
    <ActivityId>00000000-0000-0000-0000-000000000000</ActivityId>
    <ErrorCode>-2147220906</ErrorCode>
    <ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic" />
    <Message>Action failed for assembly 'CloudafzarSMSCRM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e6d6c51e2896736e': Assembly must be registered in isolation.</Message>
    <Timestamp>2017-05-13T10:47:26.7312919Z</Timestamp>
    <ExceptionSource i:nil="true" />
    <InnerFault i:nil="true" />
    <OriginalException i:nil="true" />
    <TraceText i:nil="true" />
  </InnerFault>
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

Server stack trace:
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
   at Microsoft.Crm.Tools.Libraries.RegistrationHelper.Unregister(CrmOrganization org, ProgressIndicator prog, ICrmEntity[] crmEntity)
   at Microsoft.Crm.Tools.PluginRegistration.OrganizationControlViewModel.<>c__DisplayClass16.<Unregister_Clicked>b__10(Object o, DoWorkEventArgs e)

*This post is locked for comments

  • Verified answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Delete Plugin with plugin registration tool

    Hi,

    There is a security restriction that enables only privileged users to register plug-ins. For plug-ins that are not registered in isolation, the system user account under which the plug-in is being registered must exist in the Deployment Administrators group of Deployment Manager. Only the System Administrator user account or any user account included in the Deployment Administrators group can run Deployment Manager.

    See: msdn.microsoft.com/.../gg309620(v=crm.5).aspx

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Delete Plugin with plugin registration tool

    Great. Thanks, Alex.

  • Verified answer
    ashlega Profile Picture
    ashlega 34,475 on at
    RE: Delete Plugin with plugin registration tool

    Yes, make sure you are a deployment admin in CRM(as strange as it sounds, you just have to be a deployment admin.. or you'll see this error). Don't have to change it to SandBox, I think..

  • Verified answer
    Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,397 on at
    RE: Delete Plugin with plugin registration tool

    Hi

    Are you a Deployment Administrator?

    Are you able to change it to Sandbox?

    Try deleting after that.

  • Verified answer
    ntn32 Profile Picture
    ntn32 401 on at
    RE: Delete Plugin with plugin registration tool

    Hi,

    If the current user is not a System Administrator then you might get this error. Try with System Administrator Account.

    If you are using System Administrator account than, can you tell us is on-premise CRM or Online?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans