Azure PowerShell v5.2.0 Release Notes

Release Date: 2020-12-01 // 3 months ago
  • Az.Accounts

    • ๐Ÿ“œ Managed to parse ExpiresOn time from raw token if could not get from underlying library
    • ๐Ÿ‘Œ Improved warning message if Interactive authentication is unavailable


    • 0๏ธโƒฃ [Breaking change] 'New-AzApiManagementProduct' by default has no subscription limit.


    • Edited Get-AzVm to filter by '-Name' prior to checking for throttling due to too many resources.
    • ๐Ÿ†• New cmdlet 'Start-AzVmssRollingExtensionUpgrade'.


    • ๐Ÿ‘Œ Supported parameter 'Name' for and value from pipeline input for 'Get-AzContainerRegistryUsage' [#13605]
    • ๐Ÿ’… Polished exceptions for 'Connect-AzContainerRegistry'


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


    • โž• Added support for customer managed keys


    • ๐Ÿ›  Fixed an issue of SAS token.


    • ๐Ÿ‘Œ Supported 'all' as an option when setting key vault access policies
    • ๐Ÿ‘Œ Supported new version of SecretManagement module [#13366]
    • ๐Ÿ‘Œ Supported ByteArray, String, PSCredential and Hashtable for 'SecretValue' in SecretManagementModule [#12190]
    • [Breaking change] redesigned the API surface of cmdlets related to managed HSM.


    • ๐Ÿ”„ Changed parameter 'Rule' of 'New-AzAutoscaleProfile' to accept empty list. [#12903]
    • โž• Added new cmdlets to support creating diagnostic settings more flexible:
      • 'Get-AzDiagnosticSettingCategory'
      • 'New-AzDiagnosticSetting'
      • 'New-AzDiagnosticDetailSetting'


    • โช Made help text and parameter set name changes to 'Restore-AzRecoveryServicesBackupItem' cmdlet.


    • โž• Added '-Tag' parameter support to 'Set-AzTemplateSpec' and 'New-AzTemplateSpec'
    • โž• Added Tag display support to default formatter for Template Specs


    • โž• Added example to 'Set-AzServiceFabricSetting' with SettingsSectionDescription param
    • ๐Ÿš€ Updated application related cmdlets to call out that support is only for ARM deployed resources
    • ๐Ÿšš Marked for deprecation cluster cert cmdlets 'Add-AzureRmServiceFabricClusterCertificate' and 'Remove-AzureRmServiceFabricClusterCertificate'


    • โž• Added SecondaryType to the following:
      • 'New-AzSqlDatabase'
      • 'Set-AzSqlDatabase'
      • 'New-AzSqlDatabaseSecondary'
    • โž• Added HighAvailabilityReplicaCount to the following:
      • 'New-AzSqlDatabase'
      • 'Set-AzSqlDatabase'
    • Made ReadReplicaCount an alias of HighAvailabilityReplicaCount in the following:
      • 'New-AzSqlDatabase'
      • 'Set-AzSqlDatabase'


    • ๐Ÿ‘Œ Supported upload Azure File size up to 4 TiB
      • 'Set-AzStorageFileContent'
    • โฌ†๏ธ Upgraded Azure.Storage.Blobs to 12.7.0
    • โฌ†๏ธ Upgraded Azure.Storage.Files.Shares to 12.5.0
    • โฌ†๏ธ Upgraded Azure.Storage.Files.DataLake to 12.5.0


    • โž• Added Sync tiering policy feature with download policy and local cache mode


    • Prevent duplicate access restriction rules

    Thanks to our community contributors

    • โšก๏ธ Andrew Dawson (@dawsonar802), Update - Get cert and save it as pfx section to work with PowerShell Core (#13557)
    • โšก๏ธ @iviark, Healthcare APIs Powershell BYOK Updates (#13518)
    • John Duckmanton (@johnduckmanton), Correct spelling of TagPatchOperation (#13508)
    • Michael James (@mikejwhat)
      • Get-AzLogicAppRunHistory Help Tidy (#13513)
    • Richard de Zwart (@mountain65)
      • Update (#13485)
      • Update (#13490)
    • 0๏ธโƒฃ @SteppingRazor, New-AzApiManagementProduct: Change SubscriptionsLimit parameter default value to None (#13457)
    • Steve Burkett (@SteveBurkettNZ), Fix Typo for WorkspaceResourceId parameter in example (#13589)

Previous changes from v5.1.0

  • Az.Accounts

    • ๐Ÿ›  Fixed an issue that TenantId may be not respected if using 'Connect-AzAccount -DeviceCode'[#13477]
    • โž• Added new cmdlet 'Get-AzAccessToken'
    • ๐Ÿ›  Fixed an issue that error happens if user profile path is inaccessible
    • ๐Ÿ›  Fixed an issue causing Write-Object error during Connect-AzAccount [#13419]
    • โž• Added parameter 'ContainerRegistryEndpointSuffix' to: 'Add-AzEnvironment', 'Set-AzEnvironment'
    • ๐Ÿ‘Œ Supported interrupting login by hitting CTRL+C
    • ๐Ÿ›  Fixed an issue causing 'Connect-AzAccount -KeyVaultAccessToken' not working [#13127]
    • ๐Ÿ›  Fixed null reference and method case insensitive in 'Invoke-AzRestMethod'


    • ๐Ÿ›  Fixed the issue that user cannot use service principal to create a new Kubernetes cluster. [#13012]


    • General availability of 'Az.AppConfiguration' module


    • ๐Ÿ‘Œ Improved error message of 'New-AzDataFactoryV2LinkedServiceEncryptedCredential' command



    • โž• Added new MSIX Package cmdlets and updated Applications cmdlets.


    • ๐Ÿ›  Fixed Cluster commands for EventHub cluster without tags
    • โšก๏ธ Updated help text for PartnerNamespace of AzEventHubGeoDRConfiguration commands


    • โž• Add parameters 'ResourceProviderConnection' and 'PrivateLink' to cmdlet 'New-AzHDInsightCluster' to support relay outbound and private link feature
    • โž• Add parameter 'AmbariDatabase' to cmdlet 'New-AzHDInsightCluster' to support custom Ambari database feature
    • โž• Add accept value 'AmbariDatabase' to the parameter 'MetastoreType' of the cmdlet 'Add-AzHDInsightMetastore'


    • ๐Ÿ‘ Allowed tags in IoT Hub create cmdlet.


    • ๐Ÿ‘Œ Supported updating key vault tag


    • ๐Ÿ›  Fixed for Get-AzLogicAppRunHistory only retrieving the first page of results


    • โšก๏ธ Updated below cmdlet
      • 'New-AzLoadBalancerFrontendIpConfigCommand', 'Set-AzLoadBalancerFrontendIpConfigCommand', 'Add-AzLoadBalancerFrontendIpConfigCommand':
        • Added PublicIpAddressPrefix property
        • Added PublicIpAddressPrefixId property
    • โž• Added new properties to the following cmdlets to allow for global load balancing
      • 'New-AzLoadBalancer':
        • Added Sku Tier property
      • 'New-AzPuplicIpAddress':
        • Added Sku Tier property
      • 'New-AzPublicIpPrefix':
        • Added Sku Tier property
      • 'New-AzLoadBalancerBackendAddressConfig':
        • Added LoadBalancerFrontendIPConfigurationId property
    • โšก๏ธ Updated planning to deprecate warnings for the following cmdlets -'New-AzVirtualHubRoute' -'New-AzVirtualHubRouteTable' -'Add-AzVirtualHubRoute' -'Add-AzVirtualHubRouteTable' -'Get-AzVirtualHubRouteTable' -'Remove-AzVirtualHubRouteTable'
    • โž• Added planning to deprecate warnings on the argument 'RouteTable' for the following cmdlets -'New-AzVirtualHub' -'Set-AzVirtualHub' -'Update-AzVirtualHub'
    • Made arguments '-MinScaleUnits' and '-MaxScaleUnits' optional in 'Set-AzExpressRouteGateway'
    • โž• Added new cmdlets to support Mutual Authentication and SSL Profiles on Application Gateway
      • 'Get-AzApplicationGatewayClientAuthConfiguration'
      • 'New-AzApplicationGatewayClientAuthConfiguration'
      • 'Remove-AzApplicationGatewayClientAuthConfiguration'
      • 'Set-AzApplicationGatewayClientAuthConfiguration'
      • 'Add-AzApplicationGatewayTrustedClientCertificate'
      • 'Get-AzApplicationGatewayTrustedClientCertificate'
      • 'New-AzApplicationGatewayTrustedClientCertificate'
      • 'Remove-AzApplicationGatewayTrustedClientCertificate'
      • 'Set-AzApplicationGatewayTrustedClientCertificate'
      • 'Add-AzApplicationGatewaySslProfile'
      • 'Get-AzApplicationGatewaySslProfile'
      • 'New-AzApplicationGatewaySslProfile'
      • 'Remove-AzApplicationGatewaySslProfile'
      • 'Set-AzApplicationGatewaySslProfile'
      • 'Get-AzApplicationGatewaySslProfilePolicy'
      • 'Remove-AzApplicationGatewaySslProfilePolicy'
      • 'Set-AzApplicationGatewaySslProfilePolicy'


    • Specifying policy BackupTime is in UTC.
    • โš  Modifying breaking change warning in Get-AzRecoveryServicesBackupJobDetails cmdlet.
    • โšก๏ธ Updating sample script help text for Set-AzRecoveryServicesBackupProtectionPolicy cmdlet.


    • ๐Ÿ›  Fixed an issue where What-If shows two resource group scopes with different casing
    • โšก๏ธ Updated 'Export-AzResourceGroup' to use the SDK.
    • โž• Added culture info to parse methods


    • ๐Ÿ›  Fixed issues where Set-AzSqlDatabaseAudit were not support Hyperscale database and database edition cannot be determined
    • โž• Added MaintenanceConfigurationId to 'New-AzSqlInstance' and 'Set-AzSqlInstance'
    • ๐Ÿ›  Fixed a bug in GetAzureSqlDatabaseReplicationLink.cs where PartnerServerName parameter was being checked for by value instead of key


    • โž• Added support for new access restriction features: ServiceTag, multi-ip and http-headers

    Thanks to our community contributors

    • John Q. Martin (@johnmart82), Adding firewall prerequisite information (#13385)
    • Manikandan Duraisamy (@madurais-msft), Corrected the PublicSubnetName argument (#13417)
    • โšก๏ธ @mahortas, Update for -HostNames parameter values (#13349)
    • ๐Ÿ“ˆ @MariachiForHire, added supported TrafficAnalyticsInterval values (#13304)
    • Michael James (@mikejwhat), Allow Get-AzLogicAppRunHistory to return more than 30 entries (#13393)
    • โšก๏ธ Shashikant Shakya (@shshakya), Update (#13404)