Azure PowerShell v8.1.0 Release Notes

Release Date: 2022-07-01 // almost 2 years ago
  • Az.Accounts

    • ๐Ÿ‘Œ Supported exporting and importing configurations by 'Export-AzConfig' and 'Import-AzConfig'.
    • ๐Ÿ›  Fixed an issue that Az.Accounts may fail to be imported in parallel PowerShell processes. [#18321]
    • ๐Ÿ›  Fixed incorrect access token [#18105]
    • โฌ†๏ธ Upgraded version of Microsoft.Identity.Client for .NET Framework. [#18495]
    • ๐Ÿ›  Fixed an issue that Az.Accounts failed to be imported if multiple environment variables, which only differ by case, are set. [#18304]

    Az.Aks

    • โž• Added parameter 'CommandContextAttachmentZip' for 'Invoke-AzAksRunCommand'. [#17454]
    • โž• Added ManagedIdentity support for Aks[#15656].
    • โž• Added property 'PowerState' for the output of 'Get-AzAksCluster'[#18271]
    • โšก๏ธ Updated the logic of 'Set-AzAksCluster' for parameter 'NodeImageOnly'.
    • โž• Added parameter 'NodeImageOnly' for 'Update-AzAksNodePool'.
    • โž• Added parameter 'AvailabilityZone' for 'New-AzAksCluster'. [#18658]

    Az.ApplicationInsights

    • ๐Ÿ›  Fixed parameters for Set-AzApplicationInsightsDailyCap [#18315]
    • ๐Ÿ›  Fixed parameter 'DocumentType' for 'New-AzApplicationInsightsContinuousExport' and 'Set-AzApplicationInsightsContinuousExport' [#18350]
    • ๐Ÿ›  Fixed parameter 'ResourceId' for 'Get-AzApplicationInsights' [#18707]

    Az.Compute

    • โž• Added image alias 'Win2022AzureEditionCore'
    • โž• Added the '-DisableIntegrityMonitoring' switch parameter to the 'New-AzVM' cmdlet. Changed the default behavior for 'New-AzVM' and 'New-AzVmss' when these conditions are met: 1) '-DisableIntegrityMonitoring' is not true. 2) 'SecurityType' on the SecurityProfile is 'TrustedLaunch'. 3) 'VTpmEnabled' on the SecurityProfile is true. 4) 'SecureBootEnabled' on the SecurityProfile is true. Now 'New-AzVM' will install the 'Guest Attestation' extension to the new VM when these conditions are met. Now 'New-AzVmss' will install the 'Guest Attestation' extension to the new Vmss when these conditions are met and installed to all VM instances in the Vmss.
    • โž• Added '-UserAssignedIdentity' and '-FederatedClientId' to the following cmdlets:
      • 'New-AzDiskEncryptionSetConfig'
      • 'Update-AzDiskEncryptionSet'
    • โž• Added '-TreatFailureAsDeploymentFailure' to cmdlets 'Add-AzVmGalleryApplication' and 'Add-AzVmssGalleryApplication'
    • โœ‚ Removed Exceptions for when SinglePlacementGroup is set to true in 'OrchestrationMode'

    Az.CosmosDB

    • โž• Added support for partition key and id paths to be part of client encryption policy.
    • ๐Ÿ›  Fixed bug related to Update-AzCosmosDBSqlContainer command on containers with Client Encryption Policy.

    Az.DataFactory

    • โšก๏ธ Updated ADF .Net SDK version to 6.3.0

    Az.EventHub

    • โž• Added cmdlets for CRUD operations on EventHub Application Groups. The added cmdlets include, -New-AzEventHubApplicationGroup -Set-AzEventHubApplicationGroup -Remove-AzEventHubApplicationGroup -Get-AzEventHubApplicationGroup -New-AzEventHubThrottlingPolicyConfig
    • ๐Ÿ‘€ Get-AzEventHubNamespace returned a maximum of 100 namespaces for list by resource groups or list by subscriptions so far. From here onwards, for resource groups and subscriptions with over a 100 namespaces, the cmdlet will return all the namespaces. You will not see a change in the cmdlet behaviour if your resource groups or subscriptions have less than a 100 namespaces.
    • โž• Added cmdlets for manual approval of EventHubs Private Endpoint Connections. The added cmdlets include, -Approve-AzEventHubPrivateEndpointConnection -Deny-AzEventHubPrivateEndpointConnection -Get-AzEventHubPrivateEndpointConnection -Remove-AzEventHubPrivateEndpointConnection -Get-AzEventHubPrivateLink

    Az.KeyVault

    • ๐Ÿ‘Œ Supported importing pem certificate by 'Import-AzKeyVaultCertificate' [#18494]
    • ๐Ÿ‘Œ Supported accepting rotation policy in a JSON file
    • [Breaking Change] Changed parameter 'ExpiresIn' in 'Set-AzKeyVaultKeyRotationPolicy' from TimeSpan? to string. It must be an ISO 8601 duration like 'P30D' for 30 days.
    • [Breaking Change] Changed output properties 'ExpiresIn', 'TimeAfterCreate' and 'TimeBeforeExpiry' of 'Set-AzKeyVaultKeyRotationPolicy' and 'Get-AzKeyVaultKeyRotationPolicy' from TimeSpan? to string.
    • ๐Ÿ‘Œ Supported creating/updating key with release policy in a Managed HSM
    • โœ‚ Removed default value for 'EnabledForDeployment', 'EnabledForTemplateDeployment', 'EnabledForDiskEncryption' and 'EnableRbacAuthorization' during the process of key vault creation
    • ๐Ÿ”„ Changed default access policies for Key Vault secret, certificate and storage as 'All'

    Az.Network

    • โž• Added support for CustomV2 ssl policies for Application Gateway.
      • Added 'CustomV2' to the validation set of 'PolicyType'
      • Added 'TLSv1_3' to the validation set of 'MinProtocolVersion'
      • Removed validation for null or empty cipher suites list since there can be empty cipher suites list for min protocol version of tls1.3
    • 0๏ธโƒฃ [Breaking Change] Changed default value of '-PrivateEndpointNetworkPoliciesFlag' to 'Disabled' in 'Add-AzVirtualNetworkSubnetConfig' and 'New-AzVirtualNetworkSubnetConfig'
    • ๐Ÿ›  Fixed bugs that cannot parse virtual network encryption paramemters when updating exsiting vnet.

    Az.PowerBIEmbedded

    • โšก๏ธ Updated SKU allowed values to support A7 and A8

    Az.RecoveryServices

    • ๐Ÿ›  Fixed delay in long running operations [#18567]

    Az.Resources

    • โž• Added feedback when deleting role assignments even if passthru is not used
    • ๐Ÿ›  Fixed relative path failure in -AsJob scenario [#18084]
    • ๐Ÿ›  Fixed logic of 'createtime' and 'ChangedTime' in 'Get-AzResource --ExpandProperties'. [#18206]
    • ๐Ÿ›  Fixed role assignment latency for 'New-AzADServicePrincipal' [#16777]

    Az.ServiceBus

    • โž• Added cmdlets for manual approval of Service Bus Private Endpoint Connections. The added cmdlets include, -Approve-AzServiceBusPrivateEndpointConnection -Deny-AzServiceBusPrivateEndpointConnection -Get-AzServiceBusPrivateEndpointConnection -Remove-AzServiceBusPrivateEndpointConnection -Get-AzServiceBusPrivateLink

    Az.ServiceFabric

    • ๐Ÿ›  Fixed typo in verbose log message.
    • โž• Added Tag support for managed cluster create and update

    Az.Sql

    • โž• Added 'GeoZone' option to 'BackupStorageRedundancy' parameter to 'New-AzSqlDatabase', 'Set-AzSqlDatabase', 'New-AzSqlDatabaseCopy', 'New-AzSqlDatabaseSecondary', and 'Restore-AzSqlDatabase' to enable create, update, copy, geo secondary and PITR support for GeoZone hyperscale databases
    • โž• Added additional input validation to 'Stop-AzSqlInstanceDatabaseLogReplay' cmdlet to ensure the target database was created by log replay service
    • ๐Ÿ› Bug fix for cmdlet 'Restore-AzSqlDatabase'. The optional property 'Tags' was not working as expected
    • โž• Added isManagedIdentityInUse get parameter for 'Get-AzSqlServerAudit' and 'Get-AzSqlDatabaseAudit'
    • โž• Added new cmdlet 'Set-AzSqlInstanceDatabase'

    Az.StackHCI

    • โž• Added support to Stack HCI Cluster
    • โž• Added support to Stack HCI Extension
    • โž• Added support to Stack HCI Arc Settings

    Az.Storage

    • ๐Ÿ‘Œ Supported BaseBlob DaysAfterCreationGreaterThan in Management Policy
      • 'Add-AzStorageAccountManagementPolicyAction'

    Thanks to our community contributors

    • โšก๏ธ @ayeshurun, Update SKU allowed values for PowerBI Embedded capacities (#18670)
    • ๐Ÿ—„ @JulianePadrao, [SQL] fix for deprecated term (#18620)
    • @kaushik-ms, powershell changes for new ssl policies in appgw (#18287)
    • Adrian Leonhard (@NaridaL), fix typo beging -> begin in 3 files (#18391)