Getting a Dataverse Plugin Through a Customer's Security Review: The Vendor's Checklist
What reviewers look for, how an in-tenant plugin and an external service differ to them, and the evidence pack that turns months of questions into days.
A customer's security review of a Dataverse plugin gets shorter when the vendor answers before the reviewer asks. Five things do most of the work: a documented data flow showing which tables and columns the add-on reads and writes and whether any data leaves the tenant; a least-privilege application user with its own security role, never System Administrator; no outbound calls from synchronous plugin code; signed assemblies built from a tagged commit; and a standard evidence pack. An in-tenant plugin keeps processing inside the customer's Dataverse, so reviewers examine code and permissions. An externally hosted integration adds hosting, data residency and secrets to the review. Solzet designs add-ons with this pack in mind.
What shortens a customer's security review of a Dataverse plugin?
Answers the reviewer did not have to extract. A security reviewer at an enterprise customer starts from the worst case: unknown code running inside the system that holds their customer data, under an identity with more rights than it needs, possibly sending data somewhere. Every week of the review is spent turning that worst case into facts. A vendor who arrives with the facts written down, in the reviewer's vocabulary, removes most of those weeks.
The checklist below is the order we recommend preparing them in. Each item answers a question that appears in almost every enterprise questionnaire for software that runs inside Dynamics 365 or Power Platform.
- A data flow document: tables and columns read and written, by which component, under which identity, and every place data leaves the tenant, if any.
- A least-privilege identity: a named application user with a custom security role scoped to the tables the add-on needs, and an app registration with no permissions it does not use.
- No outbound calls from synchronous code: anything that leaves the tenant runs asynchronously, so a slow or compromised endpoint cannot hold the customer transaction.
- Signed assemblies with provenance: built by a pipeline from a tagged commit, with the version and hash in the release notes.
- A standard evidence pack: the same documents for every customer, versioned with the product.
How does a reviewer see an in-tenant plugin compared with an externally hosted integration?
As two different risk profiles, and it is worth knowing which one you are presenting before the first call. A plugin runs inside the customer's Dataverse environment, in the sandbox Microsoft applies to all custom plugins online, under the customer's security model. An externally hosted integration, such as a web service in your cloud subscription calling the Dataverse Web API, moves processing and often data outside the tenant, so the review widens to your hosting.
| Reviewer question | In-tenant plugin | Externally hosted integration |
|---|---|---|
| Where does processing happen? | In the customer's Dataverse environment and region | In your hosting, in the region you chose |
| Does data leave the tenant? | Only if the plugin calls out, which the data flow must show | Yes, by design; the reviewer needs what, where and for how long |
| Which identity acts? | The calling user, or the user set on the step to run in another context | An application user for your app registration, with its security role |
| What is reviewed? | Code, step registrations, security roles, outbound endpoints | All of that plus hosting, encryption, secrets, access to your environment, sub-processors and incident handling |
| Who operates it? | The customer's environment, under Microsoft's platform controls | You, so your own operational controls are in scope |
| Typical review length driver | Code and permission questions | Hosting, data protection and contract questions |
What should the data flow document show the reviewer?
One diagram and one table, specific enough that the reviewer could check them against the solution. The diagram shows the customer's Dataverse environment, each of your components inside it, any external endpoint, and the arrows between them with the identity used and the direction of data. The table lists every table and column the add-on reads or writes, with the operation, the component, the reason, and whether the column can hold personal data.
Add what is not there: no data copied to your systems, no telemetry with record content, no use of customer data for any purpose other than the function described. If any of that is not true, say what is true; a reviewer who finds an undocumented call later stops trusting the rest of the pack.
Which identity should the add-on use, and what does least privilege mean for an application user?
The smallest identity that does the job, named so the reviewer can find it. Plugins run as the calling user by default, which is usually what a reviewer wants: the add-on can do nothing the user could not. A step set to run in another user's context should be justified in the pack. An external service calls Dataverse as an application user tied to your app registration, and that user holds a custom security role with privileges only on the tables in the data flow table, at the narrowest access level that works.
Never ask for System Administrator, and do not request Microsoft Graph or other API permissions on the app registration unless a feature uses them; reviewers read the permission list line by line. How the app registration, the application user and the security role fit together, and why a valid token can still return 403, is explained on Dataverse Web API service principal authentication. Ship the security role in your managed solution, so the customer reviews exactly what will be installed.
Why should synchronous plugin code make no outbound calls?
Because a synchronous step runs inside the customer's database transaction. While it waits on your endpoint, their user waits and locks are held; if your endpoint is slow, their save fails; and if the save rolls back after your call succeeded, your system holds data the customer's system does not. Reviewers ask about this because it ties the availability of their system to yours.
Keep synchronous steps to validation and logic on data already in the transaction, and move anything that leaves the tenant to an asynchronous step, a webhook or an outbox processed outside the transaction. What the sandbox allows, and which pattern fits which case, is on calling an external API from a Dynamics 365 plug-in. List every outbound host by name in the pack, so the customer can allow them explicitly.
What does signing a plugin assembly prove, and what does it not?
It proves less than many reviewers assume, so be precise. Microsoft requires classic plugin assemblies to be signed with a strong name before they can be registered in Dataverse. Plugin packages, which bundle dependent assemblies, follow different rules that Microsoft documents separately; check the current Microsoft documentation for the tooling you use, and consider signing anyway so the reviewer sees one rule across the product.
A strong name gives the assembly a unique identity and detects tampering with the signed file. It is not publisher code signing with a certificate from a certificate authority, and it says nothing about who built the code or how. What reviewers actually want is provenance: the assembly is built by a pipeline from a tagged commit in your repository, the signing key is held outside developer machines, and the release notes give the version and file hash so the customer can match what is installed with what you reviewed.
Where should secrets and configuration live in a plugin-based add-on?
Nowhere a reviewer can find them in the solution file. Reviewers unpack the managed solution, and a key in a web resource or unsecure step configuration ends the review early.
- Secure step configuration holds values only privileged users can read, and Microsoft does not export it with the solution, so the customer sets it in their environment.
- Environment variables of the secret type reference a secret in the customer's own Azure Key Vault, so the value never sits in Dataverse or in your package.
- Managed identity for plugins, where Microsoft makes it available to the tenant, removes the stored secret altogether for calls to Azure resources; check the current documentation for availability.
- Plug-in trace logging, set on the environment, should never write record content or tokens; Microsoft keeps trace logs for a short default period, but the customer decides whether tracing is on. How to make traces useful without leaking data is on plug-in logging and diagnostics.
What goes in a standard security evidence pack for a Dataverse add-on?
The same set for every customer, versioned with the product, so the second review takes days rather than months. Prepare it once, keep it current with each release, and send it with the first technical call rather than waiting for the questionnaire.
| Document | What it answers |
|---|---|
| Data flow diagram and table | What data is touched, by which component and identity, and whether it leaves the tenant |
| Component inventory | Every assembly, plugin step, custom API, web resource, flow and connection reference in the solution |
| Identity and permissions | The application user, the custom security role privilege by privilege, and the app registration permissions |
| Outbound endpoints | Every external host by name, the protocol, the data sent and whether the call is synchronous |
| Build and release | Repository, pipeline, tagging, signing, versioning, file hashes and the release notes format |
| Static analysis | Solution checker results for the release, run with pac solution check, with any accepted findings explained |
| Third-party components | Libraries and packages bundled with the assemblies, with versions and licences |
| Vulnerability and incident handling | How the customer reports an issue, how fast you respond, and how a fix is released |
| Uninstall and data removal | What uninstalling the managed solution removes, and what data remains for the customer to delete |
How should a vendor answer the questionnaire questions that always come up?
Short, specific and checkable, with a pointer to the evidence pack row that proves each answer. A reviewer can verify most of them against the managed solution itself, which is your advantage over a hosted product.
- Does the product store our data outside our tenant? Answer yes or no first, then point to the data flow table.
- Which permissions does it need? Name the application user and security role, and say that the role ships in the solution for inspection.
- Can it call external services? List the hosts, and confirm none are called from synchronous steps.
- How do we know the code we install is the code you tested? Version, file hash, pipeline build and signing.
- How do you handle vulnerabilities? A named contact, a response commitment you can meet and the release route for fixes.
- What happens when we uninstall? The components removed and the data left for the customer.
What does Solzet deliver for add-ons that must pass a customer security review?
Solzet designs Dataverse add-ons with this pack in mind from the first sprint: plugins and custom APIs that keep external calls out of synchronous steps, a least-privilege security role and application user shipped in the managed solution, secrets in secure configuration or Key Vault-backed environment variables, a pipeline that builds, signs, versions and checks every release, and the evidence pack written in reviewer language. For an existing add-on, we review the solution against the checklist and prepare the pack. Our own senior Dynamics 365 developers do the work, in your repository. The service is Dataverse plugin development for ISVs, and the wider Power Platform scope is on Power Platform consulting.
For buyers who would rather not carry Microsoft licensing at all, we also build custom CRM on React, Node.js, PostgreSQL and .NET. We recommend the right solution: Dynamics 365 (Customer Engagement, Business Central or Finance and Operations), Power Platform, or a custom-built CRM. One team for CRM, ERP and the integration between them.
What do people ask us?
What does a customer security review of a Dataverse plugin usually look at?
The data the plugin reads and writes and whether any leaves the tenant, the identity and security role it runs under, outbound calls and whether they are synchronous, how the assembly is built and signed, secrets handling, third-party libraries, vulnerability handling and what uninstalling leaves behind.
Do Dataverse plugin assemblies have to be signed?
Classic plugin assemblies must be strong-name signed before Dataverse will register them. Plugin packages follow different rules that Microsoft documents separately, so check the current documentation. A strong name is not publisher code signing; reviewers also want build provenance, versions and file hashes.
Is an in-tenant plugin easier to get through security review than an external service?
Usually, because processing stays in the customer's Dataverse environment under their security model, and the review focuses on code and permissions. An externally hosted integration adds hosting, data residency, encryption, secrets and your own operational controls to the review.
Which security role should an ISV application user have in Dataverse?
A custom role with privileges only on the tables the add-on uses, at the narrowest access level that works, shipped in the managed solution for inspection. Never System Administrator. The setup and 403 diagnosis are on the Dataverse Web API service principal guide.
Can a plugin call an external API during a synchronous save?
It can, inside sandbox limits, but reviewers object because it ties the customer's transaction to your endpoint. Move outbound calls to an asynchronous step, a webhook or an outbox, and list every external host in the evidence pack.
Where should a plugin keep API keys and secrets?
In secure step configuration, which Microsoft does not export with the solution, or in a secret environment variable backed by the customer Key Vault, or nowhere at all through managed identity where it is available. Never in web resources, unsecure configuration or code.
Does Solzet prepare the security evidence pack for an add-on?
Yes. Solzet designs Dataverse add-ons with the pack in mind and prepares it for existing ones: data flow, identity and role, outbound endpoints, build and signing, solution checker results, third-party components, incident handling and uninstall notes.
Where should you go next?
Dataverse Web API service principal authentication
App registration, application user, security role and fixing 403.
Calling an external API from a plug-in
Sandbox rules and the patterns that move calls out of the transaction.
Dataverse plugin development for ISVs
Plugins, custom APIs and the managed solution for product teams.
Power Platform consulting
Power Apps, Power Automate, Power Pages, Copilot Studio and Dataverse.
Power Platform ALM with pac CLI
Pipelines, solution checker and versioned managed releases.
Which solution is right for your business?
Tell us what you need. A senior consultant replies within one business day with a recommendation (Customer Engagement, Business Central, Finance and Operations, Power Platform or a custom-built CRM), not a sales script.