Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

How to migrate data from one Dataverse evironment to another with GUIDs?

Posted on by 130

We need to migrate some data from Prod environment to test keeping the existing record ids.

Please advice how to do it?

Copy prod environment to sandbox doesn't fit our needs because we don't have enough free space..

Power Automate also doesn't allow to copy record id, it just creates new record.

  • Suggested answer
    Gino De Vita Profile Picture
    Gino De Vita 5 on at
    RE: How to migrate data from one Dataverse evironment to another with GUIDs?

    There is a tool within the XRMTOOLBOX collection that I've used on many occasions, "Data Transporter", it is quick and easy to use, simply connect to the source and target instances and you will be shown a list of tables from source.

    In it's most basic use you just select the table and hit the transfer button, it has options to Create, Update and Delete records in the target table it uses the GUID as the primary reference for matching. If you only want to transfer specific records then you can provide a FetchXML filter, I use Advanced Find to build my query, then export the FetchXML and copy/paste the filter section into Data Transporter. You can also choose to not transfer specific columns if you are having dependency issues.

    You need to understand your data hierarchy so that you are transferring data in the correct sequence, e.g. Accounts, then Contacts, then other related tables.

    I use it mainly for moving reference/configuration data from DEV to UAT and PROD to ensure my reference tables are all using the same GUIDS, useful if referencing specific records in processes / Business Rules.

    It has recently had a new feature added called "Playlists", I've not had a need to use this yet, but it looks like it allows you to create a list of transfers to execute in sequence and then be able re-use again in the future.

    www.xrmtoolbox.com/.../

  • Rick Basten Profile Picture
    Rick Basten 45 on at
    RE: How to migrate data from one Dataverse evironment to another with GUIDs?

    I am using ssis with kingswaysoft. data migration tooling in the sdk can do the job as well.

  • Suggested answer
    Timothy Bohte Profile Picture
    Timothy Bohte 2 on at
    RE: How to migrate data from one Dataverse evironment to another with GUIDs?

    You can use the CDS Configuration Migration tool of Microsoft. With this tool you can completely import all records of one or more tables including the guids. More info here:

    https://docs.microsoft.com/en-us/power-platform/admin/manage-configuration-data

    If you don't want all of the records you can either remove them from the downloaded file or remove them afterwards in your test environment.

  • Suggested answer
    Mansoor Sulaiman Profile Picture
    Mansoor Sulaiman 4,330 on at
    RE: How to migrate data from one Dataverse evironment to another with GUIDs?

    Hi,

    You can export data in excel and import it to your target environment. Please note that you need to import the data in an order that will not have a dependency. For example, first, you need to import account data then proceed with contact like that. Since the account is a lookup in contact. In the same way, you can import your custom table data.

    Regards,

    Mansoor

  • empath-e CRM Profile Picture
    empath-e CRM 1,134 on at
    RE: How to migrate data from one Dataverse evironment to another with GUIDs?

    What tool are you using to import the data?

  • scr1pt Profile Picture
    scr1pt 130 on at
    RE: How to migrate data from one Dataverse evironment to another with GUIDs?

    Yes, I tried this way, but the data is not imported because of missing dependencies.

    Let's simplify the issue and suppose that I want to migrate account, contacts and some custom related entities.

    The are about 5000+ records for each entity that need to be migrated

  • empath-e CRM Profile Picture
    empath-e CRM 1,134 on at
    RE: How to migrate data from one Dataverse evironment to another with GUIDs?

    Without knowing full details on what your plan is with the data can you not just export the table(s) you need to Excel as this will contain all table columns/data

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans