Microsoft.Xrm.Data.Powershell

2.8.11

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

4.0

Installation Options

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

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

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

Author(s)

Sean McNellis Kenichiro Nakamura

Copyright

(c) 2020 Microsoft Corporation All rights reserved.

Owners

Tags

Dynamics Xrm CRM Dynamics365 PowerApps CDS CommonDataService PowerPlatform

Cmdlets

Get-CrmConnection Get-CrmOrganizations

Functions

*-*

Dependencies

This module has no dependencies.

Release Notes


Lots of changes and enhancements to auth in this release:
- Updated to attempting SSO with oAuth by default
- Added an option for username to "hint" your username for SSO/browser based auth, if you get an immediate failure on connecting via oAuth (locally) try adding a username hint to help
- If you are logged into a managed pc by your org you should be able to use -forceoAuth and the serverurl without any other arguemnts to login and use your current users credentials
- Older auth methods continue to function as-is
- Removed requirement for redirecturi on clientsecret as it is not technically required
- redirected verbose connector output into a local file when -verbose is used with connect-crmonline
- Added option for debugging connections using a provided connectionstring - please only use this for debugging for now. NOTE: If you use this please let me know how you are using it.
- source for connector: https://www.powershellgallery.com/packages/Microsoft.Xrm.Tooling.CrmConnector.PowerShell/
Including newer xrm tooling which has the following improvements:
- 3.3.0.899 Added initial support for in memory log capture support.
- 3.3.0.897 Fixed an issue with sovereign cloud discovery reference data that would prevent a login control from picking the correct global discovery server when connecting.
- 3.3.0.891 Fixed an error where discovery would be used when using AD and IFD to connect to onpremise even if connection strings where used.
- 3.3.0.890 Fixed an error where timeout property was not properly assigned when using Non-oAuth types
- 3.3.0.890 Fixed an error with setting CallerId when ClientSecret Auth type is used.  

Version History

Version Downloads Last updated
2.8.11 (current version) 66,874 9/3/2020
2.8.10 4,026 8/28/2020
2.8.9 5,088 8/25/2020
2.8.8 119,272 4/7/2020
2.8.7 176,688 2/6/2020
2.8.5 24,973 12/13/2019
2.8.4 22,208 10/31/2019
2.8.3 4,070 10/22/2019
2.8.1.3 145,818 10/26/2018
2.8.1.2 6,255 9/17/2018
2.8.1.1 499 9/13/2018
2.8.0 43,848 5/4/2018
2.7.2 5,275 1/31/2018
2.6 3,527 8/7/2017
2.5 1,773 2/5/2017
2.4 1,316 10/6/2016
2.3 365 4/14/2016
2.1 202 1/20/2016
1.8 67 11/18/2015