Dual-write Explained
What dual-write is, how it syncs Dynamics 365 F&O with Dataverse in near real time, how to set it up, and when to use it.
FreeFree 2-minute video lesson. What dual-write is, how it syncs Dynamics 365 F&O with Dataverse in near real time, how to set it up, and when to use it. Short, visual and to the point, so you can watch it between meetings and apply it the same day.
Dual-write provides tightly coupled, near real-time, bidirectional sync between Dynamics 365 finance and operations apps and Dataverse. This silent slide video explains how it works, what table maps and initial sync do, the out-of-box scenarios such as customers, products, and quotes with Sales, the setup steps, how errors and pauses are handled, and how dual-write compares to virtual entities. It closes with practical design tips for architects and consultants.
What you'll learn
- What it is
- Why it matters
- How it works
- Common out-of-box maps
- Setup at a high level
- Initial sync vs live sync
- Handling errors
- Dual-write vs virtual entities
- Design tips
- Key takeaway
Who it's for
Solution architects, integration leads and consultants connecting Dynamics 365 with POS, EDI, WMS, CRM and the Power Platform.
Go deeper
Pair this lesson with the related free e-books and templates in the resource library, and read the latest practical articles on the blog.
Lesson notes (text version of the video)
What it is: Bidirectional near real-time sync. Dual-write copies data between F&O and Dataverse in both directions as records change.
Why it matters
- Sales and service teams see ERP customers and products
- Orders and quotes flow between CE and F&O
- One customer record across Dynamics 365 apps
- Power Platform apps can use ERP data in Dataverse
How it works
- Table maps link an F&O entity to a Dataverse table
- Field mappings define which columns sync
- Changes write synchronously to the other side
- Company field keeps legal entity context in Dataverse
Common out-of-box maps
- Customers, vendors, and contacts
- Released products and product variants
- Sales quotes, orders, and invoices
- Currencies, units, and payment terms
Setup at a high level
- Link F&O and Dataverse environments
- Install dual-write orchestration solutions
- Choose legal entities to sync
- Apply table maps and run initial sync
- Turn maps on and monitor
Initial sync vs live sync
- Initial sync: Copies existing records once; Run in dependency order
- Live sync: Each change syncs immediately; Errors surface to the user
Handling errors
- Failed writes can block the original transaction
- Maps can be paused during maintenance
- Paused changes queue and replay on resume
- Review the error log in the dual-write workspace
Dual-write vs virtual entities
- Dual-write: Data copied to Dataverse; Fast reads in CE; Storage used twice
- Virtual entities: Data stays in F&O; Read live through Dataverse; No copy to keep in sync
Design tips
- Sync only tables you truly need
- Align number sequences and keys early
- Load in dependency order: currencies before customers
- Test volume and peak loads before go-live
Key takeaway: Use dual-write when both sides must own and edit the same records. For read-only views, consider virtual entities.
Let's connect
I'm Pranshu Shubham, a Microsoft Dynamics 365 F&O Solution Architect and PMP-certified program lead with 8+ years of ERP and AI transformation across the USA, Europe and APAC. I created this resource from real project experience, and I'd love to hear how you use it.
- Connect with me on LinkedIn and tell me what you're working on
- Have a question or a project in mind? Send me a message. I reply within 24 hours
- Explore more free e-books, templates and videos and the latest articles