DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk4 min

Stop Dataverse Plug-in Step Duplicates by Preserving Registration IDs

Deleting and recreating a Dataverse plug-in step—or changing its GUID in solution XML—can create a duplicate. Preserve and update the existing registration, include the step in the solution, and verify its assembly reference and behavior settings.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Dataverse plug-in steps can appear twice after deployment when a registration that already existed is deleted and recreated, or when its GUID is changed in exported solution XML. The reliable fix is to preserve and update the existing registration through supported tools, and include the step—not just its assembly—in the solution you move.

What a plug-in step does

A plug-in step is a registration that tells Dataverse which message and table operation should invoke a plug-in and how it should execute. Dataverse stores registered step information in the SdkMessageProcessingStep table, as described in Microsoft’s Event Framework documentation.

As an Amazon Associate I earn from qualifying purchases.

A step’s identity and its behavior are separate concerns. Its identity determines which registration is being updated; its settings determine when and how that registration runs. A deployment can go wrong through duplicate identity, an unintended assembly reference, missing solution membership, or changed behavior settings.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why a step can duplicate after deployment

Microsoft documents a specific cause: deleting a previously registered step in the source environment and creating it again can result in a duplicate registration in the target. The recreated step has a different identity, so deployment may add it rather than update the registration that is already there. Manually creating a step with a new GUID or changing the existing GUID in customizations.xml can likewise register a duplicate. See Microsoft’s guidance on duplicate plug-in step registration.

Do not fix this by editing GUIDs or writing directly to SdkMessageProcessingStep. Microsoft advises updating existing steps rather than deleting and recreating them, and creating or updating registrations through supported workflows such as the Plug-in Registration Tool or Power Platform Tools.

What duplicate execution can cause

If duplicate registrations match the event, the plug-in can execute more than once for that event. Microsoft identifies possible operational risks: synchronous duplicates can affect the user’s experience, asynchronous work can be delayed, and duplicate update registrations can contribute to SQL deadlocking. These are documented risks, not guaranteed outcomes for every duplicate.

How to keep step IDs stable

  1. Update the registration that already exists. In the Plug-in Registration Tool or Power Platform Tools workflow, change the existing step rather than deleting it and registering a replacement. Avoid manually changing its GUID in exported XML.
  2. Include the step in the solution. Assemblies and steps are separate solution components. Adding a plug-in assembly to an unmanaged solution does not automatically add its steps. Add the relevant step components explicitly before exporting and moving the solution. Microsoft’s plug-in registration guide describes registration and solution membership.
  3. Deploy the intended solution components. Check that the target receives the assembly and the step configuration that belongs with it. A stable step ID cannot compensate for a step omitted from the solution.
  4. Compare the deployed settings. Verify the message, primary entity, event stage, execution mode, execution order, filtering attributes, and user context against the intended registration. These settings can change behavior even when the step identity is stable.

Diagnose the kind of drift before changing anything

Trace the registration in both source and target environments before removing or recreating steps. Determine whether the source step was deleted and recreated, whether anyone edited its GUID in exported XML, and whether the step itself was included in the solution. Then compare the actual registration settings and assembly reference.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Identity duplication: a recreated step or changed GUID can be treated as a new registration. Preserve the existing registration and update it using supported tools.
  • Missing solution component: the assembly may be present while its step is absent. Add the step to the solution being moved.
  • Behavioral mismatch: differences in message, table, stage, mode, filtering attributes, execution order, or user context can make the same plug-in behave differently.
  • Assembly reference mismatch: versioning can leave a step attached to an older assembly; check the version rules below.

Assembly version changes can look like step drift

Dataverse treats assembly version changes differently depending on which version fields change. Microsoft’s registration guide says that changing the build or revision version is an in-place upgrade, and existing steps are automatically updated to the new assembly. Changing the major or minor version is treated as a different assembly; existing steps continue to point to the older assembly unless their configuration is changed.

That means a step can retain its identity while still referencing an older assembly. When changing major or minor version, verify which assembly each step references and update the step configuration as needed. Stable IDs prevent one class of duplicate-registration problem; they do not make every assembly-version change an in-place update.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Execution order is not a substitute for identity

Execution order is one of a step’s behavior settings, not a way to distinguish duplicate registrations. Microsoft notes that steps at the same stage for the same message and table with equal execution-order values are not guaranteed to run in a fixed order. If order matters, review and configure execution order deliberately, while also removing unintended duplicates through supported registration management.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.