Check Restrictions Quotas in Azure subscription

Steve Veyon

Jul 22, 2025, 3:57 PM CDT 

Use the following script to check quotas for any restrictions applied:

$region = eastus2

$all_vmSkus = Get-AzComputeResourceSku -Location $region | ?{$_.ResourceType -eq "virtualMachines"}

 

$myVM = $all_vmSkus | ?{$_.Name -like *D16as_v6*}

 

you will want to change the SKU in the third line to match the one you want to know about.  Remember, capacity/restrictions are all about inventory at a point in time, whereas quota is the maximum amount of that inventory that you could conceivably consume – desired consumption against quota could exceed available inventory.

 

The quota is what we viewed in the portal; you can also query quota using the Get-AzVMUsage cmdlet:

 

vCPU quotas - Azure Virtual Machines | Microsoft Learn

 

 

1

Comments (1 comment)

0
Avatar
Carl Long
Thank you for submitting your feature request—we truly value input from our community.

Next steps:
     • We will review your request and update its status as it progresses through our evaluation process.
     • If any clarification is needed, we'll follow up with you directly in the comments.

We also encourage the community to influence our decision through comments, votes, and feedback.

Please sign in to leave a comment.