Data synchronization
Data synchronization between Business Central and Microsoft Dataverse: setup, the Base Integration Solution, customizing integration tables, field and option mappings, coupling records, and generating AL proxy tables. It answers how to set up, extend and customize Dataverse sync. A Dataverse API subtopic (11 pages) goes deeper.
Path: Integration > Integrating with Microsoft Dataverse > Data synchronization · tier official · system integration · narrative reviewed (checked by Opus)
Overview
This section covers how Business Central synchronizes data with Microsoft Dataverse, for example with Dynamics 365 Sales or Dynamics Field Service. Data can be synchronized in one direction or both. The main page explains setup requirements, the Base Integration Solution, integration table mappings and how to handle currency differences between the systems.
The other pages cover customization. One describes creating integration tables, pages and mappings, and coupling and uncoupling records. A second covers option mappings, which couple Business Central records with Dataverse option sets. The third describes the AL Table Proxy Generator, which creates proxy tables in Business Central that represent Dataverse tables.
Start with the page on integrating via data sync to understand the setup. Then use the customization pages when you need to sync extra tables, fields or option sets. The Dataverse API subtopic (11 pages) is the next step for API-level work.
Key points
- Synchronization can be bidirectional or unidirectional with Dynamics 365 apps such as Sales or Field Service.
- The Base Integration Solution and integration table mappings are part of the base setup.
- Currency differences between the systems need to be handled, and the main page covers this.
- Custom integrations use integration tables, pages, field mappings and table mappings.
- Records can be coupled and uncoupled, and deep linking is covered.
- Option mappings couple Business Central records with Dataverse option sets, without bidirectional support.
- Option mapping customization uses AL extensions and temporary tables.
- The AL Table Proxy Generator creates proxy tables for Dataverse tables, including lookup relationships, with a choice of table type.
Subtopics
- Dataverse API (11 pages)
More Learn pages
- Customizing an integration with Microsoft Dataverse: Learn how to integrate your extension with Microsoft Dataverse. This walkthrough takes you through each step.
- Prerequisite: Microsoft Dataverse must include the Worker table from the Talent Core HR solution.
- Prerequisite: Business Central sandbox environment with CRONUS demo data and working Dataverse integration enabled.
- Prerequisite: Visual Studio Code with AL Language extension installed for developing extensions.
- Step: Create an integration table in Business Central using the AL Table Proxy Generator tool to map a Dataverse table to a Business Central record type.
- Step: Create a page using the integration table as data source to display Dataverse data in Business Central.
- Step: Subscribe to OnGetCDSTableNo event in CRM Setup Defaults codeunit to enable coupling between Business Central and Dataverse records.
- Step: Create integration table mappings linking Business Central tables to integration tables, then add integration field mappings for specific fields.
- Custom uncoupling can be enabled by specifying an uncoupling codeunit in integration table mapping to run custom logic before or after removing couplings.
- In the observatory: Codeunit 5330 “CRM Integration Management”, Codeunit 5331 “CRM Coupling Management”, Codeunit 5332 “Lookup CRM Tables”, Codeunit 5334 “CRM Setup Defaults”, Codeunit 5336 “Integration Record Synch.”, Codeunit 5341 “CRM Int. Table. Subscriber”
- Customizing option mappings with Microsoft Dataverse: Learn how to customize option mappings in an integration with Microsoft Dataverse.
- Prerequisite: Dataverse integration must be enabled with default synchronization setup and working connection.
- Prerequisite: Feature switch Map to option sets in Dataverse without code must be enabled.
- Prerequisite: CRONUS International Ltd. demonstration data and sandbox environment required.
- Prerequisite: Visual Studio Code with AL Language extension for development.
- Step: Create temporary integration table in Business Central based on Dataverse option set schema.
- Step: Create list page using temporary table as data source and call Load procedure.
- Step: Subscribe to integration events in codeunits to enable coupling, synchronization, and field mapping.
- Step: Create integration table and field mappings to sync Dataverse options with Business Central records.
- In the observatory: Codeunit 5330 “CRM Integration Management”, Codeunit 5332 “Lookup CRM Tables”, Codeunit 5334 “CRM Setup Defaults”, Codeunit 5340 “CRM Integration Table Synch.”, Codeunit 5342 “CRM Synch. Helper”, Codeunit 5364 “Int. Option Synch. Invoke”
- Generate AL Proxy Tables for Dataverse: Use the AL Table Proxy Generator to create Business Central integration tables from Microsoft Dataverse tables and their relationships.
- Integrate with Microsoft Dataverse via data sync: Introduction to how to integrate and use Microsoft Dataverse and its components to connect to other Dynamics 365 applications.
- In the observatory: Page 118 “General Ledger Setup”, Page 483 “Currency Exchange Rates”, Page 5 “Currencies”
Key facts from Microsoft Learn (CC BY 4.0), in our own words (D106); open the page for the full text.
Videos, posts and code changes
Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.
- #14470 [Master Data Management] Bug bash fixes for cross-environment synchronization (code change): “Master Data Management cross-environment synchronization received security fixes”
- Dynamics 365 Business Central Blog Series: Integrate with Microsoft Dataverse (community post): “Integration table mappings can be customized and extended for both standard and custom Dataverse tables.”
- What’s New: Business Central Integration with Dataverse (2024 release wave 1) (video): “Data Sync Overview; Virtual Tables; Data Change Events”
Business Central pages and reports
The pages, reports and queries this hub’s Learn pages name (ms.search.form, API reference), joined to the code by exact object id (data/index/docs-objects.json); a page shows the table it runs on.
- Page 7214 “CDS Companies” · captioned “Dataverse Companies” · on Table 5393 “CDS Company”
Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.
What Learn documents here 8 of 15 Learn pages
- learnBusiness Central Dataverse API Overview2026-09-10
- learnCompany Resource for the Business Central Dataverse API2026-09-10
- learnCreate a Business Central Dataverse API Subscription2026-09-10
- learnCreate a Dataverse Entity Change in Business Central2026-09-10
- learnCustomizing an integration with Microsoft Dataverse2024-10-01
- learnCustomizing option mappings with Microsoft Dataverse2021-04-01
- learnDataverse Entity Change Resource for Business Central2026-09-10
- learnDelete a Business Central Dataverse API Subscription2026-09-10
Show 7 more
- learnGenerate AL Proxy Tables for Dataverse2026-10-07
- learnGet a Company with the Business Central Dataverse API2026-09-10
- learnGet Dataverse Entity Change Details2026-09-10
- learnIntegrate with Microsoft Dataverse via data sync2026-11-17
- learnRetrieve Business Central Dataverse API Subscriptions2026-09-10
- learnSubscription Resource for the Business Central Dataverse API2026-09-10
- learnUpdate a Business Central Dataverse API Subscription2026-09-10