Capacity & QuotaAzure Resource ManagerKnown error
SkuNotAvailable
That size isn't available there
Capacity / SKU
What the error looks like
- Error code
- WHO โ identity
- WHAT โ action
- WHERE โ scope
- Policy
- Correlation / trace
{
"code": "SkuNotAvailableCODE",
"message": "The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions: Standard_D8s_v5' is currently not available in location 'westeurope'. Please try another size or deploy to a different location or different zone."
}What you told me
โThe template is broken.โ
you ยท just now
Let's read it.
RTFE ยท seen
What it actually says
That VM size / SKU isn't currently available in that region or zone for this subscription. The template is fine; the SKU-region combination isn't.
Azure outage? No. Capacity restriction for this SKU, region and subscription โ not a platform failure.
The fix
- 01Check which sizes are available (and restricted) in the target region.
- 02Pick another size, zone or region โ or request access if the SKU is restricted for your subscription.
az vm list-skus \
--location <region> \
--size <size> \
-o tableRead it faster next time
Look for the 'Restrictions' column in list-skus. NotAvailableForSubscription says it all.