---
id: post/yzhums-com/64775
type: post
title: "Dynamics 365 Business Central: Integrate with Microsoft Dataverse via APIs (Not using the standard Dataverse connector)"
summary: This post demonstrates how to integrate Dynamics 365 Business Central with Microsoft Dataverse using direct REST APIs instead of the standard connector. It provides step-by-step guidance on authenticating with OAuth 2.0 and implementing GET, POST, PATCH, and DELETE operations to synchronize data between Business Central and Dataverse tables.
tier: community
language: en
tags:
  - dataverse integration
  - rest apis
  - oauth 2.0
  - custom tables
  - data synchronization
  - al development
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-26T06:42:40.221Z"
  flags: []
generated:
  at: "2026-10-26T05:51:10.938Z"
  pipeline: 0.2.0
  prompts:
    extract-post: 1
  input_hash: a5edc1778746b33b23aa67f3306e25d22e292cd12c084f60912aaab05ddb2df9
evidence:
  - kind: blog
    url: https://yzhums.com/64775/
    title: "Dynamics 365 Business Central: Integrate with Microsoft Dataverse via APIs (Not using the standard Dataverse connector)"
    date: "2025-06-04"
    commit: null
    t: null
    quote: null
  - kind: blog
    url: https://yzhums.com/64775/
    title: "Dynamics 365 Business Central: Integrate with Microsoft Dataverse via APIs (Not using the standard Dataverse connector)"
    date: "2025-06-04"
    commit: null
    t: null
    quote: Using this way, users do not need a Dataverse license and can achieve real-time synchronization.
  - kind: blog
    url: https://yzhums.com/64775/
    title: "Dynamics 365 Business Central: Integrate with Microsoft Dataverse via APIs (Not using the standard Dataverse connector)"
    date: "2025-06-04"
    commit: null
    t: null
    quote: This requires setting the DelayedInsert property of the page to true
  - kind: blog
    url: https://yzhums.com/64775/
    title: "Dynamics 365 Business Central: Integrate with Microsoft Dataverse via APIs (Not using the standard Dataverse connector)"
    date: "2025-06-04"
    commit: null
    t: null
    quote: The disadvantage is that each synchronized table needs to be customized.
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
post_id: "64775"
source_id: yzhums-com
source_name: Dynamics 365 Lab - Yun Zhu
url: https://yzhums.com/64775/
published_at: "2025-06-04T01:39:08.000Z"
author: Yun Zhu
full_text: false
words: 993
quotes:
  - text: Using this way, users do not need a Dataverse license and can achieve real-time synchronization.
    why_it_matters: This is the main advantage of this approach over standard connectors, making it cost-effective for organizations that need Dataverse integration without additional licensing.
  - text: This requires setting the DelayedInsert property of the page to true
    why_it_matters: This technical detail is critical to ensure the Guid returned from Dataverse can be used as a primary key when inserting data into Business Central.
  - text: The disadvantage is that each synchronized table needs to be customized.
    why_it_matters: This acknowledges the trade-off of using direct APIs versus standard connectors, helping developers make informed decisions about which approach suits their needs.
code_objects_mentioned:
  - codeunit 501
systems:
  - integration
  - development
versions_mentioned:
  - BC24
  - BC26
cautions:
  - kind: gotcha
    quote: "If the Prefer header is not added, the following error will occur: The data does not represent a valid JSON token."
    objects: []
    events: []
    versions: []
  - kind: gotcha
    quote: 'If you forget to do this, the following error will be displayed: 400 {"error":{"code":"0x80060888","message":"Bad Request – Error in query syntax."}}'
    objects: []
    events: []
    versions: []
  - kind: gotcha
    quote: Because there is no way to return a value after deleting data, do not try to read the response text after deleting it.
    objects: []
    events: []
    versions: []
  - kind: warning
    quote: This requires setting the DelayedInsert property of the page to true
    objects:
      - type: page
        name: DelayedInsert property
    events: []
    versions: []
preview:
  embeddable: true
  frame_url: null
  image: https://yzhums.com/wp-content/uploads/2025/06/Snipaste_2025-06-03_14-51-45.png
  image_alt: null
  image_w: null
  image_h: null
  site_name: Dynamics 365 Lab
  favicon: https://yzhums.com/wp-content/uploads/2020/08/cropped-logo-3-32x32.png
  probed_at: "2026-10-26T06:19:41.962Z"
---

# Dynamics 365 Business Central: Integrate with Microsoft Dataverse via APIs (Not using the standard Dataverse connector)

[Read the post](https://yzhums.com/64775/) · Dynamics 365 Lab - Yun Zhu (Yun Zhu, MVP) · 2025-06-04 · 993 words · tier community · reviewed (checked by Opus)

> This post demonstrates how to integrate Dynamics 365 Business Central with Microsoft Dataverse using direct REST APIs instead of the standard connector. It provides step-by-step guidance on authenticating with OAuth 2.0 and implementing GET, POST, PATCH, and DELETE operations to synchronize data between Business Central and Dataverse tables.

## Key points

- Use OAuth 2.0 with Client Credentials grant type to authenticate with Dataverse APIs before performing any operations
- Create custom tables in Business Central to store Dataverse data, using Guid fields as primary keys for proper association
- Implement CRUD operations (Get, Insert, Update, Delete) using specific API endpoints and handling response headers like Prefer: return=representation
- This approach doesn't require Dataverse licenses but requires custom development for each synchronized table

## Quotes

- "Using this way, users do not need a Dataverse license and can achieve real-time synchronization." (This is the main advantage of this approach over standard connectors, making it cost-effective for organizations that need Dataverse integration without additional licensing.)
- "This requires setting the DelayedInsert property of the page to true" (This technical detail is critical to ensure the Guid returned from Dataverse can be used as a primary key when inserting data into Business Central.)
- "The disadvantage is that each synchronized table needs to be customized." (This acknowledges the trade-off of using direct APIs versus standard connectors, helping developers make informed decisions about which approach suits their needs.)

## AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

- codeunit "501"

Not found in BC28-30: codeunit "501".

## Heads up

- gotcha: "If the Prefer header is not added, the following error will occur: The data does not represent a valid JSON token."
- gotcha: "If you forget to do this, the following error will be displayed: 400 {"error":{"code":"0x80060888","message":"Bad Request – Error in query syntax."}}"
- gotcha: "Because there is no way to return a value after deleting data, do not try to read the response text after deleting it."
- warning: "This requires setting the DelayedInsert property of the page to true" (about page DelayedInsert property)

## Context

- Features: Dataverse API integration, OAuth 2.0 authentication, GET operation for reading Dataverse data, POST operation for inserting data, PATCH operation for updating data, DELETE operation for removing data, Table synchronization, Custom table creation
- Versions: BC24, BC26

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.
