All articles

D365 Finance and Operations · D365 Business Central · D365 Customer Engagement

Azure DevOps Test Automation for Dynamics 365: Bringing Regression Testing Into the Release Pipeline

Aline Andersson

Aline Andersson · November 17, 2026 · 11 min read

An IT and operations team stands at a large wall screen in a bright open-plan office with standing desks and sage green walls, a man in a mustard sweater pointing at the screen while a gray-haired colleague holds an open laptop and two women, one in a lavender shirt and one with long red hair in a gray knit top, follow along

Most organizations running Microsoft Dynamics 365 (D365) already manage change through Azure DevOps. Development work is planned in Azure Boards, extensions and configuration move through Azure Pipelines, and test managers track coverage in Azure Test Plans. Regression testing for the business processes D365 supports, however, often runs in a separate tool, on a separate schedule, with results recorded by hand. Azure DevOps test automation for Dynamics 365 closes that gap by running tests as part of the same release process that delivers the change.

The gap grows more consequential each year. Microsoft delivers D365 updates on a continuous schedule, partners and internal teams ship extensions between those updates, and AI-assisted development is increasing the volume of change moving through every pipeline. When testing sits outside that flow, a change can reach production before anyone has confirmed that purchasing, invoicing, or the financial close still behave as expected.

This is a control question as much as a technical one. Auditors expect evidence that changes to financial systems were tested before release, and that evidence is far easier to produce when results are recorded automatically in the system that already holds the change record. It is also where IT, finance, and compliance leadership share the same interest in how testing connects to delivery.

Key Takeaways for Executive Leadership

  • Regression testing that runs outside the release pipeline allows D365 changes to reach production before business processes are validated, which leaves a gap in change management controls.
  • Writing test results, steps, and recorded evidence back into Azure DevOps automatically gives auditors and release approvers one dated record of what was tested, when, and against which requirements.
  • Organizations can connect D365 test automation to the Azure DevOps setup they already use, including existing test cases and pipelines, rather than replacing their delivery tooling.

Why Dynamics 365 Testing Often Sits Outside the Release Pipeline

Azure DevOps was built around software delivery, and its native testing strengths sit closest to code: unit tests, build validation, and developer-written automation. D365 regression testing has a different profile. It validates end-to-end business processes through the application interface, it is usually designed by functional consultants or process owners rather than developers, and it has historically relied on manual test scripts or on Microsoft's Regression Suite Automation Tool (RSAT).

In many organizations, the result is a split between where change is managed and where testing happens. Four symptoms tend to follow:

1. Testing runs on its own schedule. Regression cycles start when testers are available rather than when a deployment is ready, so changes can move to production ahead of validation.

2. Quality is tracked in two systems. Automation results live in one tool while release and test managers work in Azure DevOps, leaving each group with a partial picture.

3. Status is re-keyed by hand. Testers copy pass and fail results into Azure Test Plans after each run, or skip the step when deadlines are tight, which leaves gaps in the record.

4. Failures arrive without evidence. A failed result that does not show what happened sends developers back to reproduce the issue before they can begin fixing it.

Each symptom is manageable on its own, but together they weaken the link between a specific change and the evidence that it was tested. Protecting that link is the purpose of a D365 CI/CD process, and it is the part most often left to manual effort.

What Independent Research Says About Testing and Release Stability

Independent research points to the same structural gap. The World Quality Report 2025-26 from Capgemini, Sogeti, and OpenText, based on responses from 2,000 executives across 23 countries, found that test automation coverage averages only 33 percent despite years of investment, and that only 20 percent of organizations have fully embedded quality engineering into their agile teams. In practical terms, most organizations still validate the majority of their changes manually, and most still treat testing as a function separate from the teams delivering change.

The pace of that change is rising. Google's 2025 DORA report, State of AI-assisted Software Development, surveyed nearly 5,000 technology professionals and found that AI adoption among software development professionals has reached 90 percent. The same research concludes that AI accelerates development but can expose weaknesses downstream, and its authors name strong automated testing as one of the control systems that keep faster delivery stable. For D365 teams, faster development of extensions, integrations, and configuration raises the cost of any testing step that cannot keep pace with the pipeline.

The governance cost is measurable as well. KPMG's 2025 SOX Survey found that average testing hours per control rose from 12 in fiscal year 2022 to 16 in fiscal year 2024, with transactional and IT general controls requiring the most time, and that the cost of maintaining SOX controls rose 45 percent between the firm's 2023 and 2025 surveys. Change management is part of those IT general controls, so every hour spent assembling test evidence by hand adds to a cost that is already climbing.

Change Management Controls and the Value of a Single Test Record

For audit purposes, the question about any change to a financial system is direct: was it tested before it reached production, and can the organization prove it? That question becomes difficult to answer when test results sit in one tool, approvals sit in another, and the connection between them depends on someone updating a status field. Auditors then have to reconcile records across systems, and gaps in the manual updates tend to surface as findings.

Recording results automatically in Azure Test Plans changes that position. Each test case carries its latest result, the time of the run, the steps executed, and, where recorded, a video of the execution, all stored alongside the release history the organization already maintains in Azure DevOps. Because tests can also be linked to the requirements and user stories they validate, the record runs from the original business need through to the released change. When a reviewer approves a deployment, the evidence is already in the place where the approval happens. From a governance perspective, test documentation becomes a by-product of the release process rather than a separate deliverable assembled after the fact.

Manual Status Updates Versus Integrated D365 CI/CD Testing

The following table compares a release process in which D365 regression testing runs separately from Azure DevOps with one in which automated tests run inside the pipeline and report back to Test Plans. It shows where Azure DevOps test automation for Dynamics 365 changes the release process, and what each change means for governance.

DimensionTesting Outside the PipelineTesting Inside Azure DevOpsGovernance Implication
When tests runWhen testers are availableAs a pipeline step, on a schedule, or on demandValidation is tied to the change itself
Where results are recordedIn a separate tool, re-keyed into Test PlansWritten to Azure Test Plans automaticallyOne system of record for release reviews
Evidence on failureA status flag, often without contextTest steps and a video of the runFaster diagnosis and a clearer audit trail
Release decisionBased on status updates gathered manuallyPipeline result reflects test outcomesApprovals rest on current, complete data
OwnershipSplit between testers and release managersShared view for business testers, developers, and release managersFewer handoffs and fewer gaps in the record

The column that matters most to leadership is the last one. Each row describes a point where a manual handoff either opens a gap in the change record or, once automated, closes it.

How Elevaite365 Connects D365 Test Automation to Azure DevOps

Elevaite365 Test Automation is built specifically for Dynamics 365 and allows business users to create, run, and maintain tests without code. Two integrations connect that testing to Azure DevOps, and most organizations use both.

The Pipelines integration runs Elevaite365 test scenarios as steps in an Azure DevOps pipeline. Teams install a free extension from the Visual Studio Marketplace, select the scenarios to run and their order, and export a ready-made pipeline file that can start a new pipeline or extend an existing one. When the pipeline is set to wait for results, its pass or fail status reflects the outcome of the tests, so a failed regression scenario can stop a release before it reaches production.

The Test Plans integration writes results back into Azure Test Plans after every run, whether the run comes from a pipeline, a schedule, or a manual start. Existing test cases can be linked by their Azure DevOps ID and new ones are created automatically, so teams keep the test structure they already have, and tests can be linked to the requirements and user stories they cover. Each result includes plain-English test steps with a pass or fail status for every step and a video of the run, and testers can raise a bug directly from a failed result in Azure DevOps.

Both integrations use access keys that the customer creates and controls, and the Elevaite365 key can be stored as a protected pipeline secret, which keeps security teams in charge of what the connection can reach. For organizations moving off RSAT, existing RSAT tests can be imported through the Azure DevOps integration and made ready to run after a short review, without altering the originals, so both tools can run side by side during a phased migration. Teams that use other CI/CD tools can connect through the Elevaite365 External API, which starts test runs and returns results as JUnit files, videos, PDF reports, or Excel exports. Implementation partners delivering testing as a service through WaveReady can use the same integration to share results with their customers, and teams weighing the investment can model their current manual testing effort with the Elevaite365 ROI calculator.

Conclusion: Treating the Release Pipeline as a Governance Control

Azure DevOps test automation for Dynamics 365 addresses a gap that has more to do with governance than with tooling. Microsoft's update cadence will continue, AI-assisted development will keep adding to the volume of change, and audit expectations for evidence of tested change are unlikely to ease. Organizations that keep D365 regression testing outside the release process will find that gap harder to defend with each cycle.

A practical first step is to map where D365 test results are recorded today, how they reach release approvers, and how much of that path depends on manual updates. Organizations that bring testing into the pipeline, with results recorded where release decisions are made, will be better placed to absorb continuous change while giving auditors a record they can rely on.

Frequently Asked Questions

Does Elevaite365 integrate with Azure DevOps?

Yes. Elevaite365 offers two Azure DevOps integrations: Pipelines, which runs test scenarios as steps in an Azure DevOps pipeline, and Test Plans, which writes results, steps, and video back into Azure Test Plans.

The two serve different purposes and work well together. Pipelines determines when tests run as part of a release, while Test Plans determines where the results are recorded for test managers, developers, and release reviewers.

Can automated D365 tests stop a release if they fail?

Yes. By default, the pipeline waits for test results, so its pass or fail status reflects the outcome of the Elevaite365 scenarios it runs.

Teams can also run the pipeline step without waiting, in which case results are still recorded in Azure Test Plans but the pipeline is not blocked by a failure. The right choice depends on whether the organization wants test results to act as a release gate or as a reporting step.

Do we have to rebuild our existing Azure DevOps test cases?

No. Existing test cases in Azure Test Plans can be linked to Elevaite365 tests by their Azure DevOps ID, and new test cases are created automatically the first time a test runs.

This allows organizations to keep their current test plan structure, history, and reporting. Teams that used RSAT with Azure DevOps can also import their existing tests, review them briefly before use, and continue working in a familiar setup while they migrate.

What Azure DevOps licensing and setup is required?

Writing results to Azure Test Plans requires the Basic + Test Plans access level in Azure DevOps, or a Visual Studio Enterprise subscription. The Pipelines extension is free to install from the Visual Studio Marketplace, requires organization administrator rights to install, and works with both the cloud-based Azure DevOps Services and the on-premises Azure DevOps Server.

It is worth confirming access levels and pipeline permissions before rollout, since the pipeline's build service account needs read and write access to Test Plans and work items in the target project. Organizations that already use Azure Test Plans for manual testing will generally have most of this in place.

Can Elevaite365 be used without Azure DevOps?

Yes. Both integrations are optional. Elevaite365 can schedule test runs, send email reports, and export results to PDF or Word on its own, and organizations using other CI/CD tools can connect through the Elevaite365 External API.

Organizations that do not use Azure DevOps today can begin with standalone test automation and add the integration later. Those that already manage releases in Azure DevOps tend to see the most value from connecting the two early, because results then reach release approvers without manual steps.

Elevaite365 is a Microsoft-focused solutions provider specializing in test automation for Dynamics 365 applications. Learn more at elevaite365.com.

A Note on Statistics Used in This Article

1. The World Quality Report 2025-26 figures (test automation coverage averaging 33 percent, and 20 percent of organizations fully embedding quality engineering into agile teams) are sourced from Sogeti's summary of the 17th edition of the report, published December 22, 2025. The report surveyed 2,000 executives across 23 countries and is produced by Capgemini and Sogeti with OpenText. These organizations offer quality engineering services and tools, but not Dynamics 365 test automation, and the report is widely cited as an industry benchmark.

2. The DORA 2025 figures (nearly 5,000 respondents and 90 percent AI adoption among software development professionals) are sourced from Google's announcement of the State of AI-assisted Software Development report, published September 23, 2025. The finding on automated testing as a control system is drawn from Google Cloud's summary of the same report. DORA is Google's long-running research program on software delivery; Google does not sell ERP test automation.

3. The KPMG SOX figures (average testing hours per control rising from 12 in fiscal year 2022 to 16 in fiscal year 2024, and a 45 percent rise in the cost of maintaining SOX controls between the 2023 and 2025 surveys) are from The 2025 KPMG SOX Survey, as cited in KPMG's 2026 point of view, The Future of SOX: A point of view for 2030 and beyond. The survey was conducted between April and June 2025. KPMG is an independent professional services firm.

Aline Andersson

Aline Andersson

Global Marketing Manager

Based in Stockholm, Aline leads global marketing at elevaite365. She brings a strategic background in product marketing and communications across B2B technology, healthcare, and enterprise data platforms, with particular strength in positioning complex, AI-enhanced solutions for regulated industries.

See what elevaite365 will do for you

Share the Dynamics 365 processes you care about most and we'll put together a practical demo on your own scenarios.