Skip to content

Az 12.0.0

Latest
Compare
Choose a tag to compare
@YanaXu YanaXu released this 16 May 09:40

Gallery Module for Azure PowerShell: https://www.powershellgallery.com/packages/Az/12.0.0

To install Az from the PowerShell Gallery, run the following command:

Install-Module -Name Az -Repository PSGallery -Force

To update from an older version of Az, run the following command:

Update-Module -Name Az

Docker images

  • mcr.microsoft.com/azure-powershell:latest
  • mcr.microsoft.com/azure-powershell:alpine-3.16
  • mcr.microsoft.com/azure-powershell:12.0.0-alpine-3.16
  • mcr.microsoft.com/azure-powershell:alpine-3.17
  • mcr.microsoft.com/azure-powershell:12.0.0-alpine-3.17
  • mcr.microsoft.com/azure-powershell:debian-11
  • mcr.microsoft.com/azure-powershell:12.0.0-debian-11
  • mcr.microsoft.com/azure-powershell:debian-12
  • mcr.microsoft.com/azure-powershell:12.0.0-debian-12
  • mcr.microsoft.com/azure-powershell:mariner-2
  • mcr.microsoft.com/azure-powershell:12.0.0-mariner-2
  • mcr.microsoft.com/azure-powershell:mariner-2-arm64
  • mcr.microsoft.com/azure-powershell:12.0.0-mariner-2-arm64
  • mcr.microsoft.com/azure-powershell:ubi-8
  • mcr.microsoft.com/azure-powershell:12.0.0-ubi-8
  • mcr.microsoft.com/azure-powershell:ubi-9
  • mcr.microsoft.com/azure-powershell:12.0.0-ubi-9
  • mcr.microsoft.com/azure-powershell:ubuntu-20.04
  • mcr.microsoft.com/azure-powershell:12.0.0-ubuntu-20.04
  • mcr.microsoft.com/azure-powershell:ubuntu-22.04
  • mcr.microsoft.com/azure-powershell:12.0.0-ubuntu-22.04

Release Notes

General

Az.Accounts 3.0.0

  • Web Account Manager (WAM) was set the default experience of interactive login. For more details please refer to https://go.microsoft.com/fwlink/?linkid=2272007
  • Enabled secrets detection option by default.
  • Fixed a null reference issue during the process of 'Get-AzContext -ListAvailable' [#24854].
  • Supported interactive subscription selection for user login flow. See more details at Announcing a new login experience with Azure PowerShell and Azure CLI
  • Added config 'LoginExperienceV2' to allow customer to switch the default behavior of context selection back. Check the help document of 'Update-AzConfig' for more details.
  • Supported auto-discovery of the endpoint of OperationalInsights (azure-powershell-common/pull/414)
  • Updated the reference of Azure PowerShell Common to 1.3.94-preview.
  • [Breaking Change] Removed config 'DisableErrorRecordsPersistence' to disable writing error records, error recording is now opt-in
  • Added config 'EnableErrorRecordsPersistence' to enable writing error records to file system

Az.AnalysisServices 1.1.5

  • Removed the outdated deps.json file.

Az.ApiManagement 4.0.3

  • Removed the outdated deps.json file.

Az.Batch 3.6.1

  • Removed the out-of-date breaking change message for 'Get-AzBatchCertificate' and 'New-AzBatchCertificate'.

Az.Billing 2.0.4

  • Removed the outdated deps.json file.

Az.Compute 8.0.0

  • Added new optional parameter 'SecureVMGuestStateSAS' to cmdlet 'Grant-AzDiskAccess'.
  • [Breaking Change] Added ValidateNotNullOrEmpty for '-ResourceGroupName' and '-VMScaleSetName' parameters to 'Get-AzVmss' cmdlet. [#20095]
  • Added 'Etag' property to PSVirtualMachine and PSVirtualMachineScaleSet objects.
  • Added parameters '-IfMatch' and '-IfNoneMatch' to 'Update-AzVM', 'Update-AzVmss', 'New-AzVm', 'New-AzVmss', 'New-AzVmConfig', and 'New-AzVmssConfig' cmdlets.
  • [Breaking Change] Cmdlet 'New-AzGalleryImageDefinition' will default parameter '-HyperVGeneration' to 'V2' if it is not set as 'V1' explicitly, and also default parameter '-Feature' by adding '@{Name='SecurityType';Value='TrustedLaunchSupported'}' if the 'SecurityType' feature is not set explicitly.
  • Resolved the bug with 'New-AzVMConfig' for '-CommunityGalleryImageId' and '-SharedGalleryImageId' parameters.
  • [Breaking Change] Added ValidateNotNullOrEmpty for '-ResourceGroupName' and '-VMScaleSetName' parameters to 'Get-AzVmss' cmdlet. [#20095]
  • [Breaking Change] Added new business logic to 'New-AzVmss' and 'New-AzVM' cmdlets. When the user explicitly sets the 'SecurityType' to 'Standard', the Image alias defaults to 'Win2022AzureEdition' to make future migrations to Trusted Launch easier.

Az.CosmosDB 1.14.3

  • Removed the out-of-date breaking change message for 'Get-AzCosmosDBAccountKey'.

Az.DataBoxEdge 1.1.1

  • Removed the outdated deps.json file.

Az.DataFactory 1.18.4

  • Updated ADF encryption client SDK version to 5.29.8499.2

Az.DataLakeStore 1.3.1

  • Removed the outdated deps.json file.

Az.DataShare 1.0.2

  • Removed the outdated deps.json file.

Az.DevTestLabs 1.0.3

  • Removed the outdated deps.json file.

Az.DnsResolver 1.0.0

  • General availability for module Az.DnsResolver

Az.EventGrid 2.0.0

  • Updated to use the 2023-06-01-preview API version.

Az.EventHub 5.0.0

  • Moved cmdlets to V4

Az.FrontDoor 1.10.1

  • Removed the outdated deps.json file.

Az.IotHub 2.7.6

  • Removed the outdated deps.json file.

Az.KeyVault 6.0.0

  • [Breaking change] Removed the offline fallback policy if specify parameter 'UseDefaultCVMPolicy' in 'Add-AzKeyVaultKey'. Key creation will fail if unable to get regional default CVM SKR policy from MAA Service Discovery API.
  • [Breaking change] Removed parameter 'Value' from 'Invoke-AzKeyVaultKeyOperation'.
  • [Breaking change] Removed property 'Result' from the output type 'PSKeyOperationResult' of 'Invoke-AzKeyVaultKeyOperation'.
  • [Breaking Change] Replaced parameter 'EnableRbacAuthorization' by 'DisableRbacAuthorization' in 'New-AzKeyVault' and 'Update-AzKeyVault'.
    • RBAC will be enabled by default during the process of key vault creation.

Az.MachineLearning 1.1.4

  • Removed the outdated deps.json file.

Az.MachineLearningServices 1.0.1

  • Removed the outdated deps.json file.

Az.Monitor 5.2.1

  • Removed breaking change warning messages for Metric Management Plane
    • Get-AzMetric
    • Get-AzMetricDefinition
    • New-AzMetricFilter

Az.Network 7.6.0

  • Added cmdlet 'New-AzVirtualApplianceNetworkProfile' to build network profile for network virtual appliance and pass as a parameter.
  • Added cmdlet 'New-AzVirtualApplianceNetworkInterfaceConfiguration' and 'New-AzVirtualApplianceIpConfiguration' to build 'New-AzVirtualApplianceNetworkProfile'.
  • Added support for ApplicationGatewaySkuFamily
  • Updated cmdlet to add the property of JSChallengeCookieExpirationInMins
    • 'New-AzApplicationGatewayFirewallPolicySetting'
  • Added optional property 'HeaderValueMatcher' to 'New-AzApplicationGatewayRewriteRuleHeaderConfiguration'
  • Added new cmdlet 'New-AzApplicationGatewayHeaderValueMatcher' to support for the new property 'HeaderValueMatcher'
  • Added new cmdlet 'Update-AzVirtualApplianceInboundSecurityRule' to support Inbound Security Rule for Network Virtual Appliance
  • Added new cmdlet 'New-AzVirtualApplianceInboundSecurityRulesProperty' to support for the property 'rules' of Inbound Security Rules
  • Added AdminState parameter to Load Balancer Backend Address
    • 'New-AzLoadBalancerBackendAddressConfig'
  • Updated PS SDK to older SDK removing identity field

Az.OperationalInsights 3.2.1

  • Fixed an issue that 'Invoke-AzOperationalInsightsQuery' timed out after 100 seconds. The timeout is now bound to the '-Wait' parameter. (#16553)
  • Removed the outdated deps.json file.

Az.PrivateDns 1.0.5

  • Removed the outdated deps.json file.

Az.RecoveryServices 7.0.0

  • [Breaking Change] Renamed the property 'ResouceType' of 'ASRVaultSettings' to 'ResourceType'.

Az.RedisCache 1.9.1

  • Fixed pattern for access policy resource names

Az.ResourceGraph 1.0.0

  • General availability for module Az.ResourceGraph

Az.Resources 7.1.0

  • Fixed deployment and deployment stack New/Set cmdlets to fail if template/parameter uri fails to downloads.
  • Deployment Stack cmdlets GA release/updates.
  • [Breaking Change] Redesigned CRUD cmdlets for 'PolicyAssignment', 'PolicyDefinition', 'PolicyExemption', 'PolicySetDefinition'. Please see Az 12 migration guide https://learn.microsoft.com/en-us/powershell/azure/migrate-az-12.0.0 for more detail.
  • Added null check to the permissions object in the ToPSRoleDefinition method to return if the whole permissions object array is null.

Az.ServiceBus 4.0.0

  • Moved cmdlets to V4.

Az.ServiceFabric 3.3.3

  • Updated location of nodeType to use cluster location in stead of resource group location

Az.Sql 5.0.0

  • Added multi-secondary support for 'Get-AzSqlDatabaseFailoverGroup', 'Remove-AzSqlDatabaseFromFailoverGroup' and 'Add-AzSqlDatabaseFromFailoverGroup'
  • Changed default FailoverPolicy value for 'New-AzSqlDatabaseFailoverGroup', 'Set-AzSqlDatabaseFailoverGroup' from 'Automatic' to 'Manual'
  • Added 'ManualCutover' and 'PerformCutover' parameters to 'Set-AzSqlInstance' for Azure Sql Sterling database to Azure Sql Hyperscale database
  • Added 'OperationPhaseDetails' parameter to 'Get-AzSqlDatabaseActivity' and updated 'DatabaseOperations' Api to version '2022-11-01-preview' for .Net Sdk

Az.StackHCIVM 1.0.4

  • Fixed the placeholder in psd1 file.

Az.Storage 7.0.0

  • Added a prompt that needs confirmation when upgrading a storage account from StorageV1 or BlobStorage to StorageV2. Can be suppressed with -Force.
    • 'Set-AzStorageAccount'
  • Removed references to 'Microsoft.Azure.Storage.Queue' in Queue cmdlets
    • 'Get-AzStorageQueue'
    • 'New-AzStorageQueue'
    • 'New-AzStorageQueueSASToken'
  • When uploading an Azure File with write only SAS token, take the parameter -Path as destination file path, instead of destination directory path previously.
    • 'Set-AzStorageFileContent'

Az.Support 2.0.0

  • Converted Az.Support to autorest-based module.

Az.Synapse 3.0.8

  • Upgraded 'Microsoft.DataTransfer.Gateway.Encryption' to '5.29.8499.2'

SHA256 Hashes of the release artifacts

  • Az-Cmdlets-12.0.0.38629.tar.gz
    • CB397F4526892A0A01F7AD4DA5137063F14CDAA3AF01219C3103CEE8AA7ECAD9