Azure PowerShell v4.7.0 Release Notes

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

    • Formatted the upcoming breaking change messages
    • ⚡️ Updated Azure.Core to 1.4.1

    Az.Aks

    • ➕ Added client side parameter validation logic for 'New-AzAksCluster', 'Set-AzAksCluster' and 'New-AzAksNodePool'. [#12372]
    • ➕ Added support for add-ons in 'New-AzAksCluster'. [#11239]
    • ➕ Added cmdlets 'Enable-AzAksAddOn' and 'Disable-AzAksAddOn' for add-ons. [#11239]
    • ➕ Added parameter 'GenerateSshKey' for 'New-AzAksCluster'. [#12371]
    • ⚡️ Updated api version to 2020-06-01.

    Az.CognitiveServices

    • 👉 Showed additional legal terms for certain APIs.

    Az.Compute

    • ➕ Added the '-EncryptionType' optional parameter to 'New-AzVmDiskEncryptionSetConfig'
    • 🆕 New cmdlets for new resource type: DiskAccess 'Get-AzDiskAccess', 'New-AzDiskAccess', 'Get-AzDiskAccess'
    • ➕ Added optional parameters '-DiskAccessId' and '-NetworkAccessPolicy' to 'New-AzSnapshotConfig'
    • ➕ Added optional parameters '-DiskAccessId' and '-NetworkAccessPolicy' to 'New-AzDiskConfig'
    • ➕ Added 'PatchStatus' property to VirtualMachine Instance View
    • ➕ Added 'VMHealth' property to the virtual machine's instance view, which is the returned object when 'Get-AzVm' is invoked with '-Status'
    • ➕ Added 'AssignedHost' field to 'Get-AzVM' and 'Get-AzVmss' instance views. The field shows the resource id of the virtual machine instance
    • ➕ Added optional parameter '-SupportAutomaticPlacement' to 'New-AzHostGroup'
    • ➕ Added the '-HostGroupId' parameter to 'New-AzVm' and 'New-AzVmss'

    Az.DataFactory

    • ⚡️ Updated ADF .Net SDK version to 4.11.0

    Az.EventHub

    • ➕ Added new Cluster cmdlets - 'New-AzEventHubCluster', 'Set-AzEventHubCluster', 'Get-AzEventHubCluster', 'Remove-AzEventHubCluster', 'Get-AzEventHubClustersAvailableRegions'.
    • 🛠 Fixed for issue #10722 : Fix for assigning only 'Listen' to AuthorizationRule rights.

    Az.Functions

    • ✂ Removed the ability to create v2 Functions in regions that do not support it.
    • 🗄 Deprecated PowerShell 6.2. Added a warning for when a user creates a PowerShell 6.2 function app that advises them to create a PowerShell 7.0 function app instead.

    Az.HDInsight

    • 👌 Supported creating cluster with Autoscale configuration
      • Add new parameter 'AutoscaleConfiguration' to the cmdlet 'New-AzHDInsightCluster'
    • 👌 Supported operating cluster's Autoscale configuration
      • Add new cmdlet 'Get-AzHDInsihgtClusterAutoscaleConfiguration'
      • Add new cmdlet 'New-AzHDInsihgtClusterAutoscaleConfiguration'
      • Add new cmdlet 'Set-AzHDInsihgtClusterAutoscaleConfiguration'
      • Add new cmdlet 'Remove-AzHDInsihgtClusterAutoscaleConfiguration'
      • Add new cmdlet 'New-AzHDInsihgtClusterAutoscaleScheduleCondition'

    Az.KeyVault

    • ➕ Added support for RBAC authorization [#10557]
    • ✨ Enhanced error handling in 'Set-AzKeyVaultAccessPolicy' [#4007]

    Az.Kusto

    • General availability of 'Az.Kusto' module

    Az.Network

    • ⚡️ [Breaking Change] Updated below cmdlets to align resource virtual router and virtual hub
      • 'New-AzVirtualRouter':
        • Added -HostedSubnet parameter to support IP configuration child resource
        • deleted -HostedGateway and -HostedGatewayId
      • 'Get-AzVirtualRouter':
        • Added subscription level parameter set
      • 'Remove-AzVirtualRouter'
      • 'Add-AzVirtualRouterPeer'
      • 'Get-AzVirtualRouterPeer'
      • 'Remove-AzVirtualRouterPeer'
    • ➕ Added new cmdlet for Azure Express Route Port
      • 'New-AzExpressRoutePortLOA'
    • ➕ Added RemoteBgpCommunities property to the VirtualNetwork Peering Resource
    • ⚠ Modified the warning message for 'New-AzLoadBalancerFrontendIpConfig', 'New-AzPublicIpAddress' and 'New-AzPublicIpPrefix'.
    • ➕ Added VpnGatewayIpConfigurations to 'Get-AzVpnGateway' output
    • 🛠 Fixed bug for 'Set-AzApplicationGatewaySslCertificate' [#9488]
    • ➕ Added 'AllowActiveFTP' parameter to 'AzureFirewall'
    • ⚡️ Updated below commands for feature: Enable internet security set/remove on VirtualWan P2SVpnGateway.
    • ⚡️ Updated 'New-AzP2sVpnGateway': Added optional switch parameter 'EnableInternetSecurityFlag' for customers to set true to enable internet security on P2SVpnGateway, which will be applied for Point to site clients.
    • ⚡️ Updated 'Update-AzP2sVpnGateway': Added optional switch parameters 'EnableInternetSecurityFlag' or 'DisableInternetSecurityFlag' for customers to set true/false to enable/disable internet security on P2SVpnGateway, which will be applied for Point to site clients.
    • ➕ Added new cmdlet 'Reset-AzP2sVpnGateway' for customers to reset/reboot their VirtualWan P2SVpnGateway for troubleshooting.
    • ➕ Added new cmdlet 'Reset-AzVpnGateway' for customers to reset/reboot their VirtualWan VpnGateway for troubleshooting.
    • ⚡️ Updated 'Set-AzVirtualNetworkSubnetConfig'
      • Set NSG and Route Table properties of subnet to null if explicitly set in parameters [#1548][#9718]

    Az.RecoveryServices

    • 🛠 Fixed the Delete State for workload Backup Items.

    Az.Resources

    • ➕ Added missing check for Set-AzRoleAssignment
    • ➕ Added breaking change attribute to 'SubscriptionId' parameter of 'Get-AzResourceGroupDeploymentOperation'
    • ⚡️ Updated ARM template What-If cmdlets to show 'Ignore' resource changes last
    • 🛠 Fixed secure and array parameter serialization issues for deployment cmdlets [#12773]

    Az.ServiceFabric

    • ➕ Added new cmdlets for managed clusters and node types:
      • 'New-AzServiceFabricManagedCluster'
      • 'Get-AzServiceFabricManagedCluster'
      • 'Set-AzServiceFabricManagedCluster'
      • 'Remove-AzServiceFabricManagedCluster'
      • 'Add-AzServiceFabricManagedClusterClientCertificate'
      • 'Remove-AzServiceFabricManagedClusterClientCertificate'
      • 'New-AzServiceFabricManagedNodeType'
      • 'Get-AzServiceFabricManagedNodeType'
      • 'Set-AzServiceFabricManagedNodeType'
      • 'Remove-AzServiceFabricManagedNodeType'
      • 'Add-AzServiceFabricManagedNodeTypeVMExtension'
      • 'Add-AzServiceFabricManagedNodeTypeVMSecret'
      • 'Remove-AzServiceFabricManagedNodeTypeVMExtension'
      • 'Restart-AzServiceFabricManagedNodeTyp'
    • ⬆️ Upgraded Service Fabric SDK to version 1.2.0 which uses service fabric resource provider api-version 2020-03-01 for the current model and 2020-01-01-preview for managed clusters.

    Az.Sql

    • ➕ Added BackupStorageRedundancy to 'New-AzSqlInstance' and 'Get-AzSqlInstance'
    • ➕ Added cmdlet 'Get-AzSqlServerActiveDirectoryOnlyAuthentication'
    • ➕ Added cmdlet 'Enable-AzSqlServerActiveDirectoryOnlyAuthentication'
    • ➕ Added Force parameter to 'New-AzSqlInstance'
    • ➕ Added cmdlets for Managed Database Log Replay service
      • 'Start-AzSqlInstanceDatabaseLogReplay'
      • 'Get-AzSqlInstanceDatabaseLogReplay'
      • 'Complete-AzSqlInstanceDatabaseLogReplay'
      • 'Stop-AzSqlInstanceDatabaseLogReplay'
    • ➕ Added cmdlet 'Get-AzSqlInstanceActiveDirectoryOnlyAuthentication'
    • ➕ Added cmdlet 'Enable-AzSqlInstanceActiveDirectoryOnlyAuthentication'
    • ➕ Added cmdlet 'Disable-AzSqlInstanceActiveDirectoryOnlyAuthentication'
    • ⚡️ Updated cmdlets 'New-AzSqlDatabaseImport' and 'New-AzSqlDatabaseExport' to support network isolation functionality
    • ➕ Added cmdlet 'New-AzSqlDatabaseImportExisting'
    • ⚡️ Updated Databases cmdlets to support backup storage type specification
    • ➕ Added Force parameter to 'New-AzSqlDatabase'
    • ➕ Added warning for BackupStorageRedundancy configuration in select regions in 'New-AzSqlDatabase'
    • ⚡️ Updated ActiveDirectoryOnlyAuthentication cmdlets for server and instance to include ResourceId and InputObject

    Az.Storage

    • 🛠 Fixed upload blob fail by upgrade to Microsoft.Azure.Storage.DataMovement 2.0.0 [#12220]
    • 👌 Supported Point In Time Restore
      • 'Enable-AzStorageBlobRestorePolicy'
      • 'Disable-AzStorageBlobRestorePolicy'
      • 'New-AzStorageBlobRangeToRestore'
      • 'Restore-AzStorageBlobRange'
    • 👌 Supported get blob restore status of Storage account by run get-AzureRMStorageAccount with parameter -IncludeBlobRestoreStatus
      • 'Get-AzureRMStorageAccount'
    • ➕ Added breaking change warning message for upcoming cmdlet output change
      • 'Get-AzStorageContainerStoredAccessPolicy'
      • 'Set-AzStorageContainerStoredAccessPolicy'
      • 'Set-AzStorageAccountManagementPolicy'
      • 'Get-AzStorageAccountManagementPolicy'
      • 'Add-AzStorageAccountManagementPolicyAction'
      • 'New-AzStorageAccountManagementPolicyRule'
    • ⬆️ Upgraded Microsoft.Azure.Cosmos.Table SDK to 1.0.8

    Thanks to our community contributors

    • 🐳 Thomas Van Laere (@ThomVanL), Add Dockerfile-alpine-3.10 (#12911)
    • ⚡️ Lohith Chowdary Chilukuri (@Lochiluk), Update Remove-AzNetworkInterfaceIpConfig.md (#12807)
    • Roberth Strand (@roberthstrand), Get-AzResourceGroup - New example, and cleanup (#12828)
    • ⚡️ Ravi Mishra (@inmishrar), update Azure Web App runtime stack to DOTNETCORE (#12833)
    • ⚡️ @jack-education, Updated Set-AzVirtualNetworkSubnetConfig to allow NSG and Route Table to be removed from subnet (#12351)
    • ⚡️ @hagop-globanet, Update Add-AzApplicationGatewayCustomError.md (#12784)
    • Joshua Van Daalen (@greenSacrifice)
      • Update spelling of Property to Property (#12821)
      • Update New-AzResourceLock.md examples (#12806)
    • Eragon Riddle (@eragonriddle), Corrected parameter field name in the example (#12825)
    • @rossifumax, Fix typo in New-AzConfigurationAssignment.md (#12701)