Azure PowerShell v6.4.0 Release Notes

Release Date: 2021-09-01 // over 2 years ago
  • Az.Accounts

    • Corrected the URLs to Azure Portal in the results of 'Get-AzEnvironment' and 'Get-AzContext'. [#15429]
    • 0️⃣ Made infrastructural changes to support overriding default subscription via a '-SubscriptionId ' parameter.
      • Az.Aks is the first module that supports it.

    Az.Aks

    • Made '-Subscription ' available in all Aks cmdlets. You can manage Aks resources in other subscriptions without switching the context.

    Az.ApiManagement

    • ➕ Added new 'Sync-AzApiManagementKeyVaultSecret' cmdlet.
    • ➕ Added new 'New-AzApiManagementKeyVaultObject' cmdlet.
    • ➕ Added new optional [-useFromLocation] parameter to the 'Get-ApiManagementCache' 'New-ApiManagementCache''Update-ApiManagementCache' cmdlet.
    • 🆕 Updated cmdlet New-AzApiManagement to manage ApiManagement service
      • Added support for the new 'Isolated' SKU
      • Added support for managing Availability Zones using 'Zone' property
      • Added support for Disabling Gateway in a Region using 'DisableGateway' property
      • Added support for managing the minimum Api Version to allow for Control Plane using 'MinimalControlPlaneApiVersion' property.
    • 🆕 Updated cmdlet New-AzApiManagementRegion to manage ApiManagement service
      • Added support for managing Availability Zones using 'Zone' property
      • Added support for Disabling Gateway in a Region using 'DisableGateway' property
    • ➕ Updated cmdlet Add-AzApiManagementRegion to manage ApiManagement service
      • Added support for managing Availability Zones using 'Zone' property
      • Added support for Disabling Gateway in a Region using 'DisableGateway' property
    • ⚡️ Updated cmdlet Update-AzApiManagementRegion to manage ApiManagement service
      • Added support for managing Availability Zones using 'Zone' property
      • Added support for Disabling Gateway in a Region using 'DisableGateway' property
    • 🆕 Updated cmdlet New-AzApiManagementCustomHostnameConfiguration to manage Custom Hostname Configuration
      • Added support for specifying 'IdentityClientId' to provide Managed Identity User Assigned ClientId to use with KeyVault

    Az.Automation

    • 🛠 Fixed bug: Closing in input file handle in Import-AzAutomationRunbook

    Az.Cdn

    • 🛠 Fixed mandatory parameters issue in 'Get-AzCdnEndpointResourceUsage' cmdlet

    Az.Compute

    • ➕ Added new parameters '-LinuxConfigurationPatchMode', '-WindowsConfigurationPatchMode', and '-LinuxConfigurationProvisionVMAgent' to 'Set-AzVmssOSProfile'
    • ➕ Added new parameters '-SshKeyName' and '-GenerateSshKey' to 'New-AzVM' to create a VM with SSH
    • 🛠 Fixed a bug in 'Add-AzVHD' on Linux that caused uploads to fail for certain destination URI
    • ➕ Added new cmdlets for Restore Points and Restore Point Collection:
      • 'New-AzRestorePoint'
      • 'New-AzRestorePointCollection'
      • 'Get-AzRestorePoint'
      • 'Get-AzRestorePointCollection'
      • 'Update-AzRestorePointCollection'
      • 'Remove-AzRestorePoint'
      • 'Remove-AzRestorePointCollection'
    • ➕ Added new parameters '-EnableSpotRestore' and '-SpotRestoreTimeout' to 'New-AzVMSSConfig' to enable Spot Restore Policy
    • ➕ Added new cmdlets: 'Update-AzCapacityReservationGroup' and 'Update-AzCapacityReservation'

    Az.CosmosDB

    • 🛠 Fixed a bug where the restore of deleted database accounts fail.

    Az.DataFactory

    • ➕ Added a subnetId argument for the 'Set-AzDataFactoryV2IntegrationRuntime' cmdlet to support RBAC checking for VNet injection against the subnet resource ID instead of the VNet resource ID.
    • ➕ Added the 'Get-AzDataFactoryV2IntegrationRuntimeOutboundNetworkDependenciesEndpoint' cmdlet to provide a list of outbound network dependencies for SSIS integration runtime in Azure Data Factory that joins a virtual network.
    • ➕ Added PublicNetworkAccess to Data Factory.
    • ⚡️ Updated ADF .Net SDK version to 4.23.0

    Az.KeyVault

    • 👌 Supported adding EC keys in key vault [#15699]

    Az.Migrate

    • 👌 Supported duplicate disk UUID in source disk.
    • 👌 Supported subnets in same VNet for AVSet.
    • 👌 Supported runAsAccount fetching for multiple Vcenters in same site.

    Az.Network

    • ⚡️ Updated cmdlet to add 'Subnet' property for IP based load balancer backend address pool.
      • 'New-AzLoadBalancerBackendAddressConfig'
    • ⚡️ Updated cmdlet to add 'TunnelInterface' property for backend pool related operations.
      • 'New-AzLoadBalancerBackendAddressPool'
      • 'Set-AzLoadBalancerBackendAddressPool'

    Az.RecoveryServices

    • 👍 Azure Site Recovery multi appliance support for VMware to Azure disaster recovery scenarios using RCM as the control plane.
    • 🛠 Azure Backup fixed targetPhysicalPath issue with SQL CRR
    • 🛠 Azure Backup fixed disable protection for SQL workload
    • 🚀 Azure Backup resolved bug in setting CMK properties in latest release
    • 🚚 Azure Backup removed special characters from register-azrecoveryservicesbackupcontainer command help text

    Az.Resources

    • 👉 Use JsonExtensions to serialize deserialize JSON objects to ensure the use of custom serialization settings [#15552]
    • ➕ Added support for 'Unsupported' and 'NoEffect' change types to deployment What-If cmdlets.

    Az.SecurityInsights

    • ⚡️ Updated to 'Get-AzSentinelIncident' parameters
      • Added '-Filter' to support OData filter
      • Added '-OrderBy' to support OData ordering
      • Added '-Max' to support retrieving more than the default of 1000 incidents.

    Az.Sql

    • 🔄 Changed the underlying implementation of 'Get-AzSqlDatabase' to support a paginated response from the server
    • ➕ Added 'ZoneRedundant' parameter to 'New-AzSqlInstance' and 'Set-AzSqlInstance' to enable the creation and the update of zone - redundant instances.
    • ➕ Added ZoneRedundant field to the model of the managed instance so that it displays information about zone - redundancy for instance that are returned by 'Get-AzSqlInstance'.
    • Extended AuditActionGroups enum in server & database audit. Added DBCC_GROUP, DATABASE_OWNERSHIP_CHANGE_GROUP and DATABASE_CHANGE_GROUP.
    • ➕ Added 'AsJob' flag to 'Remove-AzSqlInstance'
    • ➕ Added 'SubnetId' parameter to 'Set-AzSqlInstance' to support the cross-subnet update SLO
    • ⬆️ Upgraded to newest SDK version

    Az.Storage

    • 👌 Supported get/set blob tags on a specific blob
      • 'Get-AzStorageBlobTag'
      • 'Set-AzStorageBlobTag'
    • 👌 Supported create destination blob with specific blob tags while upload/copy Blob
      • 'Set-AzStorageBlobContent'
      • 'Start-AzStorageBlobCopy'
    • 👌 Supported list blobs across containers with a blob tag filter sql expression
      • 'Get-AzStorageBlobByTag'
    • 👌 Supported list blobs inside a container and include Blob Tags
      • 'Get-AzStorageBlob'
    • 👌 Supported run blob operation with blob tag condition, and fail the cmdlet when blob tag condition not match
      • 'Get-AzStorageBlob'
      • 'Get-AzStorageBlobContent'
      • 'Get-AzStorageBlobTag'
      • 'Remove-AzStorageBlob'
      • 'Set-AzStorageBlobContent'
      • 'Set-AzStorageBlobTag'
      • 'Start-AzStorageBlobCopy'
      • 'Stop-AzStorageBlobCopy'
    • Generate blob sas token with new API version
      • 'New-AzStorageBlobSASToken'
      • 'New-AzStorageContainerSASToken'
      • 'New-AzStorageAccountSASToken'
    • 🛠 Fixed blob copy failure with OAuth credential when client and server has time difference [#15644]
      • 'Copy-AzStorageBlob'
    • 🛠 Fixed remove Data Lake Gen2 item fail with readonly SAS token
      • 'Remove-AzDataLakeGen2Item'
    • 🚚 Revised destination existing check in move Data Lake Gen2 item
      • 'Move-AzDataLakeGen2Item'

    Az.StorageSync

    • ➕ Added parameter sets to 'Invoke-AzStorageSyncChangeDetection'
      • Can call the cmdlet without -DirectoryPath and -Path parameters to trigger change detection on an entire file share
    • ➕ Added support for authoritative upload as part of New-AzStorageSyncServerEndpoint.
    • ➕ Added cloud change enumeration status information in Cloud Endpoint object.
    • ⚡️ Updated Server Endpoint object with various health properties
    • ➕ Added 'ServerName' property in Server Endpoint and Registered Server objects to support showing the current FQDN of a server.

    Az.Websites

    • 🛠 Fixed 'Set-AzWebApp' to return a valid warning message when fails to add -Hostname #9316
    • 🛠 Fixed 'Get-AzWebApp' to return CustomDomainVerificationId in the response. #9316

    Thanks to our community contributors

    • Andrew Sears (@asears)
      • Fix spelling of accountname (#15779)
      • Fix Spelling, examples (#15780)
    • ⚡️ @cawrites, Update New-AzDataMigrationService.md (#15646)
    • 👍 @harpaul-gill, Adding support for pagination in Sql Get Databases (#15772)
    • 🐧 @jeepingben, Create mutex names that are safe for Linux (fixes #15653) (#15666)
    • 📄 @LosManos, Docs: Parameter is ignored when listing secrets (#15788)
    • ⚡️ Mats Estensen (@matsest), docs: add examples for Update-AzSubscription (#15748)
    • Mauricio Arroyo (@mauricio-msft), Fix typo in cmdlet example (#15719)