What to fix in your ERP before adding AI to Dynamics 365
Before adding AI to a Dynamics 365 workflow, fix master data, integrations, security roles, audit trails and unsupported AX or NAV. What to do first, and why.
Westerwick6 min read

On this page
It's tempting to think the model is the hard part of putting AI in Dynamics 365. In our view it's the easier part. The work that decides whether an AI feature helps or embarrasses you sits underneath it: the quality of your records, how systems connect, who can see what, and whether you can prove what changed.
Here's what to fix first, and why each piece matters once AI is involved.
What to fix before adding AI in Dynamics 365
Microsoft's own Copilot for finance and operations answers questions from "the structured finance and operations data that the user has access to"6. That's the right design, and it has a direct consequence. If the data is duplicated, mis-keyed or badly permissioned, the AI will faithfully repeat the mess, and show it to whoever has access.
The same applies to any AI pipeline you build yourself, such as one that reads supplier invoices and posts them to Dynamics. The model can extract the right figures and still create a problem if it can't reliably match the supplier to the right record.
AI doesn't clean up an ERP. It shows you, quickly, how clean it already was.
Master data you can trust
Master data is the core reference information in your ERP (enterprise resource planning system) that everything else points to: customers, suppliers, items, accounts. We recommend starting here.
Microsoft notes that "duplicate records can creep into your data when you or others enter data manually or import data in bulk"3. If your AI pipeline will import records in bulk, check how duplicates will be handled. Don't assume the platform will catch the problem either. In Dataverse, the data platform under many Dynamics 365 apps, "the Merge option is available only for Account, Lead, and Contact entities", and the newer duplicate experience works when data is entered manually, "not during import"3.
Before any AI writes back to your ERP, we'd recommend:
- One reliable identifier per record, such as a supplier's registration or VAT number, that the pipeline matches on instead of names.
- A de-duplication pass on suppliers, customers and items, with an owner for each list.
- Rules for what happens when there's no match: create a draft for review, never a new master record silently.
Business rules written down, not remembered
An ERP is full of rules that live in people's heads: which suppliers need two approvals, which cost centres a department may post to, when a credit note needs a manager. An AI can't follow a rule nobody has written down.
Document the rules that apply to the workflow you want to automate, and keep them in the ERP's approval workflows or in plain code, not inside an AI prompt. The AI proposes; the existing, governed process decides. Our companion article on wiring AI pipeline output into Dynamics 365 covers how that hand-off works in practice.
How AI actually reaches Dynamics: APIs and integrations
An AI system talks to Dynamics through an API, a defined interface other software can call. Old integrations are a common blocker.
In Business Central, Microsoft supports three kinds of web service, but "using REST API web services is the recommended way", and the Power Platform connector works only with the REST APIs1. Two older approaches are on the way out:
- SOAP integrations, an older web-service style: "SOAP is replaced by OData V4. The support for SOAP endpoints will be removed in a later release", and Microsoft recommends migrating "as soon as possible"1.
- Basic authentication: since October 2022, access keys for web services are "deprecated and not supported in Business Central online", with OAuth2 recommended instead1. OAuth2 is a modern sign-in standard that grants each application limited, revocable access.
On the finance and operations side, Microsoft now offers the Dynamics 365 ERP MCP server (MCP is an open standard for connecting AI agents to tools and data), which lets AI agents "perform data operations and access the business logic of finance and operations apps"6. That makes connecting agents easier. It also makes the next section more important, because an agent can do whatever its access allows.
Security roles and the audit trail
Least-privilege access
Dataverse uses role-based security, where "a combination of access levels and permissions in a security role determines which apps and data users can view"2. Microsoft's predefined roles follow the principle of "minimum required access"2.
Treat any AI service account like a new staff member with a narrow job. Give it its own role with only the tables and actions that job needs. Watch for a common surprise: tenant-level admin roles "don't automatically grant Dataverse data access"2, so don't fix an access error by handing the AI account a broad admin role.
Know what's already switched on
In Business Central, "Copilot is a system feature" and "you can't turn Copilot on or off" as a whole, though administrators can deactivate individual capabilities and grant or deny access per user7. Since update 25.0, all features are activated by default7. If you assumed AI was opt-in, check the Copilot & agent capabilities page and decide deliberately.
Prove what changed
In finance and operations apps, database logging can track "insert, update, delete, and rename key operations" on chosen tables and fields8. That's your record of what an AI-assisted process changed. It has a cost: with logging on, "all set-based database operations downgrade to row-based operations", and the log table "can grow quickly"8. Log the specific fields that matter, not whole tables.
Check AX and NAV support before investing
If your ERP is an older on-premises Dynamics AX or NAV system, check where it stands before you invest in AI on top of it.
- Extended support for Dynamics AX 2009 SP1, AX 2012 and AX 2012 R2 ended on 12 April 2022; for AX 2012 R3 it ended on 10 January 20234. Microsoft recommends upgrading to Dynamics 365 finance and operations apps4.
- Dynamics NAV 2018 is still in extended support: mainstream support ended in January 2023, and extended support ends in January 20285.
AX is out of support; NAV 2018 has a known end date. Either way, we recommend assessing the installed version, the interfaces it offers, how heavily it's customised and your upgrade plan before committing to an AI project on it. An AI integration built now should still make sense after the upgrade.
Where the processing happens matters in South Africa
Two cross-border questions come up for South African organisations.
Copilot in Business Central. An "Allow data movement" switch appears when your environment is in a different geography from the Azure OpenAI service Copilot uses; disallowing it "deactivates Copilot and all features"7. Since update 25.0, data movement is enabled by default7.
AI pipelines on AWS. Amazon Bedrock can be used from the Cape Town Region through global cross-Region inference, which routes each request to supported Regions worldwide for processing9. Our article on choosing Regions for South African AI workloads explains the detail.
Both raise questions about where personal information is processed. POPIA section 72 sets conditions for transferring personal information to a third party in a foreign country10. We can explain the options, but get professional advice before deciding.
What to do next
- Pick one workflow you want AI to help with, such as supplier invoice capture, and list every master record and rule it touches.
- Clean the master data it depends on: de-duplicate suppliers or customers and agree one matching identifier.
- Move its integrations to REST APIs and OAuth2, retiring SOAP and basic authentication.
- Create a dedicated, least-privilege role for the AI service, and switch on field-level database logging for what it changes.
- Review your Copilot settings and data-movement choice, and plan any AX or NAV upgrade before layering AI on top.
Sources
- 1.Compare REST APIs, OData, and SOAP web services in Business CentralMicrosoft Learn
- 2.Role-based security roles for DataverseMicrosoft Learn
- 3.Use Microsoft Dataverse to detect duplicate records and mergeMicrosoft Learn
- 4.End of mainstream support for Microsoft Dynamics AX 2009, Dynamics AX 2012, Dynamics AX 2012 R2, and Dynamics AX 2012 R3Microsoft Learn
- 5.Dynamics NAV 2018 - Microsoft LifecycleMicrosoft Learn
- 6.Overview of Copilot capabilities in finance and operations appsMicrosoft Learn
- 7.Configure Copilot and agent capabilitiesMicrosoft Learn
- 8.Configure database loggingMicrosoft Learn
- 9.Scale AI in South Africa using Amazon Bedrock global cross-Region inference with Anthropic Claude 4.5 modelsAWS Machine Learning Blog · 30 January 2026
- 10.Section 72 Transfers of personal information outside RepublicPOPIA (popia.co.za)


