web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Syncing all data from BusinessCentral to a data lake

(0) ShareShare
ReportReport
Posted on by 5

We're trying to build a data sync from BC into a data lake (in our case, Azure Blob Storage) where we are exporting all attributes of specific entities and storing them in our data lake.  The process is meant to run periodically and do incremental changes, so it only pull records that have been updated since the last sync.  We are doing this by querying against the SystemModifiedAt field.  Our entities are pretty static, but do change sometimes, so if would be nice if the data sync process was able to handle schema drift automatically.

We've currently tried the following approaches:

  • using the native built in BC APIs - this doesn't return all the attributes, especially custom fields that have been added
  • using dataverse - this is in beta for BC and like the native APIs, doesn't support all entities and doesn't return all the attributes
  • using azure data factory with the built in data connector - however, there are some challenges we've run into with this method.  As documented in the second bullet point in the blue box here (https://docs.microsoft.com/en-us/azure/data-factory/connector-dynamics-crm-office-365?tabs=data-factory#dynamics-as-a-source-type), because we are using a query, it samples the data and ends up dropping columns if the data in sampled rows is null for those columns.  This is leading to an incomplete data sync.  We could potentially use a copy without the query, but then we'd have to sync full data sets rather the incrementals.

What we are thinking is that we need to now build a custom query/API in BC and creating our own custom data connector for adf.  However, before we go down that path, does anybody have any other suggestions or methods they have used to sync data from BC into a data lake?

I have the same question (0)
  • MahGah Profile Picture
    15,529 on at
    RE: Syncing all data from BusinessCentral to a data lake

    Hi

    Maybe look into logic of the following app to see if you can find another method or not.

    appsource.microsoft.com/.../PUBID.efoqus-5058796|AID.replicator|PAPPID.18a4d438-88d1-44ee-a38d-3c0ea0d77338

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,045 Moderator on at
    RE: Syncing all data from BusinessCentral to a data lake

    We are in a project to basically do the same thing.

    You should check out this github repo:

    github.com/.../bc2adls

  • 220azrael Profile Picture
    5 on at
    RE: Syncing all data from BusinessCentral to a data lake

    This looks like a promising option.  Thank you very much!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 2,762

#2
Sumit Singh Profile Picture

Sumit Singh 2,573

#3
YUN ZHU Profile Picture

YUN ZHU 1,930 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans