Microsoft Dynamics 365 AI Ontology & MCP Connector
Dynamics 365 Finance & Supply Chain Management and Business Central split operational truth across DataAreaId legal entities, InventDim inventory dimension combinations and DefaultDimension financial pointers. Generic connectors lose dimension context or lock you into a single cloud assistant. Naditu serves one governed ontology across Claude, ChatGPT, Copilot and internal agents.
OData V4 Entities · SQL Replica · Synapse Link Views
Human-approved via Dynamics OData V4 & Business Events
Canonical ontology mapping
Business objects & field-level governance.
Instead of exposing raw physical tables to an LLM, Naditu assembles governed domain objects and enforces caller role policies at query time.
Sales Order & Customer
Physical tables / entitiesSalesTable · SalesLine · CustTable · DirPartyTableGovernance & masking ruleDataAreaId legal-entity scope & line margin rulesInventory & Dimension Stock
Physical tables / entitiesInventSum · InventDim · InventTrans · EcoResProductGovernance & masking ruleCostAmountPhysical & CostAmountPosted restricted to FinancePurchase Order & Vendor
Physical tables / entitiesPurchTable · PurchLine · VendTable · VendTransGovernance & masking ruleVendor bank account & rebate terms masked by roleProduction Order & Route
Physical tables / entitiesProdTable · ProdBOM · ProdRoute · WrkCtrTableGovernance & masking rulePlant and site filter inherited from Entra ID group
| Business object | Physical tables / entities | Governance & masking rule |
|---|---|---|
| Sales Order & Customer | SalesTable · SalesLine · CustTable · DirPartyTable | DataAreaId legal-entity scope & line margin rules |
| Inventory & Dimension Stock | InventSum · InventDim · InventTrans · EcoResProduct | CostAmountPhysical & CostAmountPosted restricted to Finance |
| Purchase Order & Vendor | PurchTable · PurchLine · VendTable · VendTrans | Vendor bank account & rebate terms masked by role |
| Production Order & Route | ProdTable · ProdBOM · ProdRoute · WrkCtrTable | Plant and site filter inherited from Entra ID group |
Why raw SQL & generic MCP fail
Three physical schema traps solved in the layer.
Every operational system carries implicit join keys, status discriminators and multi-company rules that ungrounded Text-to-SQL guesses wrong.
- 01
DataAreaId cross-company leakage and shared DirPartyTable
Global address book records live in DirPartyTable without a company code while CustTable and SalesTable partition by DataAreaId. Omitting DataAreaId joins leaks or duplicates records across legal entities.
- 02
InventDim combinatoric warehouse, batch and site keys
Stock quantities in InventSum make sense only when joined through InventDimId to site, warehouse, location and batch attributes. Naditu exposes clean inventory attributes on the Item object.
- 03
Integer BaseEnums whose labels live in application metadata
Columns such as SalesStatus and ProdStatus store raw integers in SQL replicas while their human labels sit in AOT metadata. The ontology binds the exact enum dictionary.
Common engineering questions.
Why use Naditu instead of relying solely on Microsoft Fabric IQ and Copilot?
Fabric IQ and Copilot cover Microsoft-hosted workloads well, whereas Naditu runs on-prem, spans non-Microsoft ERPs, MES and regional systems without lakehouse ingestion, and serves Claude, ChatGPT and custom agents equally over MCP.
Does Naditu support both Dynamics 365 F&SCM and Business Central?
Yes. Both F&SCM (AX/FO) data entities and Business Central AL API pages / on-prem SQL replicas can be modeled in the same workspace.
How do Entra ID groups map to Dynamics legal entities in Naditu?
Entra ID groups imported over OIDC/SCIM bind directly to DataAreaId and site row filters plus field-level masks.
Engineering deep dives
Related architecture notes from the blog.
Connecting Microsoft Dynamics 365 and Fabric IQ to AI
How multi-ERP enterprises connect Microsoft Dynamics 365 (Business Central and F&SCM) and Fabric IQ to AI without Direct Lake or AL write traps.
Why AI agents should read ERP data before they write
Reading and writing are different risks. How Anthropic and Infor separate them, and what a separate write permission should mean for a plant.