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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Importing data using command line using DataMigrationUtility.exe

(0) ShareShare
ReportReport
Posted on by

Hello,

I am using Configuration Migration tool to migrate data between CRM environments. This tool works great but so far all the migrations has been a manual effort. Is it possible to use command line/power shell to automatically migrate data. I can export the data manually but aleast the import needs to be automated. Is there a way to feed the org name, credentials, data.zip and trigger the import process?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    hicham Profile Picture
    215 on at

    you can use command line to run package deployer which can internaly use the data migration tool to migrate data.

     https://docs.microsoft.com/en-us/dynamics365/customer-engagement/admin/deploy-packages-using-package-deployer-windows-powershell

  • JasonMcneil Profile Picture
    215 on at

    Anything available for extracting the data via command line? We're looking to automate this part of our build process (primarily for portals data)

  • abvogel Profile Picture
    150 on at

    You can use the below linked library to export data via command line:

    https://github.com/abvogel/Microsoft.Xrm.DevOps.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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans