Azure PowerShell v8.0.0 Release Notes

Release Date: 2022-05-01 // about 2 years ago
  • Az.Accounts

    • ➕ Added a preview feature allowing user to control the following configurations by using 'Get-AzConfig', 'Update-AzConfig' and 'Clear-AzConfig':
      • 'DefaultSubscriptionForLogin': Subscription name or GUID. Sets the default context for Azure PowerShell when logging in without specifying a subscription.
      • 'DisplayBreakingChangeWarning': Controls if warning messages for breaking changes are displayed or suppressed.
      • 'EnableDataCollection': When enabled, Azure PowerShell cmdlets send telemetry data to Microsoft to improve the customer experience.
    • ⬆️ Upgraded System.Reflection.DispatchProxy on Windows PowerShell [#17856]
    • ⬆️ Upgraded Azure.Identity to 1.6.0 and Azure.Core to 1.24.0

    Az.Aks

    • ✂ Removed these aliases:
      • 'Get-AzAks'
      • 'New-AzAks'
      • 'Set-AzAks'
      • 'Remove-AzAks'

    Az.ApiManagement

    • [Breaking change] Replaced parameter 'Sample' by 'Examples' in 'New-AzApiManagementOperation' and 'Set-AzApiManagementOperation'
    • ⚡️ Updated APIM .Net SDK version to 8.0.0 / Api Version 2021-08-01

    Az.ApplicationInsights

    • ⬆️ Upgraded API version for ApplicationInsights component to 2020-02-02
    • 👌 Supported Log Analytics workspace-based component by 'New-AzApplicationInsights' and 'Update-AzApplicationInsights'

    Az.Cdn

    • ⬆️ Upgraded API version to 2021-06-01
    • ✂ Removed deprecated cmdlets
      • Disable-AzCdnCustomDomain
      • Enable-AzCdnCustomDomain
      • Get-AzCdnEdgeNodes
      • Get-AzCdnProfileSsoUrl
      • New-AzCdnDeliveryPolicy
      • Set-AzFrontDoorCdnSecret
    • ➕ Added new cmdlets
      • Clear-AzFrontDoorCdnEndpointContent
      • Get-AzFrontDoorCdnEndpointResourceUsage
      • Get-AzFrontDoorCdnOriginGroupResourceUsage
      • Get-AzFrontDoorCdnProfileResourceUsage
      • Get-AzFrontDoorCdnRuleSetResourceUsage
      • Test-AzFrontDoorCdnEndpointCustomDomain
      • Test-AzFrontDoorCdnEndpointNameAvailability
      • Test-AzFrontDoorCdnProfileHostNameAvailability
      • Update-AzFrontDoorCdnCustomDomainValidationToken
      • Update-AzFrontDoorCdnRule
    • ⚡️ Renamed Set cmdlets to Update cmdlets
    • ➕ Added 'Object' suffix to memory object creation cmdlets

    Az.Compute

    • Edited 'New-AzVm' cmdlet internal logic to use the 'PlatformFaultDomain' value in the 'PSVirtualMachine' object passed to it in the new virtual machine.
    • ➕ Added a new cmdlet named 'Restart-AzHost' to restart dedicated hosts.
    • ➕ Added '-DataAccessAuthMode' parameter to the following cmdlets:
      • 'New-AzDiskConfig'
      • 'New-AzDiskUpdateConfig'
      • 'New-AzSnapshotConfig'
      • 'New-AzSnapshotUpdateConfig'
    • ➕ Added '-Architecture' parameter to the following cmdlets:
      • 'New-AzDiskConfig'
      • 'New-AzDiskUpdateConfig'
      • 'New-AzSnapshotConfig'
      • 'New-AzSnapshotUpdateConfig'
      • 'New-AzGalleryImageDefinition'
    • ➕ Added '-InstanceView' parameter to 'Get-AzRestorePoint'
    • ➕ Added parameter '-ScriptString' to 'Invoke-AzvmRunCommand' and 'Invoke-AzvmssRunCommand'
    • ➕ Added parameter '-ScaleInPolicyForceDeletion' to 'Update-Azvmss'

    Az.ContainerRegistry

    • ⚡️ Updated parameter types from bool to bool? for 'Update-AzContainerRegistryRepository' [#17857]
      • 'ReadEnabled'
      • 'ListEnabled'
      • 'WriteEnabled'
      • 'DeleteEnabled'

    Az.CosmosDB

    • 👍 Introduced support for creating containers with Client Encryption Policy. The current supported version of Client Encryption Policy is 1.

    Az.DataFactory

    • ⚡️ Updated ADF .Net SDK version to 6.1.0
    • 🛠 Fixed Set-AzDataFactoryV2 -InputObject not correct with PublicNetworkAccess Parameter

    Az.EventHub

    • Made 'IPRule' and 'VirtualNetworkRule' optional in 'Set-AzEventHubNetworkRuleSet'.
    • 🗄 Deprecated older MSI properties in 'Set-AzEventHubNamespace' and 'New-AzEventHubNamespace'

    Az.Functions

    • 🛠 Fixed an issue that New-AzFunctionApp cmdlet should write a warning message when setting default values for parameters that are not provided.

    Az.HealthcareApis

    • Migrated module to generated codebase.
    • ➕ Added cmdlets:
      • New/Get/Update/Remove-AzHealthcareApisService
      • New/Get/Update/Remove-AzHealthcareApisWorkspace
      • New/Get/Update/Remove-AzHealthcareFhirService
      • New/Get/Update/Remove-AzHealthcareDicomService
      • New/Get/Update/Remove-AzHealthcareIoTConnector
      • New/Get/Remove-AzHealthcareIotConnectorFhirDestination
      • Get-AzHealthcareFhirDestination

    Az.KeyVault

    • ➕ Added 'Rotate' into the list of permissions to keys [#17970]

    Az.ManagedServiceIdentity

    • General availability of 'Az.ManagedServiceIdentity'

    Az.Network

    • 👌 Supported 'Microsoft.Network/privateLinkServices' in 'Get-AzPrivateEndpointConnection' [#16984].
    • 👍 Provided friendly message if resource type is not supported for private endpoint connection features [#17091].
    • ➕ Added 'DisableIPsecProtection' to 'Virtual Network Gateway'.
    • ➕ Added new cmdlets to create/manage authorization objects for ExpressRoutePort:
      • 'Add-AzExpressRoutePortAuthorization'
      • 'Get-AzExpressRoutePortAuthorization'
      • 'Remove-AzExpressRoutePortAuthorization'
    • ➕ Added option parameter 'AuthorizationKey' to cmdlet 'New-AzExpressRouteCircuit' to allow creating ExpressRoute Circuit on a ExpressRoutePort with a different owner.
    • 🛠 Fix bug that can't display CustomIpPrefix in PublicIpPrefix.
    • ⚡️ Updated cmdlets to add new property of 'HubRoutingPreference' in VirtualHub and set property of 'PreferredRoutingGateway' deprecated .
      • 'New-AzVirtualHub'
      • 'Update-AzVirtualHub'
    • ➕ Added optional parameter 'AuxiliaryMode' to cmdlet 'New-AzNetworkInterface' to enable this network interface as Sirius enabled. Allowed values are None(default) and MaxConnections.
    • ⚡️ Multipool feature change: Updated cmdlets to add new optional property: 'ConfigurationPolicyGroups' object for associating policy groups.
      • 'Update-AzVpnServerConfiguration'
      • 'New-AzVpnServerConfiguration'
    • ⚡️ Multipool feature change: Updated cmdlets to add new optional property: 'P2SConnectionConfiguration' object for specifying multiple Connection configurations.
      • 'Update-AzP2sVpnGateway'
      • 'New-AzP2sVpnGateway'
    • 🔧 Multipool feature change: Added new cmdlets to support CRUD of Configuration policy groups for VpnServerConfiguration.
      • 'Get-AzVpnServerConfigurationPolicyGroup'
      • 'New-AzVpnServerConfigurationPolicyGroup'
      • 'Update-AzVpnServerConfigurationPolicyGroup'
      • 'Remove-AzVpnServerConfigurationPolicyGroup'

    Az.RecoveryServices

    • ➕ Added support for Multi-user authorization using Resource Guard for recovery services vault.
    • ➕ Added support for cross subscription restore for recovery services vault, modified storage account to be fetched from target subscription.

    Az.Resources

    • ➕ Added cmdlet for Application federated identity credential
      • 'Get-AzADAppFederatedIdentityCredential'
      • 'New-AzADAppFederatedIdentityCredential'
      • 'Remove-AzADAppFederatedIdentityCredential'
      • 'Update-AzADAppFederatedIdentityCredential'
    • ⬆️ Upgraded and revised 'Get-AzLocation' cmdlet:
      • Upgraded 'subscriptionClient' for 'Get-AzLocation'. Changed its apiVersion from 2016-01-01 to 2021-01-01.[#18002]
      • Added all attributes of location info for 'Get-AzLocation', including 'pairedRegion' and so on. [#18045][#17536]
      • Support ExtendedLocations by 'Get-AzLocation' [#18046]
    • ➕ Added the following cmdlets to remain in parity with 2021-04-01 API version:
      • 'New-AzHierarchySetting'
      • 'Get-AzHierarchySetting'
      • 'Update-AzHierarchySetting'
      • 'Remove-AzHierarchySetting'
      • 'Get-AzManagementGroupSubscription'
      • 'Get-AzSubscriptionUnderManagementGroup'
      • 'Start-AzTenantBackfill'
      • 'Get-AzTenantBackfillStatus'
      • 'Get-AzManagementGroupNameAvailability'
      • 'Get-AzEntity'
    • [Breaking Change] Renamed property isSyncedFromOnPremis to isSyncedFromOnPremise to align with API spec

    🔒 Az.Security

    • ➕ Added new cmdlet: 'Get-AzSecuritySolution'
    • ➕ Added Alerts Suppression Rules to cmdlets: 'Get-AlertsSuppressionRule' 'Remove-AlertsSuppressionRule' 'Set-AlertsSuppressionRule' 'New-AzAlertsSuppressionRuleScope'

    Az.ServiceBus

    • 🛠 Fixed miscellaneous network rule set typos across module.
    • ➕ Add 'TrustedServiceAccessEnabled' to 'Set-AzServiceBusNetworkRuleSet'

    Az.Sql

    • ➕ Added new cmdlet 'Get-AzSqlInstanceEndpointCertificate'
    • ➕ Added parameter 'HighAvailabilityReplicaCount' to 'New-AzSqlElasticPool' and 'Set-AzSqlElasticPool'

    Az.Storage

    • 👌 Supported generate Sas token for DataLakeGen2
      • 'New-AzDataLakeGen2SasToken'
    • 🏗 Showed OAuth token in debug log in debug build only
      • 'New-AzStorageContext'
    • 👌 Supported return more file properties when list Azure file
      • 'Get-AzStorageFile'

    Az.Synapse

    • ➕ Added support for Synapse Link for Azure Sql Database
      • Added 'Get-AzSynapseLinkConnection' cmdlet
      • Added 'Get-AzSynapseLinkConnectionDetailedStatus' cmdlet
      • Added 'Set-AzSynapseLinkConnection' cmdlet
      • Added 'Remove-AzSynapseLinkConnection' cmdlet
      • Added 'Start-AzSynapseLinkConnection' cmdlet
      • Added 'Stop-AzSynapseLinkConnection' cmdlet
      • Added 'Set-AzSynapseLinkConnectionLinkTable' cmdlet
      • Added 'Get-AzSynapseLinkConnectionLinkTable' cmdlet
      • Added 'Get-AzSynapseLinkConnectionLinkTableStatus' cmdlet
      • Added 'Update-AzSynapseLinkConnectionLandingZoneCredential' cmdlet
    • ⚡️ Set 'UploadedTimestamp' when adding package to spark pool by 'Update-AzSynapseSparkPool'

    Az.Websites

    • ⚡️ Updated 'Get-AzWebApp' and 'Get-AzWebAppSlot' to expose 'VirtualNetworkSubnetId' property [#18042]

    Thanks to our community contributors

    • 🛠 @bb-froggy, Fixed dead link to the DCR Overview (#17998)
    • Darryl van der Peijl (@DarrylvanderPeijl), Changing on-premise to on-premises (#17974)
    • Hiroshi Yoshioka (@hyoshioka0128), Typo "Github Actions"→"GitHub Actions" (#18160)
    • @misbamustaqim, Adding DisableIPsecProtection check(bool) to Virtual Network Gateway (#18029)
    • 📚 Scott Tang (@scottwtang), Update documentation for Get-AzApiManagementSubscription cmdlet (#18027)
    • ⚡️ @SnehaSudhirG, Update Get-AzAutomationScheduledRunbook.md (#18059)