Az

12.0.0

Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows PowerShell.
For more information about the Az module, please visit the following: https://learn.microsoft.com/powershell/azure/

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Az

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Microsoft Corporation. All rights reserved.

Package Details

Author(s)

  • Microsoft Corporation

Tags

Azure ARM ResourceManager Linux AzureAutomationNotSupported

PSEditions

Core Desktop

Dependencies

Release Notes

12.0.0 - May 2024
General
* Fixed CVE-2024-29992.

Az.Accounts
* 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
](https://techcommunity.microsoft.com/t5/azure-tools-blog/announcing-a-new-login-experience-with-azure-powershell-and/ba-p/4109357)
* 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
* Removed the outdated deps.json file.

Az.ApiManagement
* Removed the outdated deps.json file.

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

Az.Billing
* Removed the outdated deps.json file.

Az.Compute
* 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
* Removed the out-of-date breaking change message for 'Get-AzCosmosDBAccountKey'.

Az.DataBoxEdge
* Removed the outdated deps.json file.

Az.DataFactory
* Updated ADF encryption client SDK version to 5.29.8499.2

Az.DataLakeStore
* Removed the outdated deps.json file.

Az.DataShare
* Removed the outdated deps.json file.

Az.DevTestLabs
* Removed the outdated deps.json file.

Az.DnsResolver
* General availability for module Az.DnsResolver

Az.EventGrid
* Updated to use the 2023-06-01-preview API version.

Az.EventHub
* Moved cmdlets to V4

Az.FrontDoor
* Removed the outdated deps.json file.

Az.IotHub
* Removed the outdated deps.json file.

Az.KeyVault
* [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
* Removed the outdated deps.json file.

Az.MachineLearningServices
* Removed the outdated deps.json file.

Az.Monitor
* Removed breaking change warning messages for Metric Management Plane
   * Get-AzMetric
   * Get-AzMetricDefinition
   * New-AzMetricFilter

Az.Network
* 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
* 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
* Removed the outdated deps.json file.

Az.RecoveryServices
* [Breaking Change] Renamed the property 'ResouceType' of 'ASRVaultSettings' to 'ResourceType'.

Az.RedisCache
* Fixed pattern for access policy resource names

Az.ResourceGraph
* General availability for module Az.ResourceGraph

Az.Resources
* 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
* Moved cmdlets to V4.

Az.ServiceFabric
* Updated location of nodeType to use cluster location in stead of resource group location

Az.Sql
* 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
* Fixed the placeholder in psd1 file.

Az.Storage
* 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
* Converted Az.Support to autorest-based module.

Az.Synapse
* Upgraded 'Microsoft.DataTransfer.Gateway.Encryption' to '5.29.8499.2'

FileList

Version History

Version Downloads Last updated
12.0.0 (current version) 795,685 5/21/2024
11.6.0 1,308,001 4/30/2024
11.5.0 1,725,851 4/2/2024
11.4.0 1,615,013 3/5/2024
11.3.1 1,329,583 2/9/2024
11.3.0 240,752 2/6/2024
11.2.0 1,445,548 1/9/2024
11.1.0 1,547,306 12/5/2023
11.0.0 1,119,317 11/14/2023
10.4.1 2,501,682 9/27/2023
10.4.0 68,897 9/26/2023
10.3.0 1,192,777 9/5/2023
10.2.0 1,276,119 8/1/2023
10.1.0 1,077,190 7/4/2023
10.0.0 1,485,983 5/23/2023
9.7.1 1,735,482 4/28/2023
9.7.0 142,697 4/25/2023
9.6.0 797,129 4/4/2023
9.5.0 1,118,697 3/9/2023
9.4.0 1,178,146 2/7/2023
9.3.0 1,196,790 1/10/2023
9.2.0 1,123,171 12/6/2022
9.1.1 651,018 11/17/2022
9.1.0 534,468 11/1/2022
9.0.1 829,784 10/17/2022
8.3.0 1,747,946 9/6/2022
8.2.0 897,555 8/2/2022
8.1.0 666,792 7/5/2022
8.0.0 3,864,919 5/24/2022
7.5.0 3,205,413 4/26/2022
7.4.0 371,646 4/5/2022
7.3.2 463,867 3/12/2022
7.3.0 234,714 3/1/2022
7.2.1 189,522 2/18/2022
7.2.0 253,524 2/7/2022
7.1.0 676,776 1/4/2022
7.0.0 488,061 12/7/2021
6.6.0 1,896,240 11/2/2021
6.5.0 518,390 10/12/2021
6.4.0 751,132 9/7/2021
6.3.0 639,890 8/3/2021
6.2.1 526,142 7/9/2021
6.2.0 65,078 7/6/2021
6.1.0 392,271 6/15/2021
6.0.0 393,971 5/25/2021
5.9.0 2,745,160 5/4/2021
5.8.0 440,608 4/13/2021
5.7.0 658,082 3/23/2021
5.6.0 538,312 3/2/2021
5.5.0 874,224 2/9/2021
5.4.0 1,645,722 1/19/2021
5.3.0 1,464,173 12/29/2020
5.2.0 1,389,504 12/8/2020
5.1.0 1,626,931 11/17/2020
5.0.0 1,712,644 10/27/2020
4.8.0 3,195,969 10/13/2020
4.7.0 261,051 9/22/2020
4.6.1 1,816,717 8/28/2020
4.6.0 118,374 8/25/2020
4.5.0 425,754 8/4/2020
4.4.0 362,008 7/14/2020
4.3.0 409,578 6/23/2020
4.2.0 392,096 6/2/2020
4.1.0 338,309 5/19/2020
4.0.2-preview 2,403 12/23/2019
4.0.1-preview 1,046 10/9/2019
3.8.0 1,952,397 4/21/2020
3.7.0 298,855 3/31/2020
3.6.1 371,497 3/10/2020
3.5.0 371,752 2/18/2020
3.4.0 204,728 2/4/2020
3.3.0 380,564 1/7/2020
3.2.0 326,407 12/17/2019
3.1.0 505,779 11/26/2019
3.0.0 460,040 11/4/2019
2.8.0 1,020,410 10/15/2019
2.7.0 184,506 9/24/2019
2.6.0 317,200 8/27/2019
2.5.0 389,959 7/30/2019
2.4.0 176,028 7/2/2019
2.3.2 175,298 6/18/2019
2.2.0 78,531 6/4/2019
2.1.0 70,094 5/21/2019
2.0.1 9,692 12/15/2021
2.0.0 110,187 5/6/2019
1.8.0 365,796 4/23/2019
1.7.0 53,807 4/9/2019
1.6.0 82,738 3/26/2019
1.5.0 55,955 3/12/2019
1.4.0 43,788 2/26/2019
1.3.0 33,034 2/12/2019
1.2.1 25,181 1/31/2019
1.2.0 4,830 1/29/2019
1.1.0 20,097 1/15/2019
1.0.1 33,756 12/18/2018
1.0.0 27,014 12/18/2018
0.10.0-preview 12,953 4/15/2020
0.7.0 14,689 12/4/2018
0.6.1 9,446 11/21/2018
0.5.0 9,928 11/6/2018
0.4.0 11,292 10/23/2018
0.3.0 11,055 10/9/2018
0.2.2 5,226 9/24/2018
0.1.0 695 8/28/2018
Show more