# Microsoft Dynamics 365 AI Ontology & MCP Connector

Canonical URL: https://naditu.com/connectors/microsoft-dynamics-365
Category: Global ERP
Read path: `OData V4 Entities · SQL Replica · Synapse Link Views`
Write gate: `Human-approved via Dynamics OData V4 & Business Events`

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.

## Business objects & field-level governance.

- **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

## Three physical schema traps solved in the layer.

1. **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.
2. **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.
3. **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.
