Az
16.2.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
Owners
Copyright
Microsoft Corporation. All rights reserved.
Package Details
Author(s)
- Microsoft Corporation
Tags
Azure ARM ResourceManager Linux AzureAutomationNotSupported
PSEditions
Dependencies
-
- Az.Accounts (>= 5.5.2)
- Az.Advisor (= 3.0.0)
- Az.Aks (= 7.2.1)
- Az.AnalysisServices (= 1.3.0)
- Az.ApiManagement (= 4.2.0)
- Az.App (= 2.0.1)
- Az.AppConfiguration (= 2.2.0)
- Az.ApplicationInsights (= 3.0.0)
- Az.ArcResourceBridge (= 2.0.0)
- Az.ArizeAI (= 1.0.0)
- Az.Attestation (= 3.1.0)
- Az.Automanage (= 2.0.0)
- Az.Automation (= 1.12.1)
- Az.Batch (= 4.1.1)
- Az.Billing (= 2.3.0)
- Az.Cdn (= 6.1.0)
- Az.CloudService (= 3.0.0)
- Az.CognitiveServices (= 1.17.1)
- Az.Compute (= 11.8.0)
- Az.ConfidentialLedger (= 2.0.0)
- Az.ConnectedMachine (= 1.1.1)
- Az.ContainerInstance (= 5.0.0)
- Az.ContainerRegistry (= 5.1.0)
- Az.CosmosDB (= 1.21.1)
- Az.DataBoxEdge (= 1.3.0)
- Az.Databricks (= 2.0.0)
- Az.DataFactory (= 1.20.1)
- Az.DataLakeAnalytics (= 1.2.0)
- Az.DataLakeStore (= 1.6.0)
- Az.DataMigration (= 1.1.1)
- Az.DataProtection (= 3.0.1)
- Az.DataShare (= 1.2.0)
- Az.DataTransfer (= 1.0.0)
- Az.DesktopVirtualization (= 6.0.0)
- Az.DevCenter (= 3.0.0)
- Az.DeviceRegistry (= 1.0.0)
- Az.DevTestLabs (= 1.2.0)
- Az.Dns (= 2.2.0)
- Az.DnsResolver (= 2.0.0)
- Az.ElasticSan (= 1.7.0)
- Az.EventGrid (= 2.2.0)
- Az.EventHub (= 5.6.0)
- Az.Fabric (= 1.0.0)
- Az.FileShare (= 1.0.0)
- Az.FirmwareAnalysis (= 1.0.0)
- Az.FrontDoor (= 2.3.0)
- Az.Functions (= 5.0.1)
- Az.HDInsight (= 6.5.0)
- Az.HealthcareApis (= 3.0.0)
- Az.HealthDataAIServices (= 1.0.0)
- Az.IotHub (= 2.9.1)
- Az.KeyVault (= 6.6.0)
- Az.Kusto (= 3.0.0)
- Az.LambdaTest (= 1.0.0)
- Az.LoadTesting (= 2.0.0)
- Az.LogicApp (= 1.7.0)
- Az.MachineLearning (= 1.3.0)
- Az.MachineLearningServices (= 2.0.0)
- Az.Maintenance (= 1.6.0)
- Az.ManagedServiceIdentity (= 2.0.0)
- Az.ManagedServices (= 4.0.0)
- Az.MarketplaceOrdering (= 2.2.0)
- Az.Migrate (= 3.0.0)
- Az.Monitor (= 8.0.0)
- Az.MySql (= 2.0.0)
- Az.NetAppFiles (= 1.4.0)
- Az.Network (= 8.1.0)
- Az.NetworkCloud (= 3.0.0)
- Az.Nginx (= 2.0.0)
- Az.NotificationHubs (= 1.3.0)
- Az.OperationalInsights (= 3.4.1)
- Az.Oracle (= 2.0.0)
- Az.PolicyInsights (= 2.0.0)
- Az.PowerBIEmbedded (= 2.2.0)
- Az.PrivateDns (= 1.3.0)
- Az.RecoveryServices (= 7.14.0)
- Az.RedisCache (= 1.12.0)
- Az.RedisEnterpriseCache (= 2.0.0)
- Az.Relay (= 3.0.0)
- Az.ResourceGraph (= 1.3.0)
- Az.ResourceMover (= 2.0.0)
- Az.Resources (= 10.1.0)
- Az.Security (= 1.9.0)
- Az.SecurityInsights (= 4.0.0)
- Az.ServiceBus (= 4.3.0)
- Az.ServiceFabric (= 5.2.0)
- Az.SignalR (= 3.0.0)
- Az.Sql (= 7.0.0)
- Az.SqlVirtualMachine (= 3.0.0)
- Az.StackHCI (= 3.0.0)
- Az.StackHCIVM (= 2.0.0)
- Az.Storage (= 9.7.2)
- Az.StorageAction (= 2.0.0)
- Az.StorageDiscovery (= 1.0.0)
- Az.StorageMover (= 2.1.0)
- Az.StorageSync (= 2.6.0)
- Az.StreamAnalytics (= 3.0.0)
- Az.Support (= 2.1.0)
- Az.Synapse (= 3.3.0)
- Az.TrafficManager (= 1.4.0)
- Az.Websites (= 4.0.0)
- Az.Workloads (= 2.0.0)
Release Notes
16.2.0 - August 2026
Az.Accounts
* Upgraded 'Azure.Core' dependency from 1.56.0 to 1.57.0.
* Upgraded 'System.ClientModel' dependency from 1.12.0 to 1.13.0.
Az.Cdn
* Upgraded API version to 2026-04-01-preview.
* Fixed CDN long-running operations that returned completed resource responses without a Location header.
Az.Compute
* Deprecated installing the legacy Azure Enhanced Monitoring (AEM) extension for SAP on Virtual Machines (VMs); 'Set-AzVMAEMExtension' now installs the new extension by default.
* Added 'New-AzInterconnectBlock', 'Get-AzInterconnectBlock', 'Update-AzInterconnectBlock', and 'Remove-AzInterconnectBlock' cmdlets to manage Microsoft.Compute/interconnectBlocks resources for high-performance artificial intelligence (AI) and machine learning (ML) workloads.
* Marked the '-EnableWAD', '-SkipStorage', and '-InstallNewExtension' parameters of 'Set-AzVMAEMExtension' as deprecated using breaking-change attributes. They will be removed in a future major release.
* Preserved CMD-special characters in 'Invoke-AzVMRunCommand' and 'Invoke-AzVmssVMRunCommand' parameter values for Windows PowerShell RunCommand execution. [#29880]
Az.CosmosDB
* Upgraded 'Azure.Security.KeyVault.Keys' to '4.10.0' to align with other modules.
Az.EventHub
* Added parameter 'IPAddressType' to cmdlets 'New-AzEventHubNamespace' and 'Set-AzEventHubNamespace'
Az.FrontDoor
* Added support for Front Door WAF managed rule exceptions.
- Added 'ExceptionListException' to 'New-AzFrontDoorWafPolicy' and 'Update-AzFrontDoorWafPolicy'.
- Added helper cmdlets for WAF managed rule exception scopes.
Az.Functions
* Updated the Function App stacks parser to handle a runtime definition that does not include a 'FUNCTIONS_WORKER_RUNTIME' app setting. [#29630]
* Added support in 'New-AzFunctionApp' to create Go function apps hosted in Flex Consumption plans.
Az.KeyVault
* Populated 'KeySize' in 'Get-AzKeyVaultKey' output for additional key types when available; previously only RSA keys had a size populated.
* Upgraded 'Azure.Security.KeyVault.Keys' dependency from '4.6.0-beta.1' to '4.10.0'.
Az.NetAppFiles
* Added FileAccessLogs to 'Get-AzNetAppFilesCache' output.
* Added Breakthrough Mode support for Azure NetApp Files volumes:
- Added '-BreakthroughMode' to 'New-AzNetAppFilesVolume' and 'New-AzNetAppFilesVolumeGroup'.
- Added 'BreakthroughMode' to volume output in 'Get-AzNetAppFilesVolume' and 'Get-AzNetAppFilesVolumeGroup'
Az.Network
* Added new cmdlets for ConnectionPolicy management under VirtualHub
- 'Get-AzConnectionPolicy': Retrieve one or all ConnectionPolicy resources under a VirtualHub
- 'New-AzConnectionPolicy': Create a new ConnectionPolicy under a VirtualHub
- 'Set-AzConnectionPolicy': Update an existing ConnectionPolicy under a VirtualHub
- 'Remove-AzConnectionPolicy': Delete a ConnectionPolicy from a VirtualHub
* Added Managed HSM support to Application Gateway SSL certificate cmdlets ('New-AzApplicationGatewaySslCertificate', 'Set-AzApplicationGatewaySslCertificate', 'Add-AzApplicationGatewaySslCertificate') with '-HsmKeyId' and '-HsmPublicCertData' parameters.
* Updated Virtual Network and Virtual Network Appliance cmdlets to use new properties.
- 'New-AzVirtualNetwork': Added '-SummarizedGatewayPrefix' parameter to specify summarized gateway prefixes advertised for the virtual network, and exposed 'SummarizedGatewayPrefixes' on the returned object.
- 'New-AzVirtualNetworkAppliance': Added '-PrivateIPAddressVersion' parameter (IPv4, DualStack) to support dual-stack Virtual Network Appliances, and exposed 'PrivateIPAddressVersion' on the returned object.
* Added support for equal-cost multi-path (ECMP) routing in route tables
- Added the 'VirtualApplianceEcmp' next hop type to 'New-AzRouteConfig', 'Add-AzRouteConfig', and 'Set-AzRouteConfig'
- Extended the '-NextHopIpAddress' parameter to accept a list of next hop IP addresses (2 to 64) for ECMP routes when the next hop type is 'VirtualApplianceEcmp'
- Added the 'NextHop' property to the route output returned by 'Get-AzRouteTable'
* Added DisablePeeringRoute support for Route Table
- Added '-DisablePeeringRoute' parameter to 'New-AzRouteTable' cmdlet
- Supported values are 'None' and 'All'
* Added property 'Nat64' to NatGateway and support for it in the following cmdlets:
- 'New-AzNatGateway'
- 'Set-AzNatGateway'
* Fixed 'Get-AzPrivateDnsZoneGroup' list mode passing the resource group and private endpoint names to the SDK in the wrong order, which caused a 'ResourceGroupNotFound' error when listing private DNS zone groups without the '-Name' parameter.
* Added properties 'ServiceTag', 'ReadinessState', 'Description', and 'OutboundSupported' to 'Get-AzNetworkSecurityPerimeterAssociableResourceType' response.
* Removed validations to allow newly added AuxiliarySkus in New-AzNetworkInterface command without needing to add them in ValidateSet.
* Added new cmdlets for DDoS Custom Policy management
- 'New-AzDdosCustomPolicy': Create a new DDoS custom policy with detection rules
- 'New-AzDdosCustomPolicy' requires at least one detection rule at creation time
- 'New-AzDdosCustomPolicyDetectionRule': Create a DDoS custom policy detection rule
- 'Add-AzDdosCustomPolicyDetectionRule': Add a detection rule to an in-memory DDoS custom policy before persisting it with 'Set-AzDdosCustomPolicy'
- 'Get-AzDdosCustomPolicy': Retrieve a DDoS custom policy by resource group and name
- 'Remove-AzDdosCustomPolicy': Remove a DDoS custom policy
- 'Remove-AzDdosCustomPolicyDetectionRule' and 'Set-AzDdosCustomPolicy': Support the load balancer style workflow to mutate a local policy object and then persist it
- Supports multiple detection rules with configurable traffic type (Tcp, Udp, TcpSyn) and packets per second thresholds
* Updated the API version of 'Microsoft.HardwareSecurityModules/cloudHsmClusters' to '2025-03-31' for Private Link Common Cmdlets
* Onboarded 'Microsoft.HardwareSecurityModules/paymentHsmClusters' to Private Link Common Cmdlets
* Fixed an issue where 'VerifyClientAuthMode' was not preserved during PowerShell and SDK model conversions for Application Gateway client authentication configuration
* Added cmdlets for cloud service public IP address operations:
- 'Invoke-AzPublicIpAddressCloudServiceReservation': reserve a cloud service public IP or roll back to dynamic allocation ('-IsRollback').
- 'Invoke-AzPublicIpAddressDisassociateCloudServiceReservedIp': disassociate a standalone reserved public IP from a cloud service public IP. Use '-PublicIpArmId' for the Azure Resource Manager (ARM) resource ID of the standalone public IP.
Az.RecoveryServices
* Added Cross Subscription Backup (CSB) support for Azure VM:
- Added optional '-ContainerSubscriptionId' parameter in 'Enable-AzRecoveryServicesBackupProtection' to configure backup for a VM residing in a different subscription than the vault.
- Added Original Location Recovery (OLR) support for cross-subscription protected items in 'Restore-AzRecoveryServicesBackupItem' (the container subscription is derived from the recovery point, no additional input required).
- Added 'ContainerSubscriptionId' property to the backup item response of 'Get-AzRecoveryServicesBackupItem'.
- Added 'ContainerSubscriptionId' property to the detailed job response of 'Get-AzRecoveryServicesBackupJobDetail'.
- Added client-side validation when '-ContainerSubscriptionId' is supplied so a non-existent VM/resource group/subscription or a VM in a different region than the vault fails with a clear, VM-specific error message.
* Fixed Private Disk Access parameters being silently dropped when adding disks to, reprotecting, or cluster-reprotecting an Azure-to-Azure managed-disk replication
- 'Add-AzRecoveryServicesAsrReplicationProtectedItemDisk' now honors '-RecoveryNetworkAccessPolicy', '-RecoveryDiskAccessId' and '-RecoveryPublicNetworkAccess' supplied on the disk replication configuration
- 'Update-AzRecoveryServicesAsrProtectionDirection' (reprotect) forwards the same three fields on the switch-protection call
- 'Update-AzRecoveryServicesAsrClusterProtectionDirection' (cluster reprotect) forwards the same three fields on the cluster switch-protection call
* Added support for configuring Cost Management Settings (granularity level) on Recovery Services vaults via 'New-AzRecoveryServicesVault' and 'Update-AzRecoveryServicesVault'.
Az.Resources
* Added deployment stack WhatIfResult cmdlets for resource group, subscription, and management group scopes.
- Added help content and aligned new parameter names with Azure PowerShell naming conventions.
- Exported all deployment stack WhatIfResult cmdlets from the module manifest.
Az.ServiceBus
* Added parameters 'GeoDataReplicationMaxReplicationLagDurationInSecond', 'GeoDataReplicationLocation', and 'IPAddressType' to cmdlets 'New-AzServiceBusNamespace' and 'Set-AzServiceBusNamespace'
* Added new cmdlets for doing namespace failover - 'Start-AzServiceBusNamespaceFailOver'
* Added new cmdlets for generating replication object for Replication parameter - 'New-AzServiceBusLocationsNameObject'
* Added new cmdlets 'Get-AzServiceBusNetworkSecurityPerimeterConfiguration', 'Get-AzServiceBusNetworkSecurityPerimeterConfigurationsForAssociation'
Az.Storage
* Fixed a path traversal issue in 'Get-AzStorageBlobContent' and 'Get-AzDataLakeGen2ItemContent' where a source blob/file name containing directory traversal segments (e.g. '../') could write content outside the specified destination directory.
FileList
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 16.2.0 (current version) | 218,342 | 8/4/2026 |
| 16.1.0 | 3,736,669 | 7/7/2026 |
| 16.0.0 | 7,543,389 | 6/2/2026 |
| 15.6.1 | 4,918,965 | 5/6/2026 |
| 15.6.0 | 299,798 | 5/5/2026 |
| 15.5.0 | 5,385,823 | 4/7/2026 |
| 15.4.0 | 6,563,771 | 3/3/2026 |
| 15.3.0 | 5,403,720 | 2/3/2026 |
| 15.2.0 | 4,143,788 | 1/13/2026 |
| 15.1.0 | 7,634,554 | 12/2/2025 |
| 15.0.0 | 2,764,635 | 11/18/2025 |
| 14.6.0 | 2,788,934 | 11/4/2025 |
| 14.5.0 | 3,943,022 | 10/14/2025 |
| 14.4.0 | 8,024,723 | 9/2/2025 |
| 14.3.0 | 5,062,135 | 8/5/2025 |
| 14.2.0 | 6,170,140 | 7/1/2025 |
| 14.1.0 | 4,362,169 | 6/3/2025 |
| 14.0.0 | 2,321,309 | 5/19/2025 |
| 13.5.0 | 2,317,169 | 5/6/2025 |
| 13.4.0 | 4,698,384 | 4/1/2025 |
| 13.3.0 | 3,403,096 | 3/4/2025 |
| 13.2.0 | 2,558,186 | 2/11/2025 |
| 13.1.0 | 4,214,149 | 1/14/2025 |
| 13.0.0 | 5,519,782 | 11/19/2024 |
| 12.5.0 | 1,342,684 | 11/11/2024 |
| 12.4.0 | 3,452,531 | 10/8/2024 |
| 12.3.0 | 2,539,222 | 9/3/2024 |
| 12.2.0 | 2,040,431 | 8/6/2024 |
| 12.1.0 | 3,183,703 | 7/9/2024 |
| 12.0.0 | 4,700,807 | 5/21/2024 |
| 11.6.0 | 1,989,288 | 4/30/2024 |
| 11.5.0 | 1,775,131 | 4/2/2024 |
| 11.4.0 | 1,989,735 | 3/5/2024 |
| 11.3.1 | 1,549,899 | 2/9/2024 |
| 11.3.0 | 458,540 | 2/6/2024 |
| 11.2.0 | 1,491,923 | 1/9/2024 |
| 11.1.0 | 1,596,627 | 12/5/2023 |
| 11.0.0 | 1,232,059 | 11/14/2023 |
| 10.4.1 | 3,347,548 | 9/27/2023 |
| 10.4.0 | 71,598 | 9/26/2023 |
| 10.3.0 | 5,280,246 | 9/5/2023 |
| 10.2.0 | 1,284,112 | 8/1/2023 |
| 10.1.0 | 1,087,637 | 7/4/2023 |
| 10.0.0 | 1,512,894 | 5/23/2023 |
| 9.7.1 | 2,569,971 | 4/28/2023 |
| 9.7.0 | 143,177 | 4/25/2023 |
| 9.6.0 | 814,682 | 4/4/2023 |
| 9.5.0 | 1,147,166 | 3/9/2023 |
| 9.4.0 | 2,392,059 | 2/7/2023 |
| 9.3.0 | 1,270,830 | 1/10/2023 |
| 9.2.0 | 1,146,313 | 12/6/2022 |
| 9.1.1 | 693,551 | 11/17/2022 |
| 9.1.0 | 558,373 | 11/1/2022 |
| 9.0.1 | 1,563,653 | 10/17/2022 |
| 8.3.0 | 2,007,398 | 9/6/2022 |
| 8.2.0 | 930,270 | 8/2/2022 |
| 8.1.0 | 693,941 | 7/5/2022 |
| 8.0.0 | 4,009,304 | 5/24/2022 |
| 7.5.0 | 4,407,093 | 4/26/2022 |
| 7.4.0 | 387,629 | 4/5/2022 |
| 7.3.2 | 468,850 | 3/12/2022 |
| 7.3.0 | 273,990 | 3/1/2022 |
| 7.2.1 | 190,369 | 2/18/2022 |
| 7.2.0 | 296,187 | 2/7/2022 |
| 7.1.0 | 694,059 | 1/4/2022 |
| 7.0.0 | 527,454 | 12/7/2021 |
| 6.6.0 | 2,423,405 | 11/2/2021 |
| 6.5.0 | 522,982 | 10/12/2021 |
| 6.4.0 | 762,924 | 9/7/2021 |
| 6.3.0 | 663,994 | 8/3/2021 |
| 6.2.1 | 563,803 | 7/9/2021 |
| 6.2.0 | 70,229 | 7/6/2021 |
| 6.1.0 | 404,321 | 6/15/2021 |
| 6.0.0 | 408,936 | 5/25/2021 |
| 5.9.0 | 3,698,002 | 5/4/2021 |
| 5.8.0 | 441,252 | 4/13/2021 |
| 5.7.0 | 672,361 | 3/23/2021 |
| 5.6.0 | 539,313 | 3/2/2021 |
| 5.5.0 | 887,741 | 2/9/2021 |
| 5.4.0 | 1,647,888 | 1/19/2021 |
| 5.3.0 | 1,475,298 | 12/29/2020 |
| 5.2.0 | 1,395,801 | 12/8/2020 |
| 5.1.0 | 1,706,284 | 11/17/2020 |
| 5.0.0 | 1,713,835 | 10/27/2020 |
| 4.8.0 | 4,775,375 | 10/13/2020 |
| 4.7.0 | 268,111 | 9/22/2020 |
| 4.6.1 | 1,823,915 | 8/28/2020 |
| 4.6.0 | 120,854 | 8/25/2020 |
| 4.5.0 | 433,700 | 8/4/2020 |
| 4.4.0 | 367,623 | 7/14/2020 |
| 4.3.0 | 410,236 | 6/23/2020 |
| 4.2.0 | 402,163 | 6/2/2020 |
| 4.1.0 | 339,782 | 5/19/2020 |
| 4.0.2-preview | 2,422 | 12/23/2019 |
| 4.0.1-preview | 1,060 | 10/9/2019 |
| 3.8.0 | 2,118,395 | 4/21/2020 |
| 3.7.0 | 299,648 | 3/31/2020 |
| 3.6.1 | 372,786 | 3/10/2020 |
| 3.5.0 | 373,233 | 2/18/2020 |
| 3.4.0 | 204,755 | 2/4/2020 |
| 3.3.0 | 382,130 | 1/7/2020 |
| 3.2.0 | 326,425 | 12/17/2019 |
| 3.1.0 | 608,705 | 11/26/2019 |
| 3.0.0 | 465,853 | 11/4/2019 |
| 2.8.0 | 1,164,927 | 10/15/2019 |
| 2.7.0 | 184,647 | 9/24/2019 |
| 2.6.0 | 321,778 | 8/27/2019 |
| 2.5.0 | 432,698 | 7/30/2019 |
| 2.4.0 | 176,153 | 7/2/2019 |
| 2.3.2 | 178,298 | 6/18/2019 |
| 2.2.0 | 78,606 | 6/4/2019 |
| 2.1.0 | 70,172 | 5/21/2019 |
| 2.0.1 | 12,006 | 12/15/2021 |
| 2.0.0 | 115,874 | 5/6/2019 |
| 1.8.0 | 368,883 | 4/23/2019 |
| 1.7.0 | 55,457 | 4/9/2019 |
| 1.6.0 | 83,194 | 3/26/2019 |
| 1.5.0 | 55,973 | 3/12/2019 |
| 1.4.0 | 43,802 | 2/26/2019 |
| 1.3.0 | 33,058 | 2/12/2019 |
| 1.2.1 | 25,196 | 1/31/2019 |
| 1.2.0 | 4,845 | 1/29/2019 |
| 1.1.0 | 20,120 | 1/15/2019 |
| 1.0.1 | 33,875 | 12/18/2018 |
| 1.0.0 | 28,914 | 12/18/2018 |
| 0.10.0-preview | 14,707 | 4/15/2020 |
| 0.7.0 | 14,756 | 12/4/2018 |
| 0.6.1 | 9,461 | 11/21/2018 |
| 0.5.0 | 9,938 | 11/6/2018 |
| 0.4.0 | 11,304 | 10/23/2018 |
| 0.3.0 | 11,069 | 10/9/2018 |
| 0.2.2 | 5,271 | 9/24/2018 |
| 0.1.0 | 750 | 8/28/2018 |