Study FAQ
How can I tell whether a Dataverse plug-in rejected a write or never ran?
Also asked as 2
- Where should I look when a Dataverse plug-in seems to skip or reject an update?
- How do I diagnose a missing plug-in execution versus a rolled-back Dataverse write?
Answer
First confirm the environment, enabled step, message, table, filter conditions and caller. Then use ITracingService and the environment's Plug-in Trace Log settings to identify whether the step ran and where it failed. A trace written during an operation can remain after the Dataverse transaction rolls back. An empty trace search can also mean tracing was disabled or set to Exceptions when no exception occurred. If you can read the log row but MessageBlock, Configuration or SecureConfiguration is null, check whether your account has System Administrator directly or through a team. Dataverse returns null for these sensitive columns to readers without that role. Ask an authorized operator for a sanitized excerpt when needed. Dataverse plug-in logging and tracing
For a synchronous failure, compare the reported error and the row's persisted state. For asynchronous execution, inspect the related System Job and its error details. If a filtered Update works from one client and skips another, compare the attributes each client actually submitted. For a bad partial-update comparison, check the image alias, selected columns, explicit-null handling and date/time semantics. Register a plug-in · Handle plug-in exceptions
During a reproduction, record the step or rule identifier and a correlation reference. Keep credentials and full row payloads out of traces. Use the minimum logging setting that captures the evidence and restore the prior setting once the investigation is over. Dataverse plug-in trace settings
Full explanation
AB-400: Dataverse Plug-ins and the Event Execution Pipeline
Study guide · AB-400
Read the full explanation