Skip to content

Releases: seanmcne/Microsoft.Xrm.Data.PowerShell

v2.8.19

15 Nov 15:32
5dfc3ce
Compare
Choose a tag to compare

Changes and enhancements in this release (also published on powershell gallery):

v2.8.14

24 Mar 18:22
d8efb90
Compare
Choose a tag to compare

Fixing Add-CrmSecurityRoleToUser parameter missing

v2.8.13

22 Mar 19:55
5ef0fc5
Compare
Choose a tag to compare

Catching up github with the same release as the gallery.

release 2.8.11 fixing connection timeout parameter

03 Sep 21:10
0d57198
Compare
Choose a tag to compare

fixing bug: connection timeout parameter was not working in 2.8.10

Release v2.8.10

28 Aug 22:01
5ee79a8
Compare
Choose a tag to compare

semi-significant changes to connect-crmonline to take advantage of newer versions of ADAL capabilities. The module should now be capable of re-using cached tokens and signing in as the user who is signed into the PC. All of this should be backwards compatible.
2.8.10 - fixed bug with new-crmrecord identified in #432

2.8.9 Changes to connect-crmonline:

  • Enable new CDS/CRM/D365 region TLD
  • Force oAuth now can either use a credential provided which uses the username/pw in the connection string or it can be used without a credential and will natively use adal to get the username and password.
  • NOTE: the username parameter and no credential provided SSO auth flow are designed for desktop use (interactive). If you are using this in dev ops or in a scripted process you'll still want to use credentials (which will continue to function without updates/changes)
  • To avoid confusion and a couple issues a new username parameter was added, username can be provided with no password and will guide adal on which identity to attempt authentication for. If you are signed in with your current identity which has access to a given tenant it should just 'work' with or without the username.
  • Default to oAuth if the UserName parameter is provided, even if you don't provided the forceoAuth switch, using a username parameter will assume you want to use modern auth
  • New switch parameter BypassTokenCache will null out the token cache path if you're using azure dev ops this switch may be of importance to use to avoid token caching trying to access a path that doesn't exist on the sandboxed build host
  • New integer parameter ConnectionTimeoutInSeconds can now be used to set the connection when you first connect
  • New string parameter LogWriteDirectory can be used to force the module to write logs to a specific directory
  • NOTE: Force discovery will force you to provide a credential, not sure if this is a bug in the connector, but it appears a credential is required, that said, if you're using ForceDiscovery, I suggest dropping it as forcing a discovery upon connecting is redundant and shouldn't be required - if you have a scenario where discovery is required please let me know (i'm considering removing this).
  • Finally, I've added an experimental parameter set where you can provide a custom connection string. Please don't use this unless your debugging, I might change it later and wouldn't want to break anyone. If you require the use of a connection string directly can you let me know why so I can better accommodate? Thanks!

2.8.9 Other changes:

  • Verbose parameter on connect-crmonline will output to a log file now in the local directory
  • changed the object template for crmserviceclient to include the last error - the template is applied to avoid showing the auth token by default and clean up the output when the connection object is returned.

Updated release 2.8.9

25 Aug 18:45
Compare
Choose a tag to compare

semi-significant changes to connect-crmonline to take advantage of newer versions of ADAL capabilities. The module should now be capable of re-using cached tokens and signing in as the user who is signed into the PC. All of this should be backwards compatible.

Changes to connect-crmonline:

  • Enable new CDS/CRM/D365 region TLD
  • Force oAuth now can either use a credential provided which uses the username/pw in the connection string or it can be used without a credential and will natively use adal to get the username and password.
  • NOTE: the username parameter and no credential provided SSO auth flow are designed for desktop use (interactive). If you are using this in dev ops or in a scripted process you'll still want to use credentials (which will continue to function without updates/changes)
  • To avoid confusion and a couple issues a new username parameter was added, username can be provided with no password and will guide adal on which identity to attempt authentication for. If you are signed in with your current identity which has access to a given tenant it should just 'work' with or without the username.
  • Default to oAuth if the UserName parameter is provided, even if you don't provided the forceoAuth switch, using a username parameter will assume you want to use modern auth
  • New switch parameter BypassTokenCache will null out the token cache path if you're using azure dev ops this switch may be of importance to use to avoid token caching trying to access a path that doesn't exist on the sandboxed build host
  • New integer parameter ConnectionTimeoutInSeconds can now be used to set the connection when you first connect
  • New string parameter LogWriteDirectory can be used to force the module to write logs to a specific directory
  • NOTE: Force discovery will force you to provide a credential, not sure if this is a bug in the connector, but it appears a credential is required, that said, if you're using ForceDiscovery, I suggest dropping it as forcing a discovery upon connecting is redundant and shouldn't be required - if you have a scenario where discovery is required please let me know (i'm considering removing this).
  • Finally, I've added an experimental parameter set where you can provide a custom connection string. Please don't use this unless your debugging, I might change it later and wouldn't want to break anyone. If you require the use of a connection string directly can you let me know why so I can better accommodate? Thanks!

Other changes:

  • Verbose parameter on connect-crmonline will output to a log file now in the local directory
  • changed the object template for crmserviceclient to include the last error - the template is applied to avoid showing the auth token by default and clean up the output when the connection object is returned.

ClientSecret and solution publish and library Updates

07 Apr 03:26
5f1c17a
Compare
Choose a tag to compare
  • Add ClientSecret auth to connect-crmonline
  • Updating help file and module parameter list/order for connect cmdlet
  • Added Merge-HoldingSolution function
  • Fixed log issues in Import-CrmSolutionAsync function
  • Resolved other minor log issues to improve code readability

Timeout Change

06 Feb 00:20
0a7d0ed
Compare
Choose a tag to compare

This release includes:

Updated release 2.8.3

31 Jul 10:51
0a7d0ed
Compare
Choose a tag to compare
Updated release 2.8.3 Pre-release
Pre-release

Incremental fixes & improvements

26 Oct 22:26
11d53db
Compare
Choose a tag to compare

Shipping changes:

  • #335 - Added additional system settings
  • #337 / #338 - fix for long time bug with: Get-CRMSystemSettings : Cannot bind argument to parameter 'Name' because it is null.

If you notice any new issues please try a previous version and offer up any relevant details under the issues tab - thanks!