Data model and integration patterns in Dynamics
Patterns to integrate Dynamics 365 and Business Central with other systems, from the data model to architecture choices.
No system lives alone
Dynamics 365 and Business Central almost never operate in isolation: they exchange data with e-commerce, tax systems, banks, portals and third-party tools. The choices of data model and integration patterns determine whether this ecosystem will be robust or a fragile web that breaks with every change. As a Microsoft Solutions Partner, RHC treats integration as architecture, not a patch.
The data model comes first
Before integrating, you need a solid data model. In the Microsoft ecosystem, Dataverse is the base of Dynamics 365 and the Power Platform. A good model has:
- Clear entities, reusing standard tables
- Relationships with referential integrity
- Keys that let you identify records across systems
- Security considered from the start
Without that, any integration inherits the mess of the base.
Integration patterns
| Pattern | When to use | Watch out for |
|---|---|---|
| Real time via API | Data that must be immediate | Coupling and availability |
| Scheduled batch | Large volume, no urgency | Latency between syncs |
| Event-driven | React to changes | Order and reprocessing |
| Integration middleware | Many systems connected | Cost and complexity |
Real-time API
For scenarios needing immediate data — an e-commerce order that must appear in the ERP right away — real-time API integration is the choice. Dataverse and Business Central expose modern APIs. The caution is coupling: if one system goes down, the other feels it. Error handling and retries are essential.
Batch integration
When the volume is large and there is no need for seconds of urgency — like syncing a catalog overnight — scheduled batch processing is simpler and more resilient. The trade-off is latency: systems are misaligned between sync windows, which must be acceptable to the business.
Event-driven
The event-driven pattern reacts to changes: when a record changes, a trigger fires the integration. It is elegant and decoupled, but requires care with event order and reprocessing on failure. Power Automate and Dataverse event features help implement it.
Integration tools in the ecosystem
- Power Automate: for low-to-medium complexity integrations, with hundreds of connectors
- Native APIs of Dataverse and Business Central: for direct, controlled access
- Azure integration services: for high-volume scenarios, orchestration and messaging
- Third-party connectors: for popular systems already mapped
Avoid uncontrolled point-to-point integration
Connecting every system directly to every other creates a web nobody can maintain. As the number of systems grows, the number of connections explodes. Patterns like a central integration point or messaging reduce this complexity. Thinking about topology early avoids the technical debt that stalls future projects.
Idempotency and reliability
Integrations fail — the network drops, a system goes unavailable. Good projects assume this:
- Idempotency: reprocessing the same message does not duplicate data
- Retries with progressive backoff
- Dead-letter queue to handle failures without losing data
- Monitoring that alerts before the user complains
Integration checklist
- Solid Dataverse data model before integrating
- Cross-system identification keys defined
- Pattern chosen by urgency and volume
- Central topology instead of point-to-point web
- Idempotency and retries implemented
- Monitoring and error handling active
- Consistent security and permissions across systems
Key takeaways
- Integration is architecture: start with a solid data model in Dataverse.
- Choose the pattern — real time, batch or event — by urgency and volume.
- Avoid the point-to-point web; prefer a central integration point.
- Design for failure with idempotency, retries and monitoring.
- RHC structures robust integrations between Dynamics, Business Central and the rest of the ecosystem.
Frequently asked questions
Read next
Ready to do more with Microsoft?
Talk to an expert and discover how to optimize licensing, security and productivity.