I have a need to regularly import files into Dynamics (at least 4-5 times a day). I would use the standard "add a row" connector on Dataverse, however there will be a large number of duplicates in each file, so it is time consuming to deduplicate in Power Automate - as creating via Power Automate appears to bypass all duplicate detection rules that are normally applied when importing.
I'd quite like to automate this, but don't have the capability with C# to write a plugin that does it (and I want to work with sharepoint as a source), so was considering Power Automate.
I have set up a flow that does:
- Create Data Import (import) record
- Create Import Source File (importfile) record with the source file from a Sharepoint source (as comma separated values)
- Initiate a ParseImport action using the importid
- Wait for the parse to complete (monitor the System Jobs table)
- Initiate a TransformImport action using the importid
- Wait for the transform to complete (monitor the System Jobs table)
- Initiate an ImportRecordsImport action using the importid
This however fails to complete the import, and I can't find anywhere to look at logs for why it is failing.
Each of the three system jobs succeed (as they would with a normal import), and the importfile record shows the correct number of rows, headers etc (so appears to be parsed correctly).
I suspect my issue stems from missing a key parameter or step in this process - can anyone advise? Or suggest an alternative (free) option? My source data is fairly flexible in storage location/format.