Reproducible Dynamics 365 Deployments With Rollback: Closing the Audit Finding
The evidence an auditor accepts for Dynamics 365 Customer Engagement and Power Platform deployments, the steps in order with what each produces, and how rollback really works in Dataverse.
An auditor closes a finding on Dynamics 365 deployments when four kinds of evidence exist: solutions held unpacked in source control, every production deployment made by a pipeline run with a recorded approval, versioned managed artefacts that can be rebuilt from a tagged commit, and a rollback route that has been tested. In Dataverse the rollback is the previous release rebuilt from its tag with a higher version number and deployed through the same pipeline; an environment restore is the last resort, because it also rolls back business data. Build it in order: inventory, source control, build, approved release, production lockdown, rollback rehearsal, evidence pack. Solzet sets up this ALM for Customer Engagement and Power Platform.
What is the auditor actually asking for?
Reproducible means you can show that what runs in production was built from a known version of the source, by a repeatable process, and that you could build it again. Rollback means you can return production to the previous release in a known way, without improvising on the night. The finding is usually written because neither can be shown: changes are exported and imported by hand, someone sometimes edits production directly, and the answer to a bad release is a restore nobody has tried.
Read your own finding carefully, because its wording tells you which evidence closes it. How the controls map to typical audit language, and the minimum set that does not stop the business, is already set out on Power Platform ALM with pac CLI. This page is the checklist for building the evidence and proving the rollback.
Which evidence closes a reproducibility and rollback finding?
Four artefacts, each produced by the system rather than written afterwards. If a piece of evidence has to be typed into a document after the event, an auditor will treat it as weaker than a record created by the pipeline itself.
| Control | Evidence the auditor reads | Produced by |
|---|---|---|
| Source control | Commit history per solution, author, date, linked work item | Git repository in Azure DevOps or GitHub |
| Reproducible build | Build record linking artefact version to one commit | Build pipeline |
| Approved release | Run log with artefact version, target environment, approver and time | Release pipeline approvals, or Power Platform Pipelines approvals |
| Versioned artefacts | Stored managed solutions per version, retained for the audit period | Pipeline artefact store |
| Tested rollback | Rollback rehearsal record with steps, timings and result | A rehearsal run through the same pipeline |
| Production lockdown | Access review and solution layer check | Admin review, repeated each period |
What are the steps, in order, and what evidence does each produce?
This is the order we set it up in. Each step is useful on its own, and each leaves evidence behind, so the finding can be closed progressively rather than in one big change.
- Inventory environments, solutions and access: List every environment, every solution with its publisher and dependencies, and everyone with System Administrator or System Customizer in production. Evidence: an environment map and an access list dated and signed off.
- Put every solution in source control, unpacked: Export the current unmanaged solutions from development, unpack them into a Git repository and commit the baseline, with plugin, web resource and PCF source alongside. Evidence: a repository whose history shows each change, its author and its linked work item.
- Build managed artefacts from a tagged commit: A build pipeline packs the solutions from the commit, builds them managed, stamps a version number and stores the artefact. Evidence: build records that link each artefact version to one commit, and the stored artefacts themselves.
- Release through approved pipeline runs: A release pipeline deploys the same artefact to test and then to production, with an approval before production and environment-specific values from a deployment settings file. Evidence: run logs showing artefact version, environment, approver and time.
- Lock production to managed changes only: Remove customisation rights in production from people, deploy only through the pipeline identity, and check solution layers for unmanaged changes. Evidence: the security role review and a layer report with no unmanaged active customisations.
- Rehearse the rollback: In a copy of production, deploy a release, then roll back by rebuilding the previous tag with a higher version and deploying it through the pipeline, and time it. Rehearse the environment restore route once as well. Evidence: a dated rollback test record with steps, timings and result.
- Assemble the evidence pack: For the audit period, collect the pipeline run history, approvals, artefact versions, the rollback test record, the access review and the emergency changes with their retrospective approvals.
How does rollback actually work in Dataverse?
Not by importing the older solution file. Dataverse does not import a managed solution with a lower version over a newer one. The working rollback is to rebuild the previous release from its tag in source control with a higher version number and deploy it through the same pipeline as an upgrade, so components added by the bad release are removed and the earlier definitions return. That is why tagged source and a reproducible build matter: the rollback is just another release.
Two limits need saying to the auditor. Data changes made by the bad release, such as values written by a new plugin or a column that was dropped, are not reversed by a solution upgrade, so releases that change or remove data need their own reversal plan. And an environment restore from a backup returns customisations and data to a point in time, which loses every business transaction since then; it is the last resort, and the conditions for restoring, especially over a production environment, should be checked in the current Power Platform admin center documentation before you rely on it. Rehearse both routes once in a copy of production and keep the record.
- Preferred: previous tag rebuilt with a higher version, deployed as an upgrade through the pipeline.
- Data changes: a scripted reversal or a data fix planned with the release.
- Last resort: environment restore, with the business data loss understood and accepted.
Which pipeline tool satisfies an auditor?
Any that records who approved what, when, and which artefact was deployed. Azure DevOps with environment approvals, GitHub Actions with protected environments and required reviewers, and Power Platform Pipelines with approvals all produce that record. The choice depends on where your source and your developers already are, and the comparison between Azure DevOps and GitHub Actions is on the pac CLI page. Retain the run history for the whole audit period, because default retention in some tools is shorter than an audit year.
What about emergency fixes outside the pipeline?
Allow them, and make them visible. An emergency route still goes through source control and the pipeline, with a shortened approval by a named person, and is reviewed afterwards. A fix made directly in production, if it ever happens, is exported back into source the same day and listed in the evidence pack with its retrospective approval. An auditor accepts an emergency route that is defined and used rarely; what fails the audit is an undefined one.
Does this cover data and record changes as well?
No, and an auditor will usually ask about both. Deployment control covers changes to the system: tables, forms, plugins, flows, security roles. Changes to business records, such as who edited a customer or a price, are evidenced by Dataverse auditing, described on Dynamics 365 audit trails. If the auditor needs to read the system themselves, set up access as described on read-only access for external auditors. For an independent view of where the environment stands today, the starting point is the Dynamics 365 health check.
What does Solzet deliver to close the finding?
Solzet sets up ALM for Dynamics 365 Customer Engagement and Power Platform: the environment and access inventory, solutions unpacked into source control with plugin, web resource and PCF source, build and release pipelines in Azure DevOps, GitHub Actions or Power Platform Pipelines with approvals and deployment settings files, production lockdown, a rehearsed rollback with its record, and the evidence pack template your team fills each period. Our own senior consultants and developers do the work, and we hand over the pipelines and the runbook so your team runs them. Power Pages sites follow the same route, with specifics on Power Pages deployment. The services are Power Platform consulting and Dynamics 365 consulting.
Where a team prefers to run CRM without Microsoft licensing, a custom CRM ships with the same source control and release discipline. 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 evidence closes a Dynamics 365 deployment audit finding?
Solutions in source control, production deployments made only by pipeline runs with recorded approvals, versioned managed artefacts built from tagged commits, a tested rollback record, and a periodic access and solution layer review.
Can I roll back by importing the previous managed solution?
Not directly. Dataverse does not import a lower managed version over a newer one. Rebuild the previous release from its tag with a higher version number and deploy it as an upgrade through the pipeline.
Is restoring an environment backup an acceptable rollback?
As a last resort. A restore returns customisations and data to a point in time, so business transactions since then are lost. Check the current restore conditions in the Power Platform admin center and rehearse it once.
Does a solution rollback reverse data changes?
No. Values written or columns removed by the bad release are not restored by a solution upgrade. Releases that change data need a planned reversal or data fix.
Which pipeline tool do auditors accept for Dynamics 365?
Any that records approver, time and artefact version per deployment: Azure DevOps, GitHub Actions or Power Platform Pipelines. Keep run history for the whole audit period.
How are emergency fixes handled under these controls?
Through a defined emergency route: source control and the pipeline with a shortened named approval, reviewed afterwards. Any direct production fix is exported back to source the same day and listed with its retrospective approval.
Does Solzet set up ALM for Dynamics 365 Customer Engagement?
Yes. Solzet sets up source control, build and release pipelines with approvals, production lockdown, a rehearsed rollback and the evidence pack for Customer Engagement and Power Platform, and hands them over with a runbook.
Where should you go next?
Power Platform ALM with pac CLI
The commands, the pipeline choice and the minimum controls for an audit finding.
Dynamics 365 health check
An independent technical review of where the environment stands.
Dynamics 365 audit trails
Record-level history with Dataverse auditing.
Read-only access for auditors
Giving an external auditor access without risk.
Power Platform consulting
Power Apps, Power Automate, Power Pages, Copilot Studio and Dataverse.
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.