web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Error while registering Custom Workflow in Plugin Registration Tool

(0) ShareShare
ReportReport
Posted on by 15

Hello All,


I am getting error when try to register custom workflow on Plugin Registeration Tool.

Following is my Error code:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: PluginType [GetAccDetailsNew.ServerAction] not found in PluginAssembly [GetAccDetailsNew, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2887eac7ed891772] which has a total of [0] plugin/workflow activity types.
Detail: <OrganizationServiceFault xmlns="">schemas.microsoft.com/.../Contracts" xmlns:i="">www.w3.org/.../XMLSchema-instance">
  <ActivityId>f58cc32d-185c-4e11-9da9-f67a09815dac</ActivityId>
  <ErrorCode>-2147204725</ErrorCode>
  <ErrorDetails xmlns:a="">schemas.datacontract.org/.../System.Collections.Generic">
    <KeyValuePairOfstringanyType>
      <a:key>ApiExceptionSourceKey</a:key>
      <a:value i:type="b:string" xmlns:b="">www.w3.org/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiOriginalExceptionKey</a:key>
      <a:value i:type="b:string" xmlns:b="">www.w3.org/.../XMLSchema">Microsoft.Crm.CrmException: PluginType [GetAccDetailsNew.ServerAction] not found in PluginAssembly [GetAccDetailsNew, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2887eac7ed891772] which has a total of [0] plugin/workflow activity types. ---&gt; Microsoft.Crm.CrmException: PluginType [GetAccDetailsNew.ServerAction] not found in PluginAssembly [GetAccDetailsNew, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2887eac7ed891772] which has a total of [0] plugin/workflow activity types.
   at Microsoft.Crm.CrmPluginAssemblyMetadata.GetPluginTypeMetadata(String typeName)
   at Microsoft.Crm.ObjectModel.PluginTypeServiceInternal`1.SetIsWorkFlowActivityAttribute(PluginType pluginTypeArg, IBusinessEntity PluginAssembly, SandboxCustomActivityInfo&amp; customActivityInfo, CrmPluginTypeMetadata&amp; typeMetadata, ExecutionContext Context)
   at Microsoft.Crm.ObjectModel.PluginTypeServiceInternal`1.Create(IBusinessEntity entity, ExecutionContext context)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.Pipeline.&lt;&gt;c__DisplayClass2_1.&lt;Execute&gt;b__0()</a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiStepKey</a:key>
      <a:value i:type="b:guid" xmlns:b="">schemas.microsoft.com/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiDepthKey</a:key>
      <a:value i:type="b:int" xmlns:b="">www.w3.org/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiActivityIdKey</a:key>
      <a:value i:type="b:guid" xmlns:b="">schemas.microsoft.com/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiPluginSolutionNameKey</a:key>
      <a:value i:type="b:string" xmlns:b="">www.w3.org/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiStepSolutionNameKey</a:key>
      <a:value i:type="b:string" xmlns:b="">www.w3.org/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiExceptionCategory</a:key>
      <a:value i:type="b:string" xmlns:b="">www.w3.org/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiExceptionMesageName</a:key>
      <a:value i:type="b:string" xmlns:b="">www.w3.org/.../a:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <a:key>ApiExceptionHttpStatusCode</a:key>
      <a:value i:type="b:int" xmlns:b="">www.w3.org/.../a:value>
    </KeyValuePairOfstringanyType>
  </ErrorDetails>
  <HelpLink>http%3a%2f%2fgo.microsoft.com%2ffwlink%2f%3fLinkID%3d398563%26lcid%3d1033%26error%3dMicrosoft.Crm.CrmException%26client%3dplatform%26sv%3d9.0.43.979%26de%3dLive%26opsys%3dMicrosoft+Windows+NT+10.0.14393.0%26errorCode%3d-2147204725</HelpLink>
  <Message>PluginType [GetAccDetailsNew.ServerAction] not found in PluginAssembly [GetAccDetailsNew, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2887eac7ed891772] which has a total of [0] plugin/workflow activity types.</Message>
  <Timestamp>2019-11-19T07:49:52.2983308Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault>
    <ActivityId>f58cc32d-185c-4e11-9da9-f67a09815dac</ActivityId>
    <ErrorCode>-2147204725</ErrorCode>
    <ErrorDetails xmlns:a="">schemas.datacontract.org/.../System.Collections.Generic" />
    <HelpLink i:nil="true" />
    <Message>PluginType [GetAccDetailsNew.ServerAction] not found in PluginAssembly [GetAccDetailsNew, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2887eac7ed891772] which has a total of [0] plugin/workflow activity types.</Message>
    <Timestamp>2019-11-19T07:49:52.2983308Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <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>
Do anyone have idea about this error?
Please help.
Thanks in advance!
I have the same question (0)
  • David Jennaway Profile Picture
    14,065 on at

    The error indicates that the plugin registration tool cannot find (using reflection) any plugin types in the assembly. There are a couple of things to try:

    1. Make sure your assembly has references to an up-to-date version (Version=9.0.0.0) of the CRM SDK assemblies
    2. Have you used ILMerge to merge assemblies ? If so, check the settings used in ILMerge, as this can cause problems. If possible, try creating a simple assembly that isn't ILMerged, and check if you can register that

    Also, is this the first time that you have registered the assembly in this environment, or are you re-registering it ? If you are re-registering, is the assembly strong name (based on name, version and public key token) the same as the currently registered assembly ?

  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    Hello Prachi,

    Make sure you merge any dependencies with ILmerge before registering the assembly. Also, Please see below links:

    stackoverflow.com/.../dynamics-crm-2015-the-plug-in-type-could-not-be-found

    community.dynamics.com/.../issue-the-plug-in-type-could-not-be-found-in-the-plug-in-assembly

  • Yash Trivedi CRM Profile Picture
    351 on at

    Hello david

    I am facing same problem...

    in that I have not use ILMerge for merging the assemblies..

    all the CRM Sdk assemblies are up to date...

    in that I am using tow additional sdk assemblies:

    1.eLogic.Yellowfin.PlugLib(Ver:-8.1.0.0)

    2.Newtonsoft.Json(9.0.0.0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 60 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans