Skip to main content

Notifications

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?

  • 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!

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,021 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

  • MahGah Profile Picture
    15,437 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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,120 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans