Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Sync data to Dataverse - Azure Integrations vs Dataflow

Posted on by 873

Hello everyone,

I have a large contacts data that resides on our SQL DB and I would like to do a daily synchronization from this data directly to dataverse after business hours (for example every night starting at 10:00 PM) so it's not only a one-time migration.

I already have a dataflow that syncs our data from oracle DB to a table in dataverse and the approximate number of records that are synced daily are around 50-60K between Upsert and Insert operations.
The total duration to sync the above-mentioned amount of records took around 45min to 1h.

Please find below my concern regarding the options to sync a large dataset in Dataverse:

Lets say I have 300k contacts in our SQL DB and the first time I am running the dataflow it should create those records on dataverse. The next day the dataflow will run to perform an update for this amount of records, I am assuming that this dataflow will take more than 2 hours to process all the records the 300K or 500K+.

  1. What is the best practice to optimize the performance of the dataflow run to process the records in an efficient time?
  2. When should we consider using Azure Integration with dataverse vs dataflow?
  3. Can Azure integration also sync records from any data source to dataverse?
  4. What might happen if the dataflow has 300K records that should be synced to dataverse with a combination of Upsert/Insert count? I believe that every record is one API call, if so, I have seen that as per the below documentation the max limit is 40k requests per 24 hours (based on the license we have for the user that we will plan to create the dataflow on):
    https://docs.microsoft.com/en-us/power-platform/admin/api-request-limits-allocations#licensed-user-request-limits
  5. How it will impact the dataflow during the run if we exceeded this limit for the user where we have the dataflow on? Shall we purchase additional API limits?

Can please someone advise and provide the answers in detail?

Any help is highly appreciated.

Best regards,
EBMRay

  • Verified answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Sync data to Dataverse - Azure Integrations vs Dataflow

    Hi,

    - Does the Upsert operation is handled by dataflow as a native functionality or is there any configuration needed from our end?

    You will need to use alternate key to perform upsert operation from dataflows. Please see highlighted image below-

    7824.CR54.PNG

    - Regarding the last point, you mean that the records that will not be processed if we exceeded the API limit until the next process run that will happen in another day?

    Yes, you are correct.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • EBMRay Profile Picture
    EBMRay 873 on at
    RE: Sync data to Dataverse - Azure Integrations vs Dataflow

    Hello Bipin Kumar ,

    Thank you so much for providing your answers.

    Please find below my comments:

    - Does the Upsert operation is handled by dataflow as a native functionality or is there any configuration needed from our end?

    - Regarding the last point, you mean that the records that will not be processed if we exceeded the API limit until the next process run that will happen in another day?

    I will let you know if I have any further concerns on this topic.

    Best regards,

    EBMRay

  • Verified answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Sync data to Dataverse - Azure Integrations vs Dataflow

    Hi,

    Please see my comments based on my experience -

    What is the best practice to optimize the performance of the dataflow run to process the records in an efficient time?

    You should use Alternate Key to map Lookup and perform upsert operation. This reduces #number of web service calls.

    When should we consider using Azure Integration with dataverse vs dataflow?

    When you have multiple business logic to be implemented before pushing the data to dataverse.

    Can Azure integration also sync records from any data source to dataverse?

    Yes, You could use Azure data factory to sync data to Dataverse

    What might happen if the dataflow has 300K records that should be synced to dataverse with a combination of Upsert/Insert count? I believe that every record is one API call, if so, I have seen that as per the below documentation the max limit is 40k requests per 24 hours (based on the license we have for the user that we will plan to create the dataflow on):

    docs.microsoft.com/.../api-request-limits-allocations

    I don't have much expertise on this subject so I can not comment on that.

    How it will impact the dataflow during the run if we exceeded this limit for the user where we have the dataflow on? Shall we purchase additional API limits?

    It will wait for next cycle to process those records again.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • EBMRay Profile Picture
    EBMRay 873 on at
    RE: Sync data to Dataverse - Azure Integrations vs Dataflow

    Hello a33ik Bipin Kumar ,

    I would highly appreciate your inputs based on the above queries.

    Best regards,
    EBMRay

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans