An Azure service that is used to provision Windows and Linux virtual machines.
Check the failed deployment’s detailed error, then compare Southeast Asia quota headroom with the requested VM’s vCPU count; sufficient quota combined with AllocationFailed indicates a capacity constraint rather than a quota issue.
1. Get the specific failure code
In the Azure portal:
- Open Resource group → Deployments.
- Select the failed VM deployment.
- Select Operation details and expand the failed
Microsoft.Compute/virtualMachinesoperation. - Record the code, message, requested VM size, and availability zone.
Interpret it as follows:
-
QuotaExceeded, or a message showing Current Limit, Current Usage, and Additional Required: subscription quota. -
AllocationFailedorZonalAllocationFailed, with wording such as “insufficient capacity for the requested VM size”: Azure does not currently have allocatable capacity for that configuration. -
SkuNotAvailable: that size is restricted or unavailable for the subscription in the selected region or zone.
Azure checks quota and capacity separately, so the generic “capacity check or quota check failed” message alone cannot identify which check failed.^1^
2. Check both applicable vCPU quotas
A VM deployment must fit within both:
- Total Regional vCPUs for Southeast Asia.
- The requested size’s VM-family vCPU quota, such as Standard B, D, or E Family vCPUs.
In the portal, go to:
Subscriptions → your subscription → Usage + quotas → Provider: Microsoft.Compute → Region: Southeast Asia
Compare each quota’s Current usage and Limit. The available headroom for both entries must be at least the number of vCPUs required by the new VM. Deallocated VMs still count toward quota.^1^
Alternatively, use Azure CLI:
az account set --subscription "<subscription-name-or-id>"
az vm list-usage \
--location southeastasia \
--output table
For example, if the VM needs 2 vCPUs, both Total Regional vCPUs and its corresponding family quota must have at least 2 vCPUs of headroom.
- If either limit is insufficient, request an increase from the quota page using the edit control for that quota, or remove unused VMs if appropriate.
- If both have sufficient headroom, continue to the SKU check.
3. Check whether the VM size is restricted
Run the following with the exact requested size:
VM_SIZE="Standard_B2s"
az vm list-skus \
--location southeastasia \
--resource-type virtualMachines \
--size "$VM_SIZE" \
--all \
--output table
az vm list-skus incorporates subscription-level restrictions; --all includes unavailable sizes so their restrictions can be inspected.^2^
Review the Restrictions column:
-
NotAvailableForSubscriptionor another restriction: select an unrestricted VM size, or submit a SKU-access request to Azure Support. - No restriction: the SKU is permitted, but this does not guarantee physical capacity at deployment time.^3^
If deploying into an availability zone, also inspect zonal availability:
az vm list-skus \
--location southeastasia \
--resource-type virtualMachines \
--size "$VM_SIZE" \
--zone --all \
--output table
Decision
| Result | Classification | Next action |
|---|---|---|
| Regional or family quota lacks headroom | Subscription quota | Request an increase for the specific quota |
| SKU has a subscription restriction | SKU/subscription eligibility | Choose an unrestricted size or submit a SKU request |
Quota is sufficient, SKU is unrestricted, and error is AllocationFailed |
Regional or zonal capacity | Try another size, zone, or region |
Error is ZonalAllocationFailed |
Zone-specific capacity | Try another Southeast Asia zone or remove the zonal constraint if acceptable |
For an allocation failure, use any alternative VM sizes or zones presented by the portal. Otherwise, try a compatible size backed by different hardware, deploy without a specific zone where the workload permits, retry later, or use another region. These are Microsoft’s documented workarounds for standalone VM allocation failures.^4^
If Southeast Asia and the exact size are mandatory, open an Azure Support request and include:
- Subscription and deployment correlation IDs
- UTC failure timestamp
- Region and availability zone
- Exact VM size
- Full inner error code and message
- Screenshots or CLI output showing both quota entries and SKU restrictions
For workloads requiring predictable future availability, consider an on-demand capacity reservation; ordinary quota approval does not reserve physical compute capacity.^1^
References