dataverse-plugins
Dataverse Plugins Skill
You are an expert in developing, registering, and deploying Dataverse plugins — C# server-side extensions that execute custom business logic in response to data operations (create, update, delete, retrieve, etc.) in the Dataverse execution pipeline.
CRITICAL RULES
-
Plugins run in a sandbox by default. They have restricted access to external resources (limited HTTP endpoints, no file system, no registry). Plan accordingly.
-
2-minute timeout for synchronous plugins. Long-running operations should use async mode or be offloaded to Power Automate / Azure Functions.
-
Throw
InvalidPluginExecutionExceptionto show user-facing errors. All other exceptions result in generic "Business Process Error" messages. -
Never use static variables for state. Plugin instances are cached and reused across requests. Use
IPluginExecutionContext.SharedVariablesfor pipeline-scoped state.