Skip to content

Releases: seanmcne/Microsoft.Xrm.Data.PowerShell

Deserialization perf enhancements and assembly update

10 Sep 21:16
Compare
Choose a tag to compare
  • Updated assemblies to use 9.0.2.165
  • Re-wrote the serialization process to create objects faster - noticed roughly a 30% or faster improvement based on the data.
  • fixed a bug with aliased values having values of EntityReference

v2.8.0

04 May 22:45
Compare
Choose a tag to compare

Assembly updates for v9.0.2
Timeout fix #284
HelpFile update

If possible, skip downloading the zip and install the module via:

install-module Microsoft.Xrm.Data.PowerShell -Scope CurrentUser 

v2.7.2 Release

30 Jan 01:42
75bff9a
Compare
Choose a tag to compare
  • TLS 1.2 support
  • new v9 compatible assemblies (9.0.0.7)
  • added oauth support
  • added skip discovery check to support CSP partner logins
  • add a switch to preserve the crmrecord id when passing in a crmRecord object to new-crmrecord
  • updated timeout extension logic to support both oauth and non-oauth auth
  • enhanced email address validation (it was over-restrictive)
  • improved the way we throw back exceptions to contain better data (using lastCrmConnectorException instead)
  • improved set-crmusermailbox
  • fixed a datetime bug in set-crmrecord
  • fixed a syntax bug in get-licensesummary
  • fixed a compat issue with invoke-crmaction

Thanks to everyone who helped contribute via issues & pull requests in this release!

Version 2.6 Release

04 Aug 20:40
Compare
Choose a tag to compare

I marked this as pre-release as there are tons of changes this time. Please let me know if you find any bug, otherwise I will release this in a week.

Include SDK 8.2.2 dlls

Added following function.
•Invoke-CrmAction
•Set-CrmQueueMailBox

Updating the following function.
•Connect-CrmOnline: Add ClinetId option
•Add EntityReference property for retrieved record object
•New-CrmRecord to accept record object
•IncludeNullValue switch for Get-CrmRecord so that null value can be included in the result.
•Add several parameters for Set-CrmUserMailBox.
•Get-CrmUserMailBox to retrieve all fields
•Connect-CrmOnline now accepts the Url without the Http Scheme and will always assume HTTP (only for Online)

Fixed following issues
•Fixed timeout not working
•Fixed export solution timeout result in null
•Removed UseCTP option from Connection cmdlets
•Fix Invoke-CrmRecordWorkflow and allow it to more gracefully handle duplicate names as well as add a parameter set in which the admin can provide the workflowId to execute (rather than the name)
•Fix Set-CrmRecord to property set Lookup to null
•Change Write-Information over to Write-Verbose
•Several help updates

Version 2.5

05 Feb 16:05
Compare
Choose a tag to compare

Upgrade all dlls from 8.1 to 8.2

Added following function.
•Publish-CrmTheme
•Revoke-CrmEmailAddress
•Add several private classes.
•Grant-CrmRecordAccess
•Revoke-CrmRecordAccess
•Set-CrmRecordAccess

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.

Version 2.4

24 Sep 03:53
Compare
Choose a tag to compare

Added following function.
•Set-CrmSolutionVersionNumber to update version number.

Updating the following function.
•Set-CrmRecord to handle null value.
•Set-SystemSettings to handle more options.

Fixed following issues
•Fix Export-CSV loses several columns if first row doesn't have data issue.
•Fix Several typo.
•Fix Get-CrmRecords generates error when specifying Custom Entity and verbose option.

Version 2.3

05 Apr 06:36
Compare
Choose a tag to compare

Added following function.
•Publish-CrmCustomization to publish customization in more granular level.
•Get-CrmCurrentUserId as Alias to Get-MyCrmUserId

Updating the following function.
•Set-CrmRecord to have Upsert switch.
•Set-CrmUserBusinessUnit to make ReassignUserId optional.
•Extract help from psm1

Fixed following issues
•Removed Upsert-CrmRecord as Upsert is not common verb
•Fixed error handling so that it properly generate and throw error as expected.
•Fixed Get-CrmRecords to properly accept last-x-years type of operator
•Fixed Get-CrmEntityAttributeMetadata that didn't return any Attributes.
•Added -Verbose option to Get-CrmConnection
•Fixed the issue that it cannot set null value for fields when update.
•Fixed the issue that Test-CrmViewPerformance didn't work with View parameter.
•Fixed the issue that New/Set-CrmRecord failed when field has certain type such as byte[]

Version 2.2

15 Feb 06:05
Compare
Choose a tag to compare

We merge v2 branch into main branch so that we only have one latest branch as we confirmed v2 has compatibility with v1.

Added following function.
•Upsert-CrmRecord
•Export-CrmEntityRibbonXml
•Export-CrmApplicationRibbonXml

Fixed following issues
•Remove unnecessary ";" for statements.
•Added Guid type handling for New-CrmRecord
•Host version for psd1 from 4.0 to 1.0
•Set-SystemSettings to handle ACT settings correctly..

Version 2.1

28 Dec 01:13
Compare
Choose a tag to compare

Updating the following function.
•Import-CrmSolution for better error handling

Fixed following issues
•Get-MyCrmUserId doesn't work anymore
•Connect-CrmOnPremDiscovery ServerUrl is mandatory even with InteractiveMode switch
•Test-CrmViewPerformance logic is wrong for checking OwnerId

Version 1.10

25 Dec 15:13
Compare
Choose a tag to compare

Updating the following function.
•Import-CrmSolution for better error handling

Fixed following issues
•Get-MyCrmUserId doesn't work anymore
•Connect-CrmOnPremDiscovery ServerUrl is mandatory even with InteractiveMode switch
•Test-CrmViewPerformance logic is wrong for checking OwnerId