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



© 2020 Microsoft Corporation. All rights reserved

Package Details


  • Microsoft Common Data Service Team


Import-CrmDataFile Export-CrmDataFile


This module has no dependencies.

Release Notes
Fixed an issue with the Concurrent connections being used.
Fixed M2M reflexive relationship export
CMT: Corrected an issue with the Teams entity that prevented the AAD Group Object ID imported.
Added support for Updating Dates on insert to shift dates to Day of insert.
Added option to disable telemetry
Added support for inmemory log capture for package deployer and CMT
Corrected an issue that would cause CMT to hang when executing prefetch. this situation was caused by very large record counts in entities that were being prefetched.
Corrected an issue with CMT lookup resolution that would prefer the display name over the ID of the target of the lookup.
Corrected an issue with CMT where a failure to import would occur if, during the decision process for update vs insert, an existing record was not found by ID and the Name field of the record was null
This would only impact default search patterns.  Entities that defined custom searchs would not be impacted.
Fixed an issue with Batch mode import that is caused by invalid guids being hand edited into datafiles.
Fixed an issue where CMT would prefer ID/Name over comparison keys when precaching data for comparison.
Fix in Data import to compensate for Import files created during a window of time where new virtual fields generated by CDS were incorrectly identified as valid fields.
This issue would cause schema validation to fail during import of complex data for some types of attributeOf type fields.
Up-taking fixes for Sovereign cloud discovery connectivity for login controls
Fixed an issue where data import could hang without error
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.ApplicationInsights.dll
  • Microsoft.Bcl.AsyncInterfaces.dll
  • Microsoft.Xrm.Tooling.Dmt.MetadataHandler.dll
  • Microsoft.Crm.Sdk.Proxy.dll
  • Microsoft.Xrm.Tooling.Ui.Styles.dll
  • Microsoft.IdentityModel.Clients.ActiveDirectory.dll
  • Microsoft.Xrm.Tooling.WebResourceUtility.dll
  • Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll
  • Newtonsoft.Json.dll
  • Microsoft.PowerPlatform.Tooling.BatchedTelemetry.dll
  • System.Buffers.dll
  • Microsoft.QualityTools.Testing.Fakes.dll
  • System.Configuration.ConfigurationManager.dll
  • Microsoft.Rest.ClientRuntime.dll
  • System.Diagnostics.DiagnosticSource.dll
  • Microsoft.Xrm.Sdk.Deployment.dll
  • System.IO.FileSystem.Primitives.dll
  • Microsoft.Xrm.Sdk.dll
  • System.IO.Packaging.dll
  • Microsoft.Xrm.Sdk.Workflow.dll
  • System.Management.Automation.dll
  • System.Memory.dll
  • Microsoft.Xrm.Tooling.ConfigurationMigration.dll
  • System.Numerics.Vectors.dll
  • System.Runtime.CompilerServices.Unsafe.dll
  • Microsoft.Xrm.Tooling.ConfigurationMigration.psd1
  • System.Security.AccessControl.dll
  • Microsoft.Xrm.Tooling.ConfigurationMigration.psm1
  • System.Security.Permissions.dll
  • Microsoft.Xrm.Tooling.Connector.dll
  • System.Security.Principal.Windows.dll
  • Microsoft.Xrm.Tooling.CrmConnectControl.dll
  • System.ServiceModel.Primitives.dll
  • Microsoft.Xrm.Tooling.Dmt.DataMigCommon.dll
  • System.Text.Encodings.Web.dll
  • Microsoft.Xrm.Tooling.Dmt.ExportProcessor.dll
  • System.Text.Json.dll
  • Microsoft.Xrm.Tooling.Dmt.ImportProcessor.dll
  • System.Threading.Tasks.Extensions.dll
  • System.ValueTuple.dll

Version History

Version Downloads Last updated 89,264 11/4/2022 (current version) 394,670 11/17/2021 15,447 9/9/2021 6,381 5/21/2021 264,199 8/3/2020 524 7/16/2020 143 7/15/2020 8,724 7/3/2020 903 5/19/2020 545 4/28/2020 272 4/23/2020 235 4/20/2020 669 4/3/2020 31,503 1/16/2020 256 12/9/2019 2,787 9/12/2019 249 8/2/2019
Show more