Dataverse Plugins and Managed Solutions for API-First Product Teams
For software companies whose enterprise customers run Dynamics 365: when a certified connector stops being enough, which Dataverse integration pattern fits your product, what a managed solution must contain, and who builds the Dataverse side.
A certified Power Automate connector is enough while customers only call your API from a flow. It stops being enough when enterprise customers want your product's status written back to their own Dataverse tables, under their security roles, without each customer building flows. Then you need a Dataverse component: a webhook when your service only needs to hear about events, a C# plugin when logic must run inside the save, or a custom API when your service writes back through a defined message. Ship it as a managed solution with your publisher prefix, tables, roles, plugin assembly and environment variables. Solzet builds that Dataverse side for product teams who know their API but not the Dynamics data model and business logic.
When is a certified Power Automate connector not enough for enterprise Dynamics 365 customers?
A connector is the right first step: it puts your API in front of every Power Automate and Power Apps maker, and for small customers it is often all they need. It reaches its limit in larger accounts, where the CRM team owns the data model and expects vendors to fit into it rather than the other way round. The signal is usually a question from the customer's architect, not a feature request: where does your status live in our system, who can see it, and what happens when your service is down.
At that point each customer building its own flows becomes a support problem for you. Every flow is slightly different, nobody owns the error handling, and your product gets blamed for failures in logic you did not write. A packaged Dataverse component moves that logic into something you version, test and ship once.
- Status from your product must be written back to the customer's own tables, visible on their forms and views and in their reports.
- The write must respect their security roles and business units, so a salesperson sees only the status on records they can already see.
- A record change in Dynamics 365 must reach your service reliably, with retries, even when nobody is watching a flow run history.
- Validation must happen inside the save: a record that your product rejects should not be saved in an inconsistent state.
- The customer wants one installable component with an upgrade path, not a set of flows copied between environments.
- Procurement or the customer's architects ask for a managed solution they can review, install in test first and remove cleanly.
Webhook, plugin or custom API: which Dataverse pattern fits your product?
All three are registered against the Dataverse event pipeline or exposed as messages, and most products end up using two of them. The choice depends on where your logic has to run and which direction the data flows. For outbound calls from inside a plugin, the sandbox rules and how to test against an external API are covered in our guide to calling an external API from a Dynamics plugin.
| Pattern | What it does | Use it when | Watch out for |
|---|---|---|---|
| Webhook (service endpoint) | Dataverse posts the execution context of an event to your HTTPS endpoint, synchronously or asynchronously | Your service only needs to hear that something changed and does its work on your side | Your endpoint must authenticate the call, respond fast on synchronous steps and be idempotent, because asynchronous delivery is retried |
| C# plugin | Your code runs inside Dataverse on a message such as Create or Update, in the same transaction as the save when registered synchronously | Logic must validate, enrich or block a save, or must run whatever the source of the change | Plugins run in a sandbox with an execution time limit, so long calls to your API belong in an asynchronous step or on your side |
| Custom API | A message you define, with typed request and response parameters, callable through the Dataverse Web API and from Power Automate | Your service writes status back, or customers call a defined operation, and business logic must run on that write | Design the request and response as a contract: changing them later is a breaking change for every customer |
| Virtual table | Your data appears as a Dataverse table without being copied, read through a data provider | Customers need to see your records in their app but you must stay the system of record | Not every Dataverse feature works on virtual tables; check the limits for the views and reports customers expect |
What must a managed solution for an ISV integration contain?
Everything your component needs to install, run and upgrade in a customer environment you will never log into, and nothing that only works in yours. Microsoft's application lifecycle guidance is clear that what reaches a customer is a managed solution built from source, not an export from a development environment someone has edited by hand. How to move from manual exports to a scripted pipeline is set out in Power Platform ALM with pac CLI, and the extra checks for a Marketplace listing are on from unmanaged prototype to an AppSource-ready managed solution.
- A publisher with your own prefix on every table, column, choice and custom API, so your components never collide with the customer or another vendor.
- The tables and columns your status lives in, with forms and views the customer can extend rather than edit.
- Security roles for your integration user and for the customer users who read or act on your data.
- The signed plugin assembly or plugin package, with its step registrations included in the solution rather than registered by hand.
- Custom API definitions and their request and response parameters.
- Environment variables for endpoint URLs, tenant identifiers and feature switches, and connection references for any flows, so nothing environment-specific is hard-coded.
- A version number you increase on every release, and an upgrade path tested from the previous version, not only a clean install.
How do you keep your API the source of truth while Dataverse holds the customer view?
Decide early which side owns each field, and make every write safe to repeat. Most integration bugs we are asked to fix come from two systems both believing they own the same value, or from a retry that created a second record.
The patterns that hold up are not exotic. Use alternate keys on your tables so your service can upsert by its own identifier instead of storing Dataverse GUIDs. Carry a correlation identifier through every call so a support ticket can be traced from the customer's form to your logs. Write status through one custom API rather than through generic updates, so business rules run in one place. And record failures somewhere the customer's administrator can see, not only in your own monitoring. How we log and diagnose plugin behaviour in production is described in Dynamics 365 plugin logging and diagnostics, and how plugin logic is tested before it ships in unit testing Dynamics 365 plugins.
What does Solzet build, and what stays with your product team?
Solzet builds the Dataverse side: the data model inside the customer environment, the plugins and custom APIs, the security roles, the managed solution and the pipeline that produces it, and the test environments where each release is installed and upgraded before a customer sees it. Your team keeps what it knows best: your API, its contract and your own service. We agree the boundary as an interface document in the first week, so neither side is guessing.
The work is done by our senior Dynamics 365 developers, who build C# plugins, custom APIs and PCF controls on Customer Engagement every day. If you want a developer embedded in your own team rather than a scoped piece of work, the engagement models are on hire a Dynamics 365 developer, and the wider Power Platform scope, from canvas apps to Copilot Studio, is on Power Platform consulting. The code, solution and pipeline live in your repository and belong to you.
Write the interface document
Which events Dataverse sends to your service, which status your service writes back, which side owns each field, and how errors are reported.
Design the data model under your publisher prefix
Tables, columns, alternate keys and relationships to standard tables such as account and contact, plus the security roles that read and write them.
Choose the integration pattern per direction
A webhook or asynchronous plugin for events going out, a custom API for status coming back, and synchronous plugins only where a save must be validated.
Build the managed solution from source
Plugins, custom APIs, tables, roles and environment variables in source control, built into a managed solution by a pipeline rather than exported by hand.
Test install and upgrade in clean environments
Install into an empty environment, upgrade from the previous version and remove the solution, each in its own test environment, before any customer receives it.
Pilot with one customer
Install in the pilot customer test environment first, agree what their administrators monitor, then move to production and write the installation guide from what you learned.
What do buyers ask us?
When do we need a Dataverse plugin instead of a certified Power Automate connector?
When logic must run inside the save in the customer's Dynamics 365, for example to validate or block a record, or must run whatever the source of the change, including imports and other integrations. A connector only runs when someone builds a flow around it; a plugin runs on the Dataverse event itself.
Should our product use a webhook, a plugin or a custom API?
Usually a combination. A webhook or asynchronous plugin tells your service that something changed, a custom API is the defined way for your service to write status back with business logic, and a synchronous plugin is reserved for validation that has to happen inside the save.
What should an ISV managed solution for Dataverse contain?
A publisher with your prefix, your tables and columns, security roles, the signed plugin assembly or package with its step registrations, custom API definitions, environment variables for URLs and identifiers, connection references for any flows, and a version number with a tested upgrade path.
Can our status be written to the customer's own tables rather than ours?
Yes, if the customer agrees and the tables are known at design time, for example a column on their account or a standard table. Most products ship their own prefixed table related to the customer record, because writing into tables you do not control makes every customer installation different.
Do we need to know the Dynamics 365 data model to build this?
Someone on the project does. Standard tables, ownership and business units, security roles and the event pipeline decide how your component behaves in a real customer environment. Solzet supplies that Dataverse knowledge while your team stays focused on your API.
Who owns the code and the managed solution Solzet builds?
You do. The source, the solution and the build pipeline live in your repository, under your publisher, and ownership is defined in the statement of work. Your team can maintain it after handover or keep us on for releases and support.
Which related services fit alongside this?
Hire a Dynamics 365 Developer or CRM Developer in Armenia
Hire a senior Dynamics 365 developer or CRM developer from Solzet in Yerevan, Armenia: Dataverse, C# plugins, PCF controls, integrations and project rescue.
Power Platform Consulting and Development Services
Power Platform consulting and development by senior Solzet developers: Power Apps, Power Automate and RPA, Power Pages, Copilot Studio, Dataverse and PCF.
PCF Controls Development - PowerApps Component Framework
PCF controls development for Dynamics 365 and Power Apps in TypeScript and React, with a guide to PCF vs JavaScript, the lifecycle and third party libraries.
CRM and ERP Integration for Dynamics 365
Solzet connects Dynamics 365 Customer Engagement with Business Central and Finance and Operations: Dataverse, virtual tables, dual-write, Power Platform.
Ready to start?
Contact Solzet for a free consultation. A senior consultant replies within one business day with a recommendation: Dynamics 365 Customer Engagement, Business Central, Finance and Operations, Power Platform, or a custom-built CRM.