Microsoft hands SOX change testing to two AI agents
Microsoft's Internal Audit team built two Copilot Studio agents that pull testers, approvers and dates out of change tickets, pre-fill the SOX test and mark the evidence, so auditors can concentrate on the exceptions.
MicrosoftUnited StatesEnterprise softwareIn production
- Scenario
- SOX controls testing
- Business function
- Finance and accounting
- Kind of solution
- Agentic process automation
- Who built it
- Built in-house
- Time to production
- 2 months
- Organization
- Enterprise
- AI types
- Generative AI, Agentic AI, Document AI
tl;drTwo SOX testing agents save Microsoft Internal Audit 850 hours and $185K a year.See the results
Microsoft’s Internal Audit function uses two AI agents to do the routine part of its Sarbanes-Oxley (SOX) change management testing2. The company’s own Finance teams built them7.
One agent pulls the tester, the approver, and the dates out of each sampled change ticket. The other marks in the source evidence where each of those values was found2. The SOX agent is one of six AI tools that Microsoft lists for Internal Audit under Frontier Finance, the program in which its chief financial officer, Amy Hood, describes finance work moving toward being “human-led, agent-operated”7.
The agents fill a standard audit table, pre-set the pass or fail from rules, and tie the workpapers to the evidence. They save 850 hours and $185K a year2.
Before the deployment
Internal Audit performs more than 100 audits across Microsoft5. Over the past few years, it widened its scope in both volume and risk complexity, while it brought down the cost and time of each unit of coverage1.
Change management testing checks that each change in the sample was tested and approved, and when, relative to its deployment2. The manual process had the following problems:
- Review across systems: Auditors reviewed the tickets across multiple ticketing systems to establish those facts2.
- Spreadsheet documentation: Auditors validated the evidence and documented the attributes in spreadsheets for the SOX workpapers2.
- Inconsistent formats: Every sample meant opening, scanning, annotating, saving, and reconciling the evidence by hand. That added effort and raised the risk of inconsistent results2.
- Limited scale: The manual steps limited how far the testing could scale. They took time away from the judgment-based analysis of SOX exceptions2.
Microsoft automated the testing to contain SOX compliance costs without adding staff, and so that SOX testing keeps up as change volumes increase2.
The agent came out of a wider push across Microsoft’s finance organization. Microsoft Finance calls itself customer zero for Microsoft technology, and it runs its processes on Azure, Dynamics, Microsoft 365, and Power Platform8. The Frontier Finance deck lists Internal Audit among the finance areas that build agents7.
“We are leveraging advanced technology to enable finance to lead with integrity, deliver results with precision, and operate at scale with exceptional efficiency.”
What was built
The SOX Change Management Testing Agent is two AI agents that work one after the other2. It automates evidence extraction, validation, and linkage to workpapers, to strengthen audit defensibility and the consistency of SOX controls1. The work is divided as follows:
- Attribute Extraction Agent: Ingests the ticket data and extracts the compliance attributes that the test needs, such as the tester’s name, the approver’s name, and the dates. It structures them into a standardized audit table2.
- Pass/fail rules: Pre-populate the pass or fail result from the attributes that the extraction agent pulled out2.
- Evidence Annotation (Tick Marking) Agent: Finds each extracted field inside the source evidence and applies visual markers such as boxes and labels. A reviewer sees exactly where each attribute was validated2.
- Internal auditors: Receive an audit-ready table that shows testing, approvals, sequencing, and policy alignment2. They handle the higher-risk exceptions and the professional judgment that those call for2. The agent lets auditors focus on higher-risk, judgment-based work7.
Microsoft’s Finance teams built the agent themselves7. The internal Finance and Finance IT teams built all of Internal Audit’s tools with Microsoft’s own products, fitted to the company’s underlying systems and data1. The SOX agent took one to three months to launch2.
The agent sits beside five other AI tools, each built for a different part of the audit7. Internal Audit uses the following other tools:
- Sample Selection Agent: Also called PRISM. Scores countries, partners, and deals for risk from about 16 data sources, so that auditors can choose which partners to audit3.
- Audit Automation Tool: Runs on Dynamics 365 for partner audits in which auditors could face 100 to 200 partner-submitted documents, often in several languages. It extracts pricing, reseller, and discount details, and it runs rule-based checks for corruption-related risks4.
- Investigations Briefing Tool: Drafts briefings from the investigations case management system5.
- Compliance Readiness Agent: Extracts data from emailed bank statements into Excel1.
- Risk Signal Agent: Sends monthly summaries of audit findings across about 25 enterprise risks to the risk managers and program owners who follow them6.
Together, the tools let Internal Audit run full-population testing on high-risk data sets and surface anomalies and control gaps continuously1.
Technology and architecture
- AI component
- Data
- Handoff to people
- Inferred, not documented
The following table lists the components of the solution.
| Layer | What they used | Role | Source |
|---|---|---|---|
| Solution platform | SOX Change Management Testing Agent | Packages the two testing agents and produces the audit-ready SOX tables | 2 |
| Task agent | Attribute Extraction Agent | Ingests ticket data, extracts tester, approver and dates, and fills a standardized audit table | 2 |
| Task agent | Evidence Annotation (Tick Marking) Agent | Finds each extracted field in the source evidence and marks it with boxes and labels | 2 |
| Agent orchestration | Copilot Studio | Main development tool for the agents | 1, 2 |
| Rules and decision logic | Pass/fail rules | Pre-populate the pass or fail result from the extracted attributes | 2 |
| Business or operational system | Ticketing systems | Hold the change tickets the extraction agent ingests | 2 |
| Business or operational system | SOX workpapers | Receive the audit table, ticked and tied to the source evidence | 1, 2 |
Data inputs
Each case brings the following two kinds of input:
- Ticket data: The change tickets in the sample, from multiple ticketing systems in inconsistent formats. The extraction agent turns them into attributes2.
- Source evidence: The evidence behind each ticket. The tick-marking agent marks it up where each attribute was validated2.
Integrations
The agent connects to the following systems:
- Ticketing systems: The extraction agent reads the ticket data from the systems where changes are recorded2.
- SOX workpapers: The agents write the standardized audit table to the workpapers and tick and tie them to the source evidence reviewed1, 2.
How one change ticket flows through the system
Every sampled change runs through the same steps2:
- The Attribute Extraction Agent takes in the ticket. It pulls the tester, the approver, and the dates2.
- The extraction agent writes the values into the audit table. The rules pre-fill pass or fail2.
- The tick-marking agent finds those fields in the source evidence and boxes and labels them. The marks tie the workpaper to the exact place that each value came from2.
- The auditor receives an audit-ready table and spends the time saved on the exceptions2.
- AI component
- Data
- Trigger or control
- Handoff to people
- Inferred, not documented
Results
The agent’s results are annual savings in testing time and cost2. The following table lists them with two results for Internal Audit as a whole.
| Metric | Before | After | Scope and timeframe | Reported by |
|---|---|---|---|---|
| SOX change management testing time | Not disclosed | 850 hours saved a year | SOX Change Management Testing Agent, annual | Microsoft, stated as annual savings2 |
| SOX change management testing cost | Not disclosed | $185K saved a year | Same agent, annual | Microsoft, stated as annual savings2 |
| Median audit report issuance | Three weeks | Two weeks | Internal Audit as a whole | Microsoft, measured1 |
| Internal quality review effort | Not disclosed | Cut by approximately 50% | Internal Audit as a whole | Microsoft, measured1 |
The results measure the following:
- Testing time: The hours are the evidence review, tick-and-tie, and workpaper documentation that the agents now do instead of auditors2.
- Quality of testing: The Frontier Finance deck describes the agent as reducing testing time while improving accuracy, consistency, and audit quality7. The agent’s overview adds that it standardizes testing across ticketing systems2.
- Report issuance and quality review: Both cover the whole function, where agents now run full-population testing on high-risk data1.
Lessons learned
The SOX agent works on a control that suits it, because the evidence comes down to a tester, an approver, and some dates on each ticket2. The agents do the reading, rules give the verdict, and auditors keep the exceptions2. The tick-marking agent makes the work auditable, because every value in the table points back to its place in the evidence, which gives the workpapers their traceability2.
The agent was quick to build, at one to three months by Microsoft’s own Finance teams2, 7. Microsoft Finance’s lessons from its wider agent program are to establish a clean, common data model, to build reusable agents and solution patterns, and to shift people’s skills toward workflow design and process reengineering7.
The agents stop short of the hard cases. They pre-fill pass or fail from rules, and auditors still handle the higher-risk exceptions that need professional judgment2.
Every figure is Microsoft’s own, from undated one-page overviews and a slide deck2, 7. Microsoft also sells the products that the agent is built on, and its Finance organization presents itself as customer zero for that technology8.
Microsoft’s documents don’t always agree with each other. The agent’s overview lists Copilot Studio, M365, and Bing Chat as its technology, while the Frontier Finance deck lists Agent Builder in M365 and M365 Copilot2, 7. For the Sample Selection Agent, the tool’s overview gives 1.7K hours a year saved, and the Internal Audit summary gives 2K hours3, 1.
The function-wide results can’t be credited to the SOX agent. They sit inside a change over the past few years in which Internal Audit widened its scope while it cut the cost of coverage1.
Case study scorecard
- 850 hours saved a year in SOX change management testing2
- $185K saved a year in SOX change management testing cost2
- Rules and standards: Sarbanes-Oxley
Sources by publication date
- Organization 8
- Vendors and partners 2
- Press, academic, and regulators 1
- 8 undated
Build this solution yourself
Analysis
What you need
To build this solution, you need the following in place:
- A control with a few clear attributes: The test checks who tested the change, who approved it, and when both happened against the deployment. That let an agent do the reading while rules gave the verdict and auditors took the exceptions2.
- Ticket data from every ticketing system in the sample: The extraction agent ingested ticket data across systems with inconsistent formats and filled one standardized table2. Check that your change records hold those attributes in a form an agent can read.
- Workpapers that take a standard table with marks: The tick-marking agent tied each value to its place in the evidence2. Check that your external auditors accept tick marks placed by software as evidence.
Reference architecture
Agentic process automation
An agentic process automation solution gives the routine steps of a business process to software agents that carry each case across the business systems. A task agent reads each case, gathers what's missing, and takes or prepares the next step in the business systems, within limits that rules enforce. People set the limits, approve the outcomes that need approval, take the cases outside the agent's authority, and monitor the rest.
- Business systems (documented in this case study)
- Agent platform (documented in this case study)
- Orchestrator or planner (documented in this case study)
- Task agent (documented in this case study)
- Language model
- Checking agent
- Knowledge and context
- Shared data layer
- Tools and connectors
- Pricing and scoring models
- Rules and limits (documented in this case study)
- Fixed workflows
- Handoff to staff
- Review queue or workbench
- Audit trail
- Monitoring
A check mark shows a building block that this case study's sources document.
Open the reference architectureOthers who built it
- KPMG: KPMG Clara AI analyzes entire datasets for 95,000 auditors in more than 140 countries, and whole-dataset analysis has replaced traditional sampling9.
- Grupo Bimbo: Its internal audit team built two Copilot Studio agents and cut planning-phase audit completion time by about 20%10. It plans agents for control testing next10.
- PwC: Its Evidence Match agent extracts and validates audit evidence in high-volume areas such as cash and accounts payable. PwC expects automated controls testing to work the same way11.
In the library
- Lemonade's AI claims bot automates more than half of claims Lemonade
- AI agents spread ML techniques across Meta's ads models Meta
- AI agents handle freight quotes and orders at C.H. Robinson C.H. Robinson
- Walmart's AI negotiates deals with tail-end suppliers Walmart
- Mars cuts brand campaign creation from months to weeks Mars
- Saudia Cargo answers emailed rate requests with AI agents Saudia Cargo
Cite this case study
Enterprise AI Case Studies. "Microsoft hands SOX change testing to two AI agents." Updated Nov 19, 2026. https://case-studies.ai/case-studies/process-automation/PA-003-financial-audit-testing/
@misc{csai-pa-003,
author = {{Enterprise AI Case Studies}},
title = {{Microsoft hands SOX change testing to two AI agents}},
year = {2026},
note = {Updated 2026-11-19},
url = {https://case-studies.ai/case-studies/process-automation/PA-003-financial-audit-testing/}
}Sources
The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership
- Source 1:
AI solution overviews: Internal Audit
Supporting excerpts (15)
Over the past few years, Microsoft Internal Audit materially expanded scope across both volume and risk complexity while reducing cost and time per unit of coverage
Today, AI-enabled agents perform full-population testing on high-risk data sets, continuously surface anomalies and control gaps, and eliminate thousands of hours of manual analytical work annually.
median audit report issuance dropped from three weeks to two
internal quality review effort was cut by approximately 50%
Auditors now focus on judgment-driven risks and decision support
replaces this process with objective risk scoring across revenue, discounts, country risk, and control indicators cutting weeks of manual analysis down to a single day, saving 2K hours annually
SOX change management testing previously required internal auditors to manually review tickets, extract evidence, and standardize workpapers across inconsistent systems.
automates evidence extraction, validation, and linkage to workpapers
strengthening audit defensibility and consistency of SOX controls
replaces manual document reading with an AI-powered testing solution that ingests large volumes of PDF evidence
automatically validates consistency across invoices, agreements, and supporting documentation
The tool pinpoints exactly where discrepancies exist, saving 2K hours per year.
By automating data extraction from emailed statements into structured Excel outputs
Copilot Studio Main development tool: Learn more: aka.ms SOXChangeManagementTestingAgent
Our internal Finance and Finance IT teams have leveraged Microsoft tools to build custom AI solutions within the Microsoft ecosystem, tailored to our underlying systems and data.
- Source 2:
Innovation Story: SOX Change Management Testing Agent
Supporting excerpts (19)
Auditors must manually review tickets across multiple ticketing systems to validate testing, approvals, and timing relative to deployment.
Auditors are required validate evidence and document attributes in spreadsheets for SOX workpapers.
Inconsistent ticket formats increase effort and risk of inconsistency, as auditors must open, scan, annotate, save, and reconcile evidence for each sample.
These manual steps limit scalability and reduce time available for judgment-based analysis of SOX exceptions.
Reduces SOX testing time by automating manual evidence review, tick-and-tie, and workpaper documentation activities.
Improves audit efficiency and helps contain SOX compliance costs without increasing headcount.
Standardizes testing across ticketing systems, improving consistency, accuracy, and audit quality.
Strengthens SOX defensibility through clearer traceability between source evidence and workpapers.
Enables scalable SOX testing as change volumes increase.
enabling greater focus on higher-risk exceptions and professional judgment
850 hours Annual time savings
$185K Annual cost savings
Copilot Studio • M365 • Bing Chat
Launched in 1-3 months
Produces audit-ready, tabular outputs showing testing, approvals, sequencing, and policy alignment, and automatically ticks and ties workpapers to the source evidence reviewed.
It introduces two AI agents that automate core audit activities
Attribute Extraction Agent • Ingests ticket data • Extracts required compliance attributes such as tester name, approval name, and dates
Structures results into a standardized audit table • Pre-populates pass/fail logic based on rules
Evidence Annotation (Tick Marking) Agent • Identifies extracted fields directly within source evidence • Applies visual markers (e.g., boxes, labels) • Shows exactly where each attribute was validated
- Source 3:
Innovation Story: Sample Selection Agent
Supporting excerpts (9)
Partner Risk Identification & Selection Mechanism (PRISM)
Traditional partner selection approaches often relies on static lists, geographic assumptions, and manual judgment
Audit teams previously had to manually review up to 16+ disparate data sources (dashboards, systems, exports) to identify potential compliance risks.
Reduces audit selection time by 85%
1.7K hours Annual time savings
$170K Annual cost savings
Launched in 7 months
Aggregating and synthesizing signals across ~16 data sources
Producing standardized risk scores at country, partner, or deal level which enables auditors to quickly identify high-risk partners and high-risk deals worth deeper investigation
- Source 4:
Innovation Story: Audit Automation Tool
Supporting excerpts (8)
ARC Partner Audit and Finance Compliance teams rely on highly document-intensive processes to validate corruption-related attributes during partner audits.
For a single audit, auditors may manually review 100–200 partner-submitted documents, often in multiple languages
2K hours Annual time savings
$206K Annual cost savings
Launched in 5 months
ARC Audit Automation on Dynamics 365 supports the ARC Partner Audit team by automating audit testing
AI-driven data extraction of critical attributes such as partner details, pricing, reseller relationships, and discounts.
Automated validation and rule-based checks against predefined audit criteria for corruption-related risks.
- Source 5:
Innovation Story: Investigations Briefing Tool
Supporting excerpts (5)
the Internal Audit function performs over 100+ audits across Microsoft
Direct connection to Investigative Case Management system
Automatic draft briefings from sanitized data
120 hours Annual time savings
$40K Annual cost savings
- Source 6:
Innovation Story: Risk Signal Agent
Supporting excerpts (5)
Audit teams generate large volumes of findings across ~25 enterprise risks
built using Copilot Studio and Power Automate that provides targeted, monthly visibility into audit issues aligned to Enterprise Risks
proactively delivers curated, risk-aligned insights directly to Risk Managers, audit teams, and program owners
250 hours Annual time savings
$15K Annual cost savings
- Source 7:
Frontier Finance: Pushing the boundaries of possibility in Finance
Supporting excerpts (11)
Amy Hood Executive Vice President and Chief Financial Officer
Human with assistant Human-led agents Human-led, agent-operated
Internal Audit Right-sized risk insight, less operational drag. • Sample Selection Agent • SOX Change Management Testing Agent • Audit Automation Tool
• Investigations Briefing Tool • Compliance Readiness Agent • Risk Signal Agent
Created by Microsoft Finance teams
Reduces testing time while improving accuracy, consistency, and audit quality
Enables auditors to focus on higher-risk, judgment-based work
850 hours annual time savings Agent Builder in M365 M365 Copilot 1-3 months SOX Change Management Testing Agent
Shift to workflow design and process reengineering
Establish a clean, common data model
Build reusable agents and solution patterns
- Source 8:
Supporting excerpts (4)
Customer zero for Microsoft technology
Microsoft Finance uses the entire stack of Microsoft solutions, including Azure, Dynamics, Microsoft 365, and Power Platform to run our processes
We are leveraging advanced technology to enable finance to lead with integrity, deliver results with precision, and operate at scale with exceptional efficiency.
Amy Hood, Executive Vice President and Chief Financial Officer, Microsoft
- Source 9:
KPMG is redefining the audit with agentic AI using Azure
Supporting excerpts (4)
KPMG created KPMG Clara AI to modernize member firm audit process, analyzing entire datasets
With 95,000 auditors working across member firms in more than 140 countries
Whole-dataset analysis has replaced traditional sampling.
routine tasks such as data reconciliation, transaction testing, and documentation review are automated
- Source 10:
Grupo Bimbo standardizes global audit processes with Copilot Studio
Supporting excerpts (5)
Grupo Bimbo, headquartered in Mexico, is one of the world's largest baking companies.
Grupo Bimbo built two AI-powered agents using Microsoft Copilot Studio
Comatrix supports audit planning, while Audit Assist helps auditors follow procedures, reporting requirements, and standard communications defined by the quality assurance team.
The planning-phase audit completion time decreased by approximately 20 percent.
The team plans to build more agents in Copilot Studio to support other centers of excellence, particularly in areas such as control testing and data extraction.
- Source 11:
PwC expects end-to-end AI audit automation within 2026
Supporting excerpts (3)
Panson said PwC also expects to have solutions for automated controls testing that will operate similarly to their current software for evidence matching, called Evidence Match.
Evidence Match is an agent-led audit module that automatically extracts matching and validating evidence against documents.
Integration with the assurance skills library allows the software to support testing in high-volume areas such as cash, accounts receivable and accounts payable.
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.