Showing results for 
Search instead for 
Did you mean: 
Advocate III
Advocate III

Linking Contacts to Accounts during CDS Dataflow Import



I am trying to import a List of Employers (Account) and Employees (Contact) into CDS from an SQL Database.


I want to link the contacts to their account during the import process and note that there is a 'ParentCusomer ID' field available for mapping however when I attempt to use either the previously imported Account Name or Account GUID the data flow returns an error.


Is there a way to accomplish the linking of contacts to accounts during a data flow import?


Thanks in advance

Community Support
Community Support

Hi @AInglis ,

Do you want to link the Contacts Entity and Accounts Entity during importing data from SQL Table into CDS Entity using Dataflow?


If you want to link the Contacts Entity and Accounts Entity during importing data from SQL Table into CDS Entity using Dataflow, I afraid that there is no way to achieve your needs in PowerApps currently.


If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Super User II
Super User II

Hi @AInglis 

Don't despair, despite what was posted above, it may not be possible to do it in the Dataflow.  However, it can be done using the Dynamics 365 import wizard. These settings can be found in the Power Platform Admin center by going to Environments > [select an environment] > Settings > Data management > Data import wizard.  Please see and

There are a number of good blog posts regarding the use of this wizard and I can report that I have successfully imported data  from thousands of records into CDS using it. The key is to use a Lookup field in the map.  It took some experimentation to finally get it right.  There is another useful Bulk delete option in Data management and part of the Import wizard allows you to edit the failures and reimport them. Note that there is a limitation on the number of records that can be imported. The documentation suggests limiting the number to 20k at a time. The maximum file size for .zip files is 32MB and 8MB for the other formats.

Advocate III
Advocate III

@v-xida-msft  As suggested I have opened an Idea Post here


@Drrickryp  Thanks for the suggestion, I will look into this option.

However from a quick look it lacks the ability to directly connect to an SQL datasource and can't be scheduled, which would make it very manual to use for keeping my CDS contacts up to date once the initial import is performed.


Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,169)