Search code examples
dynamics-crmmicrosoft-dynamicsdynamics-365power-automate

Microsoft Dynamics 365 bulk update/import via Microsoft Flow


Is there a way to perform a bulk update from an CSV file into Dynamics 365 via Microsoft Flow?

I have been looking at the following capability that was supposed to be released (September 2019), but could find the "Batch" action anywhere under common data service:

Automated flows support batch operations in Common Data Service

Release notes:

What's new and planned for Microsoft Flow

enter image description here

enter image description here

However, I was hoping there is an alternative that could even possibly leverage some bulk update task in the mean time.

The requirement is that I would like to perform a bulk update of records once a day, updating/inserting as needed.


Solution

  • ETL job for Dynamics 365 is huge deal, we have third party providers like Kingswaysoft for SSIS, Scribe, Cozyroc, etc to furnish the necessary connector versions along with rapidly changing CRM endpoints. They support batch operations, multi threading using RESTful web api as well.

    Pro developers will do console app & do task schedulers for the same ETL job. Now we want to do the same in MS Flow (Power Automate), surprisingly the links you shared were removed for the trace of those terminologies. Impossible?

    We can do read the CSV file & iterate the rows, then transform the values for the datatypes like currency, picklist (optionset), lookup, and finally update/create in Dynamics 365 as per our need.

    Microsoft Flow: CSV Integration with Dynamics 365 (Example)

    Yes, this is not batch operation, but CRM REST web api endpoint supports batch operation, I know to use it only using C# and JavaScript :)