OperationNotAllowed on Azure
The deployment would take you past an Azure quota. For VMs that is usually vCPUs (cores), counted for each subscription in each region.
- Kind
- Quota. Your account is not allowed that many. The cloud may have stock, but not for you.
- When it appears
- When a deployment creates resources that exceed a quota. Microsoft’s page also names ResourceQuotaExceeded, for limits counted within a resource group.
- Can a retry work?
- Not until the quota is higher, or you free some of what you are using.
What the message says
Operation results in exceeding quota limits of Core. Maximum allowed: 4, Current in use: 4, Additional requested: 2.
As shown on Azure’s page. That is Microsoft’s sample. Yours carries your own numbers.
What Azure says to do
- Find the quota you hit. A message about cores or vCPUs means the limit is for your subscription in that region.
- Request an increase in the portal: Subscriptions, your subscription, Usage + quotas, Request increase.
- Ask in the region you deploy to. Quota is set for each region.
- Some quotas let you enter a new limit that is reviewed straight away. If it is rejected, the portal offers a support request.
Check it yourself
See your vCPU usage and limits for a region, family by family:
az vm list-usage --location "Central US" -o tableThere are two tiers: total regional vCPUs, and vCPUs for each VM family. You need room in both. Microsoft says Azure checks quota and capacity separately.
From Microsoft: vCPU quotas for Azure Virtual Machines.
How Azure counts GPU quota, and how to raise it: GPU quota on Azure.
What xpumesh does about it
- Where Azure lets it, it reads your quota first. With too little for the machine, it marks Azure “No quota” in your list and does not try it.
- If Azure still returns this error, it prints the error as reported and moves to the next cloud.
See how in the Quickstart.
Related errors
The same kind of problem on other clouds
VcpuLimitExceededon AWSQUOTA_EXCEEDEDon Google Cloudglobal/quota-exceededon LambdaRESOURCE_EXHAUSTEDon NebiusCWOverQuotaon CoreWeaveInstanceLimitExceededon AWSLimitExceededon Oracle Cloud
Other errors on Azure
AllocationFailed: capacitySkuNotAvailable: restriction
Source
Read on 2 December 2026. What the error means and what to do are from these pages. Where they do not say something, neither do we.