web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Using Dataverse with OData Connection to copy Accounts with Parent Accounts

(0) ShareShare
ReportReport
Posted on by 15

I am trying to migrate data from one Dynamics 365 instance into another, that has the same tables.

We have Accounts, and an Account may or may not have a Parent Account association. I've gone through and tried to use dataflows with an OData connection. This loads a table with the ParentAccountID column that has a link to a record. I then proceed to the mappings, but I don't see any way to map a field to the ParentAccountID column. I've created an alternate key in both CRM environments for the Account record, using the same columns to generate this key. I am able to see the destination field for this new key that I created, but I still don't have a way to hook that to the source field ParentAccountID.

Does anyone have any idea how I can map over these Accounts and make sure they have the proper Parent Account association?

Thanks

I have the same question (0)
  • Suggested answer
    Ragnar Hilmarsson Profile Picture
    3,427 on at

    Hi

    If i understand you issue:

    I think you need to do it in two steps, first copy account with parentaccountid = null

    then copy account with parentaccountid.  

  • Jerimiah Profile Picture
    15 on at

    Unfortunately I can't do any filtering using the parentaccountid column because it links to a record.

    pastedimage1636662427809v1.png

    I can't seem to get the Dataflow to recognize that as a field I want to populate with a lookup.

  • Suggested answer
    Jerimiah Profile Picture
    15 on at

    I was able to figure this out by expanding the ParentAccountID column in Power Query. This allowed me to map the alternate key values to the fields under the ParentAccountID Record.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 89

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 51 Super User 2026 Season 1

#3
sannavajjala87 Profile Picture

sannavajjala87 29

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans