Back to Blog
Published:
Last Updated:
Fresh Content
Agentic ERPFoundational guide

The audit trail your auditors will ask about: making Dynamics 365 agents auditable

3 min read
625 words
high priority
Ali Ahmed

Ali Ahmed

AI Solutions Engineer, Cognilium AI

TL;DR

Before an AI agent touches your general ledger, your auditors will ask three questions: who authorised it, what did it do, and can you prove it. Here's how to make Dynamics 365 agents auditable — approval, segregation of duties, and a trail.

There's a moment every finance leader hits when they move from "AI agents are exciting" to "AI agents are touching the general ledger": the audit question.

Because the first time an agent posts a journal, creates a PO, or clears a reconciliation, your auditors — internal and external — will ask the same three things they'd ask about any person who did it:

  1. Who authorised this?
  2. What exactly did it do?
  3. Can you prove it?

If you can't answer all three for every agent action, the agent isn't ready to touch the ledger — no matter how good it is. Auditability isn't a feature you add later; it's the thing that lets finance say yes in the first place.

Why an agent raises the bar, not just meets it

A human in your finance team is already inside your control framework: they have a named identity, a role with defined permissions, and they leave a trail. An agent has to be held to the same standard, and that's harder than it sounds, because an agent acting for a user currently inherits that user's permissions and acts on instructions — fast, at volume.

So the controls that were implicit for a person have to be made explicit for an agent:

  • Identity and authorisation. Every action attributable — not just "a user's agent did it," but which instruction, approved by whom.
  • Segregation of duties. The agent must not be able to both create and approve the same transaction. If a human role quietly accumulated both, that's the first control to split before the agent inherits it.
  • Approval before anything irreversible. The ledger-touching, cash-moving, PO-creating actions sit behind a human approval, by design — the pattern Microsoft's own flagship demo uses.
  • A complete, queryable trail. Instruction → data read → recommendation → approval → action → record touched. Not a log you hope exists, but evidence you can hand an auditor.

The three questions, made answerable

"Who authorised this?" — Build so that every agent action carries the instruction that triggered it and the person who approved it. An agent action with no named approval behind an irreversible step is the finding an auditor will write up.

"What exactly did it do?" — Capture the reasoning, not just the result. The agent's summary of why it acted — which rule, which match, which exception — is what turns "the system did it" into something a controller can stand behind.

"Can you prove it?" — Keep the trail durable and queryable, tied to the record. "We think it worked correctly" is not an audit answer; "here is the instruction, the approval, and the before/after on the record" is.

This is also why the governance work and the audit work are the same project: scoping what an agent is allowed to do (the governance gap), exposing only governed operations (MCP Action tools), and recording every one of them, are three faces of making an agent safe to trust with the books.

The order of operations

Get this done before you scale agents, not after an auditor asks. The sequence:

  1. Fix segregation of duties on the roles agents will inherit.
  2. Make approval-before-posting architectural for anything irreversible.
  3. Build the trail — instruction, approval, action, record — as evidence, not an afterthought.
  4. Then widen the agent's remit, one process at a time.

Do it in that order and agents become something your audit committee signs off on, instead of something they freeze. Do it backwards and the first audit stops the programme.

If you're putting agents anywhere near the ledger and want the control and audit architecture sorted first, tell us what your controls and approvals look like today — the honest first step is usually "make this auditable before you scale it."

Share this article

The work behind this series

The hub these articles sit under: what an agent can safely read and write in Dynamics 365, and the approval layer around every action.

Ali Ahmed

Ali Ahmed

AI Solutions Engineer, Cognilium AI

Ali Ahmed is an AI Solutions Engineer at Cognilium AI.

Applied AI AgentsAgentic SystemsRetrieval-Augmented Generation (RAG)LLM Product Engineering

Frequently Asked Questions

Find answers to common questions about the topics covered in this article.

Make every agent action attributable to an instruction and an approval, enforce segregation of duties so an agent can't create and approve the same transaction, gate irreversible actions behind human approval, and keep a complete, queryable trail from instruction to record.
Who authorised the action, what exactly it did, and whether you can prove it. If you can't answer all three for every ledger-touching action, the agent isn't ready for it.
They can, if they inherit a role that holds both create and approve rights. Splitting those on the roles agents will use is the first control to fix.
Not without a human approval on the irreversible step. The agent prepares; a person approves before it posts.
No — they're the same project: scope what the agent can do, expose only governed operations, and record every action. Governance is control; audit is the evidence of it.

Still have questions?

Get in touch with our team for personalized assistance.

Contact Us

Still have a question this did not answer?

The person who wrote this article answers these. Describe your setup and what you are stuck on — you will get a straight answer, including where we think the approach is wrong.

Personalized for You

Curated content recommendations based on your current reading and interests.

For You
115%

AI account reconciliation in Dynamics 365: what the agent clears, and the part it hands back

Same topic cluster: Agentic ERP
Same author: Ali Ahmed

Microsoft's Account Reconciliation Agent clears reconciliation exceptions in bulk across Dynamics 365 Finance. Here's what it handles well, the exceptions it hands back, and how to close that last gap.

Ali Ahmed
3 min read
Agentic ERP
Read Article
Trending
35%

What happens when you unlink Dynamics 365 from Microsoft Fabric?

High priority content
Similar reading time

Unlinking deletes the Fabric lakehouse, and everything built on it goes too. What to check before anyone treats it as a reversible setting.

Mudassir Marwat
4 min read
ERP Write-Back & Integration
Read Article
For You
115%

AI collections in Dynamics 365: what the agent drives, and where the relationship stays human

Same topic cluster: Agentic ERP
Same author: Ali Ahmed

Microsoft's Finance Agent brings AI to collections in Dynamics 365 — prioritising accounts, drafting outreach, surfacing risk. Here's what it drives well, where the customer relationship stays human, and how to make it run on your policy.

Ali Ahmed
3 min read
Agentic ERP
Read Article
For You
115%

Business Central AI agents: what the Payables and Expense agents do, and where a custom build takes over

Same topic cluster: Agentic ERP
Same author: Ali Ahmed

Business Central now ships AI agents — a Payables Agent that reconciles POs and an Expense Agent that checks reports for policy violations. Here's what they do, where they stop, and when a mid-market team needs a custom build.

Ali Ahmed
3 min read
Agentic ERP
Read Article
For You
115%

Codifying your procedures as governed business skills for Dynamics 365 agents

Same topic cluster: Agentic ERP
Same author: Ali Ahmed

Microsoft's 'business skills' let you define your procedures as reusable, governed context for Dynamics 365 agents. Here's how to turn the way your business actually runs into skills an agent can use — and why that's the real work.

Ali Ahmed
3 min read
Agentic ERP
Read Article
For You
115%

A Dynamics 365 agent can do anything the user can. Close that gap before you turn it on.

Same topic cluster: Agentic ERP
Same author: Ali Ahmed

Microsoft's ERP Copilot plugin is GA — and an agent acting for a user can currently do anything that user can do. The role-based controls have no release date. Here's how to close the governance gap before you activate agents on Dynamics 365.

Ali Ahmed
3 min read
Agentic ERP
Read Article

Smart Recommendations

Our AI analyzes topic clusters, author expertise, and content relationships to surface the most relevant articles for you.

Topic Matching
Author Expertise
Content Quality
Personal Interests

Questions on this?

Talk to an engineer

Schedule a call