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 -RequiredVersion 12.0.0

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
13.0.0 248,835 11/19/2024
12.5.0 733,295 11/11/2024
12.4.0 2,955,197 10/8/2024
12.3.0 2,486,675 9/3/2024
12.2.0 1,848,975 8/6/2024
12.1.0 1,617,648 7/9/2024
12.0.0 (current version) 4,506,692 5/21/2024
11.6.0 1,504,011 4/30/2024
11.5.0 1,747,873 4/2/2024
11.4.0 1,711,275 3/5/2024
11.3.1 1,407,856 2/9/2024
11.3.0 296,045 2/6/2024
11.2.0 1,456,336 1/9/2024
11.1.0 1,554,718 12/5/2023
11.0.0 1,140,187 11/14/2023
10.4.1 2,716,255 9/27/2023
10.4.0 69,056 9/26/2023
10.3.0 2,101,970 9/5/2023
10.2.0 1,279,716 8/1/2023
10.1.0 1,082,884 7/4/2023
10.0.0 1,489,942 5/23/2023
9.7.1 2,047,363 4/28/2023
9.7.0 143,035 4/25/2023
9.6.0 803,459 4/4/2023
9.5.0 1,127,256 3/9/2023
9.4.0 1,670,830 2/7/2023
9.3.0 1,224,427 1/10/2023
9.2.0 1,133,583 12/6/2022
9.1.1 665,198 11/17/2022
9.1.0 544,506 11/1/2022
9.0.1 962,849 10/17/2022
8.3.0 1,855,365 9/6/2022
8.2.0 905,843 8/2/2022
8.1.0 670,959 7/5/2022
8.0.0 3,908,080 5/24/2022
7.5.0 3,877,186 4/26/2022
7.4.0 373,958 4/5/2022
7.3.2 465,219 3/12/2022
7.3.0 249,387 3/1/2022
7.2.1 189,762 2/18/2022
7.2.0 277,692 2/7/2022
7.1.0 679,598 1/4/2022
7.0.0 490,047 12/7/2021
6.6.0 2,070,437 11/2/2021
6.5.0 519,600 10/12/2021
6.4.0 754,696 9/7/2021
6.3.0 644,292 8/3/2021
6.2.1 533,614 7/9/2021
6.2.0 67,006 7/6/2021
6.1.0 396,857 6/15/2021
6.0.0 397,157 5/25/2021
5.9.0 3,065,046 5/4/2021
5.8.0 440,706 4/13/2021
5.7.0 664,807 3/23/2021
5.6.0 538,625 3/2/2021
5.5.0 882,174 2/9/2021
5.4.0 1,646,332 1/19/2021
5.3.0 1,471,145 12/29/2020
5.2.0 1,394,329 12/8/2020
5.1.0 1,639,414 11/17/2020
5.0.0 1,713,053 10/27/2020
4.8.0 3,490,143 10/13/2020
4.7.0 264,592 9/22/2020
4.6.1 1,821,161 8/28/2020
4.6.0 118,737 8/25/2020
4.5.0 428,339 8/4/2020
4.4.0 364,064 7/14/2020
4.3.0 410,145 6/23/2020
4.2.0 395,525 6/2/2020
4.1.0 338,546 5/19/2020
4.0.2-preview 2,406 12/23/2019
4.0.1-preview 1,049 10/9/2019
3.8.0 2,000,697 4/21/2020
3.7.0 299,391 3/31/2020
3.6.1 371,950 3/10/2020
3.5.0 372,401 2/18/2020
3.4.0 204,738 2/4/2020
3.3.0 382,101 1/7/2020
3.2.0 326,413 12/17/2019
3.1.0 530,415 11/26/2019
3.0.0 461,388 11/4/2019
2.8.0 1,057,916 10/15/2019
2.7.0 184,554 9/24/2019
2.6.0 318,418 8/27/2019
2.5.0 396,737 7/30/2019
2.4.0 176,067 7/2/2019
2.3.2 176,035 6/18/2019
2.2.0 78,543 6/4/2019
2.1.0 70,117 5/21/2019
2.0.1 10,514 12/15/2021
2.0.0 112,164 5/6/2019
1.8.0 366,574 4/23/2019
1.7.0 53,993 4/9/2019
1.6.0 83,021 3/26/2019
1.5.0 55,961 3/12/2019
1.4.0 43,793 2/26/2019
1.3.0 33,041 2/12/2019
1.2.1 25,186 1/31/2019
1.2.0 4,834 1/29/2019
1.1.0 20,105 1/15/2019
1.0.1 33,766 12/18/2018
1.0.0 27,504 12/18/2018
0.10.0-preview 13,343 4/15/2020
0.7.0 14,731 12/4/2018
0.6.1 9,449 11/21/2018
0.5.0 9,931 11/6/2018
0.4.0 11,297 10/23/2018
0.3.0 11,060 10/9/2018
0.2.2 5,229 9/24/2018
0.1.0 698 8/28/2018
Show less