PowerShell Module for Microsoft Dynamics CRM Configuration Migration Utility

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Microsoft.Xrm.Tooling.ConfigurationMigration -RequiredVersion

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Microsoft.Xrm.Tooling.ConfigurationMigration -Version

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Microsoft Common Data Service Team


© 2020 Microsoft Corporation. All rights reserved

Package Details



Import-CrmDataFile Export-CrmDataFile


This module has no dependencies.

Release Notes
Fix for an issue reported where related objects were not being correctly identified by name and thus not correctly linked to importing records
This only impacted imports where the related entity did not have comparison keys
Fix for Entity model changes in CDS to support filtering out non importable fields introduced by new entity types.
Fix for a fail to import bug that can occur if an incoming data file has either a state or status code but not both
Fix for a non-failing data error that can occur when creating pre-parse data for import.
Fix for activating Duplicate Detection rules properly post when present.
Speculative fix for Concurrency issue with Batch and Threaded Mode import.
Modified threaded import to improve performance and throughput.
Fixed a bug where status of a record would not be updated for records in an active state.
Fixed a bug in batch mode when the client is provided only 1 connection to work with.
Optimized updates for state/status events to prevent unnecessary updates to Cds. (only affects version 9.0 +)
Reduced chattiness of logs, logs will now only emit once for the same type per thread.
Fixed an issue preventing logs from being generated correctly,  Logs should once again write to the log directory
Added new cmdlet switch called EmitLogToConsole.  When set, the log will be written to the console of the powershell session in addition to logs.  Intended to used in conjunction with the -verbose parameter
Increased default timeout for Export-CrmData cmdlet.
Added 2 new parameters to Import-CrmData
EnabledBatchMode – instructs CMT to import into CDS using batches ( default size of 600 records ).  Note this does work in conjunction with multiple connections,  thus 2 connections creates 2 batches of 600 records.
BatchSize -  Allows you to override the default batch size ( 600 records ).  
Fixed a bug with pre-processing in CMT that would cause the system to runout of memory when importing to entities that had large numbers of records.
   Inital release for Configuration Migration Tool Powershell.


  • Microsoft.Xrm.Tooling.ConfigurationMigration.nuspec
  • Microsoft.Crm.Sdk.Proxy.dll
  • Microsoft.IdentityModel.Clients.ActiveDirectory.dll
  • Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll
  • Microsoft.QualityTools.Testing.Fakes.dll
  • Microsoft.Rest.ClientRuntime.dll
  • Microsoft.Xrm.Sdk.Deployment.dll
  • Microsoft.Xrm.Sdk.dll
  • Microsoft.Xrm.Sdk.Workflow.dll
  • Microsoft.Xrm.Tooling.ConfigurationMigration.dll
  • Microsoft.Xrm.Tooling.ConfigurationMigration.psd1
  • Microsoft.Xrm.Tooling.ConfigurationMigration.psm1
  • Microsoft.Xrm.Tooling.Connector.dll
  • Microsoft.Xrm.Tooling.CrmConnectControl.dll
  • Microsoft.Xrm.Tooling.Dmt.DataMigCommon.dll
  • Microsoft.Xrm.Tooling.Dmt.ExportProcessor.dll
  • Microsoft.Xrm.Tooling.Dmt.ImportProcessor.dll
  • Microsoft.Xrm.Tooling.Dmt.MetadataHandler.dll
  • Microsoft.Xrm.Tooling.Ui.Styles.dll
  • Microsoft.Xrm.Tooling.WebResourceUtility.dll
  • Newtonsoft.Json.dll
  • System.Management.Automation.dll

Version History

Version Downloads Last updated 52,390 11/4/2022 314,247 11/17/2021 10,212 9/9/2021 6,376 5/21/2021 244,585 8/3/2020 522 7/16/2020 141 7/15/2020 8,577 7/3/2020 (current version) 901 5/19/2020 542 4/28/2020 270 4/23/2020 233 4/20/2020 667 4/3/2020 30,043 1/16/2020 254 12/9/2019 2,785 9/12/2019 247 8/2/2019
Show less