This module uses the CRM connection from Microsoft.Xrm.Tooling.CrmConnector.Powershell and provides common functions to create, delete, query, and update data as well as functions for common tasks such as publishing, and manipulating System and CRM User Settings, etc. The module should function for both Dynamics CRM Online and On-Premise environment.

Minimum PowerShell version


Installation Options

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

Install-Module -Name Microsoft.Xrm.Data.Powershell -RequiredVersion 2.5

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


Kenichiro Nakamura, Sean McNellis


(c) 2017 Microsoft Corporation All rights reserved.



Dynamics Xrm CRM


Get-CrmConnection Get-CrmOrganizations




This module has no dependencies.

Release Notes

Upgrade all dlls from 8.1 to 8.2

Added following function.
•Add several private classes.

Updating the following function.
•Get-CrmRecords to auto select parameter for FilterOperator, change several warning message to info level message.
•Set-CrmRecord to accept PrimaryKeyField parameter.
•Import-CrmSolution stabilization changes such as Async operation and error handling.

Fixed following issues
•Fixed issue of Get-CrmRecordsByFetch did not respect count attribute.
•Fixed issue of Get-CrmEntityAttribute didn't check $conn input
•Fixed help detail embed in psm1.

  • Microsoft.Xrm.Data.Powershell.nuspec
  • Microsoft.Crm.Sdk.Proxy.dll
  • Microsoft.IdentityModel.Clients.ActiveDirectory.dll
  • Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll
  • Microsoft.Xrm.Data.PowerShell.Help.pshproj
  • Microsoft.Xrm.Data.PowerShell.Help.xml
  • Microsoft.Xrm.Data.PowerShell.psd1
  • Microsoft.Xrm.Data.PowerShell.psm1
  • Microsoft.Xrm.Data.PowerShell.pssproj
  • Microsoft.Xrm.Sdk.Deployment.dll
  • Microsoft.Xrm.Sdk.dll
  • Microsoft.Xrm.Tooling.Connector.dll
  • Microsoft.Xrm.Tooling.CrmConnectControl.dll
  • Microsoft.Xrm.Tooling.CrmConnector.Powershell.dll
  • Microsoft.Xrm.Tooling.Ui.Styles.dll
  • Microsoft.Xrm.Tooling.WebResourceUtility.dll

Version History

Version Downloads Last updated
2.8.4 17,389 10/31/2019
2.8.3 4,057 10/22/2019 116,547 10/26/2018 6,197 9/17/2018 490 9/13/2018
2.8.0 42,342 5/4/2018
2.7.2 5,075 1/31/2018
2.6 3,499 8/7/2017
2.5 (current version) 1,731 2/5/2017
2.4 1,297 10/6/2016
2.3 359 4/14/2016
2.1 196 1/20/2016
1.8 57 11/18/2015
Show less