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

Why Microsoft's Dynamics 365 agents stumble on your customized F&O — and the last-mile fix

3 min read
678 words
high priority
Ali Ahmed

Ali Ahmed

AI Solutions Engineer, Cognilium AI

TL;DR

Microsoft's ERP agents work beautifully on standard Finance & Operations — and stall on the X++ and ISV customizations that make your estate yours. Here's the last-mile fix: exposing your logic as governed MCP Action tools.

Microsoft's Dynamics 365 agents are genuinely good, and they're getting better fast. The Account Reconciliation Agent, the Finance Agent, the supply-chain procurement agent, the Business Central Payables and Expense agents — on standard Finance & Operations, they do real work.

The word doing the heavy lifting there is standard.

Almost no enterprise runs standard F&O. Over years, your estate accumulated the thing that makes it yours: X++ customizations, ISV solutions, bespoke approval routing, custom tables and entities, process logic that encodes how your business actually runs. And that is precisely where a generic agent stalls — because it only knows the out-of-the-box surface, and the decision it needs to make lives in the custom logic it can't see or safely call.

This is the last mile of agentic ERP, and it's where most agent projects quietly fail.

Why generic agents can't reach your customizations

A first-party or generic agent reasons over the capabilities it's been given. On standard F&O those are rich. But your customizations are, to that agent, invisible:

  • It doesn't know your custom entity exists, so it can't read from it.
  • It doesn't know your ISV's logic is what actually computes the result, so it works around it — or gets it wrong.
  • It can't call your X++ business logic safely, so it either can't complete the task or does something adjacent that looks right and isn't.
  • And if it could reach them, doing so without scoping and governance would be the exact exposure that makes IT refuse to turn agents on at all.

So you get the frustrating half-outcome: the agent handles the textbook cases and hands back everything that touches the custom process — which, in a real estate, is most of what mattered.

The fix: expose your logic as governed MCP Action tools

The last-mile fix is to make your customizations callable by the agent — safely, explicitly, and inside your security roles. In Dynamics terms, that means exposing the specific operations the agent needs — read this custom entity, run this validated piece of business logic, write back to this customized record — as governed MCP Action tools.

Done properly, each Action tool is:

  • Specific and typed — a defined operation ("create a quote line from this request", "validate this PO against the custom approval rule"), not "do anything in F&O."
  • Permissioned inside your security roles — the agent gets exactly the operations it's allowed, no more. This is also the governance answer: scope at the action layer, don't hand over the whole surface. (See the Dynamics 365 agent governance gap for why that matters.)
  • Approval-gated where it should be — the agent prepares; a person approves anything irreversible before it posts.
  • Built on the supported integration surface — it never alters the ERP core (see Dynamics 365 integration patterns).

The result: Microsoft's agents — and your own — can finally do real work on your F&O, not a hypothetical standard one. The custom logic that used to be a dead end becomes a tool the agent can call, under control.

Why this is an engineering job, not a configuration one

Exposing X++ and ISV logic as governed, typed, permissioned actions is not a toggle in a setup screen. It needs someone who understands both halves: the agent side (what an action tool is, how an agent plans over it, where to put the human-in-the-loop) and the ERP side (your data model, the supported surface, how your customizations and your ISV solutions actually behave). That pairing — production AI engineering plus genuine F&O depth — is rare, and it's exactly the seam where generic offerings can't follow and depth shows.

This is the work we do: the MCP server for Dynamics 365 that turns your customized estate into a set of governed actions an agent can safely use.

If your F&O is customized and Microsoft's agents keep handing back the cases that matter, tell us what your customizations and ISV solutions look like — the first conversation is about which of them an agent could safely reach, and what it would take.

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.

Generic agents reason over the standard, out-of-the-box surface. Your X++ customizations, ISV logic and custom entities are invisible to them, so they handle textbook cases and hand back anything that touches your custom process — which is usually what mattered.
Specific, typed, permissioned operations that expose your customizations — read a custom entity, run validated business logic, write to a customized record — so an agent can call them safely, inside your security roles and behind approval where needed.
Not if it's done right. Each Action tool is scoped to a specific operation and sits inside your security roles, so the agent gets exactly what it's allowed — which is safer than handing it the full user surface.
No. Action tools are built on the platform's supported integration surface and never alter core ERP logic.
Engineering. Turning X++ and ISV logic into governed, typed, permissioned actions needs someone fluent in both the agent side and the F&O side — it's not a setup-screen toggle.

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%

Where does the storage bill land for Link to Microsoft Fabric?

High priority content
Similar reading time

Not on Azure. Fabric link storage is charged to Dataverse capacity and shows up in the Power Platform admin center, where nobody is looking.

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