AzureMid
Quota errors: OperationNotAllowed (Core) and ResourceQuotaExceeded
A quota error means the deployment would pass a limit. Cores are limited per subscription and region, counts per resource group. Check usage, then ask for more.
What you see
Code=OperationNotAllowed Message=Operation results in exceeding quota limits of Core. Maximum allowed: 4, Current in use: 4, Additional requested: 2.Code=ResourceQuotaExceeded Message=Creating the resource of type <resource-type> would exceed the quota of <number> resources of type <resource-type> per resource group.
What it means
Azure enforces quotas at different scopes: per subscription, per region or per resource group. Which one applies depends on the resource type. The error text tells you which, and that decides where to look and who can raise it.
How to confirm the cause
- 1Match the error to a scope
# vCPUs or VM cores -> subscription + region # Resource count per resource group -> resource group # Total instances of a resource type -> subscription
This is the mapping in Microsoft's guide.
- 2Check current VM usage against limits
az vm list-usage --location "West US" --output table
Shows
CurrentValueandLimitfor rows likeTotal Regional vCPUsand each VM family.
Causes and fixes
Regional vCPU or family quota reached
- HOW TO TELL
Operation results in exceeding quota limits of Core, andaz vm list-usageshows the row at its limit.- ROOT CAUSE
- The sum of cores you already run plus the new request is above the limit for that region or VM family.
- FIX
- Delete unused VMs, choose a different region or family, or request a quota increase.
Resource count per resource group
- HOW TO TELL
ResourceQuotaExceedednaming a resource type.- ROOT CAUSE
- The resource group already holds the maximum of that type.
- FIX
- Delete unneeded resources of that type, or spread them over more resource groups.
How to stop it coming back
- Alert on quota usage above 80%.
- Request increases ahead of launches, not during them.
- Check quotas in CI for large deployments.
Keep going
Sources
Microsoft Learn (learn.microsoft.com), read 18 Nov 2026 from the official docs source.