# How should I register a Dataverse Update plug-in so it runs on the intended writes?

Exam: AB-400 — Power Platform Developer Associate
Knowledge domain: Extend Microsoft Power Platform (35–40%)
Updated: 2026-11-25T06:47:22.240551+00:00
HTML: https://learningpathx.com/faq/AB-400/ab400-dataverse-plugin-update-registration.html

## Also asked as

- How do I configure the message, filter and order for a Dataverse Update plug-in?
- What registration settings determine when a Dataverse Update step actually runs?

Register the assembly and its Update step on the exact table, then match stage, mode, image alias and execution identity to the rule. For a field-dependent Update step, filter on the relevant attributes. Dataverse tests whether the request contains a filtered attribute, so a request can trigger the step even if the value stays the same. Leave the primary key out of the filter. [Register a plug-in](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/register-plug-in)

Use explicit execution order when steps depend on each other. A validator that depends on another step's normalization must run after it. Test an unrelated Update if another extension can change the guarded field during that operation. A filter based on the incoming payload can miss a write path if its assumptions differ from the client or extension chain. If your own code changes the incoming row in PreOperation, set its Target attributes directly. A second same-row `Update` creates another pipeline execution. Keep the rule safe on legitimate nested requests and avoid treating depth or internal parent-context details as a business condition. [Dataverse execution context](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/understand-the-data-context) · [Dataverse event pipeline](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/event-framework)

Add the assembly and the registered steps to the solution, then inspect them in the destination environment. Verify valid and rejected writes through each supported client and message, including a patch with an unchanged filtered value, an unrelated patch and a legitimate nested write. A registration that protects Create and Update needs separate coverage analysis for write paths with different messages. [Plug-in registration and solution assets](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/register-plug-in)

Source: [AB-400: Dataverse Plug-ins and the Event Execution Pipeline](https://learningpathx.com/news/ab-400-dataverse-plug-ins-and-the-event-execution-pipeline.html)
