Azure PowerShell v5.0.0 Release Notes

Release Date: 2020-10-01 // over 3 years ago
  • Az.Accounts

    • ๐Ÿšš [Breaking Change] Removed 'Get-AzProfile' and 'Select-AzProfile'
    • Replaced Azure Directory Authentication Library with Microsoft Authentication Library(MSAL)

    Az.Aks

    • ๐Ÿšš [Breaking Change] Removed parameter alias 'ClientIdAndSecret' in 'New-AzAksCluster' and 'Set-AzAksCluster'.
    • 0๏ธโƒฃ [Breaking Change] Changed the default value of 'NodeVmSetType' in 'New-AzAksCluster' from 'AvailabilitySet' to 'VirtualMachineScaleSets'.
    • 0๏ธโƒฃ [Breaking Change] Changed the default value of 'NetworkPlugin' in 'New-AzAksCluster' from 'None' to 'azure'.
    • ๐Ÿง [Breaking Change] Removed parameter 'NodeOsType' in 'New-AzAksCluster' as it supports only one value Linux.

    Az.Billing

    • โž• Added 'Get-AzBillingAccount' cmdlet
    • โž• Added 'Get-AzBillingProfile' cmdlet
    • โž• Added 'Get-AzInvoiceSection' cmdlet
    • โž• Added new parameters in 'Get-AzBillingInvoice' cmdlet
    • โœ‚ Removed properties DownloadUrlExpiry, Type, BillingPeriodNames from the response of Get-AzBillingInvoice cmdlet

    Az.Cdn

    • โž• Added cmdlets to support multi-origin and private link functionality

    Az.CognitiveServices

    • โšก๏ธ Updated SDK to 7.4.0-preview.

    Az.Compute

    • โž• Added '-VmssId' parameter to 'New-AzVm'
    • โž• Added 'PlatformFaultDomainCount' parameter to the 'New-AzVmss' cmdlet.
    • ๐Ÿ†• New cmdlet 'Get-AzDiskEncryptionSetAssociatedResource'
    • โž• Added 'Tier' and 'LogicalSectorSize' optional parameters to the New-AzDiskConfig cmdlet.
    • โž• Added 'Tier', 'MaxSharesCount', 'DiskIOPSReadOnly', and 'DiskMBpsReadOnly' optional parameters to the 'New-AzDiskUpdateConfig' cmdlet.

    Az.ContainerRegistry

    • โšก๏ธ [Breaking Change] Updates API version to 2019-05-01
    • ๐Ÿšš [Breaking Change] Removed SKU 'Classic' and parameter 'StorageAccountName' from 'New-AzContainerRegistry'
    • โž• Added New cmdlets: 'Connect-AzContainerRegistry', 'Import-AzContainerRegistry', 'Get-AzContainerRegistryUsage', 'New-AzContainerRegistryNetworkRule', 'Set-AzContainerRegistryNetworkRule'
    • โž• Added new parameter 'NetworkRuleSet' to 'Update-AzContainerRegistry'

    Az.Databricks

    • ๐Ÿ›  Fixed a bug that may cause updating databricks workspace without -EncryptionKeyVersion to fail.

    Az.DataFactory

    • โšก๏ธ Updated ADF .Net SDK version to 4.12.0
    • โšก๏ธ Updated ADF encryption client SDK version to 4.14.7587.7
    • โž• Added 'Stop-AzDataFactoryV2TriggerRun' and 'Invoke-AzDataFactoryV2TriggerRun' commands

    Az.DesktopVirtualization

    • Require Location property for creating top level arm objects. * Made ApplicationGroupType required for New-AzWvdApplicationGroup. * Made HostPoolArmPath required for New-AzWvdApplicationGroup. * Added PreferredAppGroupType for New-AzWvdHostPool.

    Az.Functions

    • ๐Ÿš€ [Breaking Change] Removed 'IncludeSlot' switch parameter from all but one parameter set of 'Get-AzFunctionApp'. The cmdlet now supports retrieving deployment slots in the results when '-IncludeSlot' is specified.
    • โšก๏ธ Updated 'New-AzFunctionApp':
      • Fixed -DisableApplicationInsights so that no application insights project is created when this option is specified. [#12728]
      • [Breaking Change] Removed support to create PowerShell 6.2 function apps.
      • [Breaking Change] Changed the default runtime version in Functions version 3 on Windows for PowerShell function apps from 6.2 to 7.0 when the RuntimeVersion parameter is not specified.
      • [Breaking Change] Changed the default runtime version in Functions version 3 on Windows and Linux for Node function apps from 10 to 12 when the RuntimeVersion parameter is not specified.
      • [Breaking Change] Changed the default runtime version in Functions version 3 on Linux for Python function apps from 3.7 to 3.8 when the RuntimeVersion parameter is not specified.

    Az.HDInsight

    • For New-AzHDInsightCluster cmdlet:
      • Replaced parameter 'DefaultStorageAccountName' with 'StorageAccountResourceId'
      • Replaced parameter 'DefaultStorageAccountKey' with 'StorageAccountKey'
      • Replaced parameter 'DefaultStorageAccountType' with 'StorageAccountType'
      • Removed parameter 'PublicNetworkAccessType'
      • Removed parameter 'OutboundPublicNetworkAccessType'
      • Added new parameters: 'StorageFileSystem' and 'StorageAccountManagedIdentity' to support ADLSGen2
      • Added new parameter 'EnableIDBroker' to Support HDInsight ID Broker
      • Added new parameters: 'KafkaClientGroupId', 'KafkaClientGroupName' and 'KafkaManagementNodeSize' to support Kafka Rest Proxy
    • For New-AzHDInsightClusterConfig cmdlet:
      • Replaced parameter 'DefaultStorageAccountName' with 'StorageAccountResourceId'
      • Replaced parameter 'DefaultStorageAccountKey' with 'StorageAccountKey'
      • Replaced parameter 'DefaultStorageAccountType' with 'StorageAccountType'
      • Removed parameter 'PublicNetworkAccessType'
      • Removed parameter 'OutboundPublicNetworkAccessType'
        • 0๏ธโƒฃ For Set-AzHDInsightDefaultStorage cmdlet:
        • Replaced parameter 'StorageAccountName' with 'StorageAccountResourceId'
        • For Add-AzHDInsightSecurityProfile cmdlet:
        • Replaced parameter 'Domain' with 'DomainResourceId'
        • Removed the mandatory requirement for parameter 'OrganizationalUnitDN'

    Az.KeyVault

    • โšก๏ธ [Breaking Change] Deprecated parameter DisableSoftDelete in 'New-AzKeyVault' and EnableSoftDelete in 'Update-AzKeyVault'
    • ๐Ÿšš [Breaking Change] Removed attribute SecretValueText to avoid displaying SecretValue directly [#12266]
    • ๐Ÿ‘Œ Supported new resource type: managed HSM
      • CRUD of managed HSM and cmdlets to operate keys on managed HSM
      • Full HSM backup/restore, AES key creation, security domain backup/restore, RBAC

    Az.ManagedServices

    • โšก๏ธ [Breaking Change] Updated parameters naming conventions and associated examples

    Az.Network

    • ๐Ÿšš [Breaking Change] Removed parameter 'HostedSubnet' and added 'Subnet' instead
    • โž• Added new cmdlets for Virtual Router Peer Routes
      • 'Get-AzVirtualRouterPeerLearnedRoute'
      • 'Get-AzVirtualRouterPeerAdvertisedRoute'
    • โšก๏ธ Updated New-AzFirewall cmdlet:
      • Added parameter '-SkuTier'
      • Added parameter '-SkuName' and made Sku as Alias for this
      • Removed parameter '-Sku'
    • [Breaking Change] Made 'Connectionlink' argument mandatory in 'Start-AzVpnConnectionPacketCapture' and 'Stop-AzVpnConnectionPacketCapture'
    • โšก๏ธ [Breaking Change] Updated 'New-AzNetworkWatcherConnectionMonitorEndPointObject' to remove parameter '-Filter'
    • [Breaking Change] Replaced 'New-AzNetworkWatcherConnectionMonitorEndpointFilterItemObject' cmdlet with 'New-AzNetworkWatcherConnectionMonitorEndpointScopeItemObject'
    • โšก๏ธ Updated 'New-AzNetworkWatcherConnectionMonitorEndPointObject' cmdlet:
      • Added parameter '-Type'
      • Added parameter '-CoverageLevel'
      • Added parameter '-Scope'
    • โšก๏ธ Updated 'New-AzNetworkWatcherConnectionMonitorProtocolConfigurationObject' cmdlet with new parameter '-DestinationPortBehavior'

    Az.RecoveryServices

    • ๐Ÿ›  Fixing Workload Restore for contributor permissions.
    • โž• Added new parameter sets and validations for Restore-AzRecoveryServicesBackupItem cmdlet.

    Az.Resources

    • ๐Ÿ›  Fixed parsing bug
    • โšก๏ธ Updated ARM template What-If cmdlets to remove preview message from results
    • ๐Ÿ›  Fixed an issue where template deployment cmdlets crash if '-WhatIf' is set at a higher scope [#13038]
    • ๐Ÿ›  Fixed an issue where template deployment cmdlets does not preserve case for template parameters
    • โž• Added a default API version to be used in 'Export-AzResourceGroup' cmdlet
    • โž• Added cmdlets for Template Specs ('Get-AzTemplateSpec', 'Set-AzTemplateSpec', 'New-AzTemplateSpec', 'Remove-AzTemplateSpec', 'Export-AzTemplateSpec')
    • โž• Added support for deploying Template Specs using existing deployment cmdlets (via the new -TemplateSpecId parameter)
    • ๐Ÿš€ Updated 'Get-AzResourceGroupDeploymentOperation' to use the SDK.
    • โœ‚ Removed '-ApiVersion' parameter from '*-AzDeployment' cmdlets.

    Az.Sql

    • โž• Added DiffBackupIntervalInHours to 'Set-AzSqlDatabaseBackupShortTermRetentionPolicy'
    • ๐Ÿ›  Fixed issue where New-AzSqlDatabaseExport fails if networkIsolation not specified [#13097]
    • ๐Ÿ›  Fixed issue where New-AzSqlDatabaseExport and New-AzSqlDatabaseImport were not returning OperationStatusLink in the result object [#13097]
    • โšก๏ธ Update Azure Paired Regions URL in Backup Storage Redundancy Warnings

    Az.Storage

    • โœ‚ Removed obsolete property RestorePolicy.LastEnabledTime
      • 'Enable-AzStorageBlobRestorePolicy'
      • 'Disable-AzStorageBlobRestorePolicy'
      • 'Get-AzStorageBlobServiceProperty'
      • 'Update-AzStorageBlobServiceProperty'
    • ๐Ÿ”„ Change Type of DaysAfterModificationGreaterThan from int to int?
      • 'Set-AzStorageAccountManagementPolicy'
      • 'Get-AzStorageAccountManagementPolicy'
      • 'Add-AzStorageAccountManagementPolicyAction'
      • 'New-AzStorageAccountManagementPolicyRule'
    • ๐Ÿ‘Œ Supported create/update file share with access tier
      • 'New-AzRmStorageShare'
      • 'Update-AzRmStorageShare'
    • ๐Ÿ‘Œ Supported set/update/remove Acl recursively on Datalake Gen2 item
      • 'Set-AzDataLakeGen2AclRecursive'
      • 'Update-AzDataLakeGen2AclRecursive'
      • 'Remove-AzDataLakeGen2AclRecursive'
    • ๐Ÿ‘Œ Supported Container access policy with new permission x,t
      • 'New-AzStorageContainerStoredAccessPolicy'
      • 'Set-AzStorageContainerStoredAccessPolicy'
    • ๐Ÿ”„ Changed the output of get/set Container access policy cmdlet, by change the child property Permission type from enum to String
      • 'Get-AzStorageContainerStoredAccessPolicy'
      • 'Set-AzStorageContainerStoredAccessPolicy'
    • ๐Ÿ›  Fixed a sample script issue of set management policy with json
      • 'Set-AzStorageAccountManagementPolicy'

    Az.Websites

    • โž• Added support for Premium V3 pricing tier
    • โšก๏ธ Updated the WebSites SDK to 3.1.0

    Thanks to our community contributors

    • โšก๏ธ @atul-ram, Update Get-AzDelegation.md (#13176)
    • @dineshreddy007, Get the App Roles assigned correctly in case of Stack HCI registration using WAC token. (#13249)
    • โšก๏ธ @kongou-ae, Update New-AzOffice365PolicyProperty.md (#13217)
    • โšก๏ธ Lohith Chowdary Chilukuri (@Lochiluk), Update Set-AzApplicationGateway.md (#13150)
    • Matthew Burleigh (@mburleigh)
      • Add links to PowerShell cmdlets referenced in the document (#13203)
      • Add links to PowerShell cmdlets referenced in the document (#13190)
      • Add links to PowerShell cmdlets referenced in the document (#13189)
      • add links to referenced cmdlets (#13137)
      • Add links to PowerShell cmdlets referenced in the document (#13204)
      • Add links to PowerShell cmdlets referenced in the document (#13205)