Microsoft.Xrm.Tooling.CrmConnector.PowerShell

3.3.0.889

PowerShell wrapper for CDS CrmServiceClient

Installation Options

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

Install-Module -Name Microsoft.Xrm.Tooling.CrmConnector.PowerShell -RequiredVersion 3.3.0.889

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

Install-PSResource -Name Microsoft.Xrm.Tooling.CrmConnector.PowerShell -Version 3.3.0.889

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

Owners

Copyright

© 2019 Microsoft Corporation. All rights reserved

Package Details

Author(s)

  • Microsoft Common Data Service Team

Cmdlets

Get-CrmConnection Get-CrmOrganizations

Dependencies

This module has no dependencies.

Release Notes


Current Release:

3.3.0.889
Uptaking new CoreSDK release

3.3.0.886:
Uptaking current CDS SDK.

3.3.0.885:
Internal fixes to unify the way in which online and onprem instances were determined from the URI provided.
Added new Static Property on Utilities called IsValidOnlineHost, this takes a URL and determines if it a valid OnLine URI for the CDS Service
Corrected an issue where the AdminAPI URL provided by Get-CrmOrganizations was incorrect.
Fixed a bug Null Object Error that would occur occasionaly during connect when many concurrent connects were run.
This would typically happen if a developer used a Task.Wait behavior to create a stack of connections at once.
Fixed a bug that would prevent logs from being generated even when verbose tracing was enabled.

3.3.0.874:
Added Support for new properties in discovery response.
Added:
Tenant Id - ID of the tenant that the instance resides in
Enviroment Id - ID of the PowerPlatform Envrioment that the instance resides in
UrlName - Host name for the target instance.
Fixed a bug where the second ( or third ) connection string attempt in the same process would cause the client to try to reuse the current connection.
Fixed a bug where the SDK Version Property was not properly returning from the CrmServiceClient

3.3.0.869:
Fixed a bug with how errors are handled when they are raised from ADAL 3.19+.  MFA Force Login will now work properly again.
   Updated default response sizes to support more verbose error messages from CDS

3.3.0.862
ADAL 3.19+ is now required for this library.  ADAL 2.x clients will need to be updated to use ADAL 3.x+
Added Support for Current User ID login when using Online flows with oAuth (Login control/connection string support )
Added Support for ClientID Secret Auth when using oAuth flows. (connection string support )

3.3.0.857
Added support for France and New US Geos
Added new behavior to return the full login error when initial connect fails in LastException.
Fixed https activation issue introduced by .net 4.8. - This should no longer require http activation to be enabled on windows.
Fixed issue where a long running cloned connection loses its access token.

3.3.0.841 - (Nuget-9.0.2.16):
Added native support for handing throttling messages from server.
Fixed issue where a cloned connections token could time out in a way that was not detected.
When failing, this would result in a mid operation Authentication failure reporting something like "Anonymous Access Failed"
Added Support for China Geo
Minor changes to logging of Import Solution Activities

#### VERSION RESET HERE TO NOW FOLLOW BUILD VERSIONS OF THIS MODULE...

NOTE: Notes Below are synced to Nuget Release Found here: https://www.nuget.org/packages/Microsoft.CrmSdk.XrmTooling.CrmConnector.PowerShell/
9.0.2.12
Fixed bug in CrmServiceClient which would cause some OnPrem connections to fail with an error "Item already added to List"
Minor Perf Improvements

9.0.2.11:
Updated to include Fixed version of CrmServiceClient and login control for new US Geo ( US Gov High )

9.0.2.9:
Picked up updated CrmServiceClient (Microsoft.Xrm.Tooling.Connector)

9.0.2.8:
Picked up updated CrmServiceClient (Microsoft.Xrm.Tooling.Connector)

9.0.2.7:
Picked up updated CrmServiceClient (Microsoft.Xrm.Tooling.Connector)

9.0.2.5:
Fixed a bug with using ExecuteCrmWebRequest where SkipDiscovery was also used that would cause the command to fail with a malformed URI error.
Fix to support SSO login, issue manifested as unable to execute a SSO login on second attempt.
Fix to make local metadata cache instance aware,
Issue manifested in a single client process where more then one connection was made to different CDS instances and the metadata helpers were used.  The Metadata would not be instance specific.

Streamlined .Clone support by removing unneeded WhoAmI validation call.
Added new .Clone override to allow a developer to pass an assembly reference to the .Clone method to use when establishing strong types for that connection.
Added additional error log details when a fault is detected


9.0.2.4:
Added support for retrying SDK request if the server throws a retriable errors.
ImportSolutionToCrmAsync –
Returns an AsyncOperation ID that must be polled for solution Import completion or failure.
Note, Async jobs are subject to Async queuing and overhead, thus use this with caution.
DeleteAndPromoteSolutionAsync –
Returns an AsyncOperation ID that must be polled for completion
Note: DeleteAndPromote Async support is not generally available to all regions and versions of the platform.  If this is not available the async job with fail immediately.
Note: Async jobs are subject to Async queuing and overhead, thus use this with caution.

9.0.2.3:
Added new dependencies:
Json.net version 6.0.0.0
Microsoft.Rest.ClientRuntime 3.0.0.0
Added Support for Caller ID using AAD Object ID of caller -
Added new property on CrmServiceClient: CallerAADObjectId
Supported for 8.1 and later.
Added New Method ExecuteCrmWebRequest
This method supports using the XRM WebAPI directly from the CRMServiceClient.
Supports only oAuth and Certificate Auth connection types
Supported for 8.0 and later.
Supports Common request types and supports batch execute.
Added Global Discovery Support for Instance lookup
Global discovery is now used for all lookup, both regional and global (Online Region = Dont Know) when OAuth is used, except where special region rules are required.
Note: Germany and North America 2 are not scanned when Online Region = Dont Know is selected.
Added SkipDiscovery to all connection string variants.
Added Certificate support for constructor variants.
Fixed issue with allowing discovery selection using onPrem and OAuth.
Fixed an issue with older On-Prem ADFS instances that do not require a resource URI.

**Special notes:
Added additional telemetry support to connection requests
This will add the process name of the calling process (if available) to help with troubleshooting and support requests.
Added request IDs to all requests to help with troubleshooting and support requests.
These will appear only when verbose logging is enabled.
               
9.0.0.5: 9.0 Initial Release
9.0.0.3-preview:
Initial release.
To register module, run the RegisterXrmTooling.ps1

FileList

Version History

Version Downloads Last updated
3.3.0.1007 610,184 11/28/2023
3.3.0.1006 38,200 11/8/2023
3.3.0.1003 164,488 7/20/2023
3.3.0.994 90,386 4/21/2023
3.3.0.992 891 4/20/2023
3.3.0.989 31,722 3/13/2023
3.3.0.964 208,497 7/12/2022
3.3.0.928 986,381 4/29/2021
3.3.0.911 130,148 11/18/2020
3.3.0.899 212,050 8/13/2020
3.3.0.897 18,385 7/15/2020
3.3.0.894 25,371 7/1/2020
3.3.0.892 8,742 6/12/2020
3.3.0.891 6,463 6/2/2020
3.3.0.890 22,752 4/20/2020
3.3.0.889 (current version) 197 4/20/2020
3.3.0.887 23,490 3/25/2020
3.3.0.886 570,203 2/11/2020
3.3.0.885 796 2/7/2020
3.3.0.874 10,553 12/18/2019
3.3.0.873 2,858 12/5/2019
3.3.0.869 10,569 10/26/2019
3.3.0.862 128,578 9/12/2019
3.3.0.857 1,845 7/17/2019
3.3.0.834 79,234 2/27/2019
Show less