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

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy 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



Import-CrmDataFile Export-CrmDataFile


This module has no dependencies.

Release Notes
Fixed an issue where data import could hang without error
Up-taking fixes for Sovereign cloud discovery connectivity for login controls
Added new optional parameter called PrefetchRecordLimitCount ( defaults to 4000 ) this controls the number of records that are prefetched when doing pre-validation during import.
Fix for an issue where importing business units that included a lookup for their own team (looped back to the entity) would not be populated on update.
Fixed a general issue were related LookUp IDs that were discovered in the target system were not properly linked.
Behavior Change: when using BatchMode, Create will always include the ID of the record from the source system, even if not explicitly included as a field in the exported system.
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 14 8/3/2020 399 7/16/2020 18 7/15/2020 (current version) 2,341 7/3/2020 746 5/19/2020 421 4/28/2020 149 4/23/2020 113 4/20/2020 552 4/3/2020 12,072 1/16/2020 134 12/9/2019 1,880 9/12/2019 121 8/2/2019