Isystem.PowerShell.PowerPlatform.Dataverse

1.5.0

Session-based cmdlets for Microsoft Dataverse (Power Platform, Dynamics 365): CRUD, upsert by alternate key, batches, transactions, FetchXML and paging. Authenticates with connection string, client secret, certificate, managed identity, Isystem.AzAuth modes, or a delegated user sign-in whose token cache the caller stores (Key Vault) for environments without applicatio
Session-based cmdlets for Microsoft Dataverse (Power Platform, Dynamics 365): CRUD, upsert by alternate key, batches, transactions, FetchXML and paging. Authenticates with connection string, client secret, certificate, managed identity, Isystem.AzAuth modes, or a delegated user sign-in whose token cache the caller stores (Key Vault) for environments without application users.
Show more

Minimum PowerShell version

7.5

Installation Options

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

Install-Module -Name Isystem.PowerShell.PowerPlatform.Dataverse -RequiredVersion 1.5.0

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

Install-PSResource -Name Isystem.PowerShell.PowerPlatform.Dataverse -Version 1.5.0

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

(c) Isystem. All rights reserved.

Package Details

Author(s)

  • Ondrej Kracmar

Tags

Dataverse PowerPlatform Dynamics365 CRM PowerApps Upsert Windows Linux MacOS

Cmdlets

Connect-PSDataverse Disconnect-PSDataverse Get-PSDataverseConnection Get-PSDataverseRecord Get-PSDataverseRecordCount Get-PSDataverseTable Get-PSDataverseColumn Get-PSDataverseKey New-PSDataverseTable New-PSDataverseColumn New-PSDataverseKey New-PSDataverseLookup Enable-PSDataverseKey Remove-PSDataverseKey ConvertTo-PSDataverseObject Find-PSDataverseRecord Test-PSDataverseRecord New-PSDataverseRecord Set-PSDataverseRecord Remove-PSDataverseRecord Invoke-PSDataverseBatch Invoke-PSDataverseTransaction Invoke-PSDataverseFetchXml Get-PSDataverseTokenCache

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

## [1.5.0] - 2026-10-02

### Added

- `Remove-PSDataverseKey` deletes an alternate key, and `Enable-PSDataverseKey` asks Dataverse to
 build its unique index again. Both exist because of a trap that cost a production afternoon: the
 index behind an alternate key is a unique index, so a column holding more than one blank cannot
 carry one. Create the key before the column is populated - 16,824 rows with nothing in the new
 column - and the key is created, never activates, and every upsert through it fails with a message
 that never mentions the index. On Dataverse for Teams the maker portal does not show alternate
 keys at all, so there was no way to clear or rebuild the key from anywhere. The order that works
 is column, data, key.
- `Enable-PSDataverseKey -Wait` polls until the index reports Active, because the rebuild is
 asynchronous just as the first attempt was. An index reporting `Failed` is raised as an error
 straight away instead of being waited on: Failed means the rows are wrong, and waiting will not
 change them.
- The index status is read with `RetrieveEntityKeyRequest`, one key at a time. Reading the table and
 picking the key out of its metadata - what `Get-PSDataverseKey` does - returns no keys at all on
 this offering, which is why the status was unreadable until now.

### Fixed

- `build/Update-MamlSyntax.ps1` dropped `-WhatIf` and `-Confirm` from the generated parameter
 entries. `Help.Tests.ps1` excludes only the twelve true common parameters, so every new cmdlet
 supporting `ShouldProcess` failed four help tests - as `-UseWebApi` did in 1.4.0. The generator
 emits both now, and the module tests cover every cmdlet the manifest promises instead of counting
 them, so a cmdlet left out of `CmdletsToExport` fails a test rather than shipping uncallable.

FileList

  • Isystem.PowerShell.PowerPlatform.Dataverse.nuspec
  • CHANGELOG.md
  • Isystem.PowerShell.PowerPlatform.Dataverse.Format.ps1xml
  • Isystem.PowerShell.PowerPlatform.Dataverse.psd1
  • Isystem.PowerShell.PowerPlatform.Dataverse.psm1
  • LICENSE
  • README.md
  • bin\net10.0\Azure.Core.dll
  • bin\net10.0\Azure.Identity.Broker.dll
  • bin\net10.0\Azure.Identity.dll
  • bin\net10.0\Isystem.AzAuth.Core.dll
  • bin\net10.0\Isystem.PowerShell.PowerPlatform.Dataverse.dll
  • bin\net10.0\Isystem.PowerShell.PowerPlatform.Dataverse.pdb
  • bin\net10.0\Isystem.Shared.Infrastructure.Core.dll
  • bin\net10.0\Isystem.Shared.Infrastructure.PowerPlatform.Dataverse.dll
  • bin\net10.0\Microsoft.Bcl.AsyncInterfaces.dll
  • bin\net10.0\Microsoft.Crm.Sdk.Proxy.dll
  • bin\net10.0\Microsoft.Extensions.Caching.Abstractions.dll
  • bin\net10.0\Microsoft.Extensions.Caching.Memory.dll
  • bin\net10.0\Microsoft.Extensions.Configuration.Abstractions.dll
  • bin\net10.0\Microsoft.Extensions.Configuration.Binder.dll
  • bin\net10.0\Microsoft.Extensions.Configuration.dll
  • bin\net10.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll
  • bin\net10.0\Microsoft.Extensions.DependencyInjection.dll
  • bin\net10.0\Microsoft.Extensions.Diagnostics.Abstractions.dll
  • bin\net10.0\Microsoft.Extensions.FileProviders.Abstractions.dll
  • bin\net10.0\Microsoft.Extensions.Hosting.Abstractions.dll
  • bin\net10.0\Microsoft.Extensions.Http.dll
  • bin\net10.0\Microsoft.Extensions.Logging.Abstractions.dll
  • bin\net10.0\Microsoft.Extensions.Logging.dll
  • bin\net10.0\Microsoft.Extensions.ObjectPool.dll
  • bin\net10.0\Microsoft.Extensions.Options.dll
  • bin\net10.0\Microsoft.Extensions.Primitives.dll
  • bin\net10.0\Microsoft.Identity.Client.Broker.dll
  • bin\net10.0\Microsoft.Identity.Client.Extensions.Msal.dll
  • bin\net10.0\Microsoft.Identity.Client.NativeInterop.dll
  • bin\net10.0\Microsoft.Identity.Client.dll
  • bin\net10.0\Microsoft.IdentityModel.Abstractions.dll
  • bin\net10.0\Microsoft.IdentityModel.JsonWebTokens.dll
  • bin\net10.0\Microsoft.IdentityModel.Logging.dll
  • bin\net10.0\Microsoft.IdentityModel.Tokens.dll
  • bin\net10.0\Microsoft.PowerPlatform.Dataverse.Client.dll
  • bin\net10.0\Microsoft.VisualStudio.Threading.dll
  • bin\net10.0\Microsoft.VisualStudio.Validation.dll
  • bin\net10.0\Microsoft.Xrm.Sdk.dll
  • bin\net10.0\Newtonsoft.Json.dll
  • bin\net10.0\System.ClientModel.dll
  • bin\net10.0\System.Configuration.ConfigurationManager.dll
  • bin\net10.0\System.Diagnostics.EventLog.dll
  • bin\net10.0\System.IdentityModel.Tokens.Jwt.dll
  • bin\net10.0\System.Memory.Data.dll
  • bin\net10.0\System.Runtime.Caching.dll
  • bin\net10.0\System.Security.Cryptography.Pkcs.dll
  • bin\net10.0\System.Security.Cryptography.ProtectedData.dll
  • bin\net10.0\System.Security.Cryptography.Xml.dll
  • bin\net10.0\System.Security.Permissions.dll
  • bin\net10.0\System.ServiceModel.Duplex.dll
  • bin\net10.0\System.ServiceModel.Http.dll
  • bin\net10.0\System.ServiceModel.Primitives.dll
  • bin\net10.0\System.ServiceModel.Security.dll
  • bin\net10.0\System.ServiceModel.dll
  • bin\net10.0\System.Windows.Extensions.dll
  • bin\net9.0\Azure.Core.dll
  • bin\net9.0\Azure.Identity.Broker.dll
  • bin\net9.0\Azure.Identity.dll
  • bin\net9.0\Isystem.AzAuth.Core.dll
  • bin\net9.0\Isystem.PowerShell.PowerPlatform.Dataverse.dll
  • bin\net9.0\Isystem.PowerShell.PowerPlatform.Dataverse.pdb
  • bin\net9.0\Isystem.Shared.Infrastructure.Core.dll
  • bin\net9.0\Isystem.Shared.Infrastructure.PowerPlatform.Dataverse.dll
  • bin\net9.0\Microsoft.Bcl.AsyncInterfaces.dll
  • bin\net9.0\Microsoft.Crm.Sdk.Proxy.dll
  • bin\net9.0\Microsoft.Extensions.Caching.Abstractions.dll
  • bin\net9.0\Microsoft.Extensions.Caching.Memory.dll
  • bin\net9.0\Microsoft.Extensions.Configuration.Abstractions.dll
  • bin\net9.0\Microsoft.Extensions.Configuration.Binder.dll
  • bin\net9.0\Microsoft.Extensions.Configuration.dll
  • bin\net9.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll
  • bin\net9.0\Microsoft.Extensions.DependencyInjection.dll
  • bin\net9.0\Microsoft.Extensions.Diagnostics.Abstractions.dll
  • bin\net9.0\Microsoft.Extensions.FileProviders.Abstractions.dll
  • bin\net9.0\Microsoft.Extensions.Hosting.Abstractions.dll
  • bin\net9.0\Microsoft.Extensions.Http.dll
  • bin\net9.0\Microsoft.Extensions.Logging.Abstractions.dll
  • bin\net9.0\Microsoft.Extensions.Logging.dll
  • bin\net9.0\Microsoft.Extensions.ObjectPool.dll
  • bin\net9.0\Microsoft.Extensions.Options.dll
  • bin\net9.0\Microsoft.Extensions.Primitives.dll
  • bin\net9.0\Microsoft.Identity.Client.Broker.dll
  • bin\net9.0\Microsoft.Identity.Client.Extensions.Msal.dll
  • bin\net9.0\Microsoft.Identity.Client.NativeInterop.dll
  • bin\net9.0\Microsoft.Identity.Client.dll
  • bin\net9.0\Microsoft.IdentityModel.Abstractions.dll
  • bin\net9.0\Microsoft.IdentityModel.JsonWebTokens.dll
  • bin\net9.0\Microsoft.IdentityModel.Logging.dll
  • bin\net9.0\Microsoft.IdentityModel.Tokens.dll
  • bin\net9.0\Microsoft.PowerPlatform.Dataverse.Client.dll
  • bin\net9.0\Microsoft.VisualStudio.Threading.dll
  • bin\net9.0\Microsoft.VisualStudio.Validation.dll
  • bin\net9.0\Microsoft.Xrm.Sdk.dll
  • bin\net9.0\Newtonsoft.Json.dll
  • bin\net9.0\System.ClientModel.dll
  • bin\net9.0\System.Configuration.ConfigurationManager.dll
  • bin\net9.0\System.Diagnostics.DiagnosticSource.dll
  • bin\net9.0\System.Diagnostics.EventLog.dll
  • bin\net9.0\System.IO.Pipelines.dll
  • bin\net9.0\System.IdentityModel.Tokens.Jwt.dll
  • bin\net9.0\System.Memory.Data.dll
  • bin\net9.0\System.Runtime.Caching.dll
  • bin\net9.0\System.Security.Cryptography.Pkcs.dll
  • bin\net9.0\System.Security.Cryptography.ProtectedData.dll
  • bin\net9.0\System.Security.Cryptography.Xml.dll
  • bin\net9.0\System.Security.Permissions.dll
  • bin\net9.0\System.ServiceModel.Duplex.dll
  • bin\net9.0\System.ServiceModel.Http.dll
  • bin\net9.0\System.ServiceModel.Primitives.dll
  • bin\net9.0\System.ServiceModel.Security.dll
  • bin\net9.0\System.ServiceModel.dll
  • bin\net9.0\System.Text.Encodings.Web.dll
  • bin\net9.0\System.Text.Json.dll
  • bin\net9.0\System.Windows.Extensions.dll
  • en-US\Isystem.PowerShell.PowerPlatform.Dataverse.dll-Help.xml
  • en-US\about_Isystem.PowerShell.PowerPlatform.Dataverse.help.txt

Version History

Version Downloads Last updated
1.5.4 37 10/3/2026
1.5.3 8 10/3/2026
1.5.2 8 10/3/2026
1.5.1 6 10/2/2026
1.5.0 (current version) 12 10/2/2026
1.4.1 22 10/1/2026
1.4.0 6 10/1/2026
1.3.0 45 9/30/2026
1.2.1 10 9/29/2026
1.2.0 10 9/29/2026
1.1.0 11 9/24/2026
1.0.1 10 9/22/2026
1.0.0 5 9/21/2026
Show more