cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BallZer0h
Helper I
Helper I

Migrate data with many to many relationships to new environments

As we are trying to do environment cleanup in our organisation and consolidating different environments, we have ran into an issue where it seems like we cant move data in many to many relationships to a new environment.

1 ACCEPTED SOLUTION

Accepted Solutions

Unfortunately it's not supported yet with Dataflows as stated here: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/cds-odata-dataflows-migrati...

 

The platform offers the SDKs and APIs to custom script/built the import, but not out-of-the-box tools. There are community tools like the one mentioned and Kingswaysoft with SSIS, but alternatively I would recommend if you can, use Power Automate with the CDS current environment connector which allows you to manage N-N relationships with the relate and unrelate actions.

 

You can also submit that idea for Dataflows at: https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

 

Hope this helps...

View solution in original post

3 REPLIES 3
EricRegnier
Super User
Super User

Hi @BallZer0h, what method are you using to perform your data migration? Custom scripts, Dataflows, Power Automate, SSIS, Excel import, etc? You can use this tool from XrmToolBox to import N-N relationships assuming you don't have a lot (<100,000): https://www.xrmtoolbox.com/plugins/Javista.XrmToolBox.ManageNN/

The idea was to use dataflows, but that doesnt seem to support it. Doesnt microsoft have any official tool for these kinds of operations?

Unfortunately it's not supported yet with Dataflows as stated here: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/cds-odata-dataflows-migrati...

 

The platform offers the SDKs and APIs to custom script/built the import, but not out-of-the-box tools. There are community tools like the one mentioned and Kingswaysoft with SSIS, but alternatively I would recommend if you can, use Power Automate with the CDS current environment connector which allows you to manage N-N relationships with the relate and unrelate actions.

 

You can also submit that idea for Dataflows at: https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

 

Hope this helps...

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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,824)