Interview Prep/Azure/Quota, Deployment and IaC Errors

`SkuNotAvailable: The requested VM size Standard_D4s_v5 is currently not available in location 'centralindia' zones '3'.`

IntermediateTroubleshootingQuota, Deployment and IaC Errors
Answer

Likely causes → Capacity restriction for that SKU/zone in your subscription, or SKU not offered in that zone.

Diagnose →

az vm list-skus -l centralindia --size Standard_D4s_v5 --query "[].{name:name, zones:locationInfo[0].zones, restrictions:restrictions}" -o json

Fix →

  1. Pick a different size (D4as_v5, D4s_v6) or drop the restricted zone
  2. Open a support request to lift subscription-level restrictions

Prevent → Keep two or three acceptable SKUs per workload; check availability in IaC pipelines.

Azure All Azure questions

More on Quota, Deployment and IaC Errors