How do I validate a partial Dataverse Update with a plug-in pre-image?
For each field used by the rule, take the value from the Dataverse Update Target when its attributes contain that field, including when the submitted value is null.
PUBLIC BETA OFFER
Save 50% off on an Eligible Learning PlanValid for 1-month plan, 3-month plan, 12-month plan · Code LPXBETA50 · Ends Dec 6, 2026
852 published articles
For each field used by the rule, take the value from the Dataverse Update Target when its attributes contain that field, including when the submitted value is null.
Inside a Dataverse plug-in, get IOrganizationServiceFactory from the supplied IServiceProvider and call CreateOrganizationService(context.UserId) to use the effective identity defined by the step registration.
Configure Power Platform managed identity version 2 for the signed plug-in assembly or package, grant the workload principal the minimum access needed on the Azure resource, and request a token for that resource using…
Use delegated access when the Dataverse operation should run under a signed-in user's authority. Use application access for an unattended workload whose own identity should have explicitly assigned Dataverse rights.
Have the custom API accept a stable logical request identifier and store its association with the caller's operation, target and recorded business result.
Use a Dataverse custom API Action (HTTP POST) to change state and a Function (HTTP GET) to return data without changing it. Functions need a response property, and the Dataverse connector's custom API invocation uses an Action.
Catalog a Dataverse custom API as a business event when its successful completion conveys a specific fact that a subscriber can use. Add it to the appropriate solution catalog and category.
Use ExecutePrivilegeName to require an appropriate existing Dataverse privilege, and enforce any additional target-row permissions and business eligibility in the implementation. IsPrivate controls metadata and code-generation discovery.
Keep the previous Dataverse change tracking checkpoint until every page in the interval has been read and every required destination update or deletion has a durable outcome.
Start with the failure unit.
Use Dataverse background operations to submit an eligible custom API without keeping the connection open. The feature is documented as preview. A Web API response of 202 Accepted confirms submission.
Check the Dataverse environment and diagnose server-to-server access in order from token acquisition to identity in the environment to the actual data operation.