---
title: "Discussion on \"Azure AllocationFailed, SkuNotAvailable and quota errors: which is which, and which one a retry fixes\" | Hashnode"
description: "Discussion on \"Azure AllocationFailed, SkuNotAvailable and quota errors: which is which, and which one a retry fixes\". An r/AZURE thread this week (40 comments) was looking for a small database in West Europe and could not find a single available size; the replies mixed capacity, retiring sizes and quota. Azure return"
url: "https://hashnode.com/posts/azure-allocationfailed-skunotavailable-and-quota-errors-which-is-which-and-which-one-a-retry-fixes/6af79f52a887e7ac5e0b65cb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Azure AllocationFailed, SkuNotAvailable and quota errors: which is which, and which one a retry fixes](https://controlcloud.hashnode.dev/azure-allocationfailed-skunotavailable-and-quota-errors-which-is-which-and-which-one-a-retry-fixes?utm_source=hashnode&utm_medium=feed)

An r/AZURE thread this week (40 comments) was looking for a small database in West Europe and could not find a single available size; the replies mixed capacity, retiring sizes and quota. Azure return

1d ago · 7 min read · controlcloud.hashnode.dev  
Read the article

-   [#azure](https://hashnode.com/tag/azure)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Gonzalo Gjuka](https://hashnode.com/@gonzalogjuka)

@gonzalogjuka

  
[View profile](https://hashnode.com/@gonzalogjuka)

DevOps & Cloud Engineer · Building Control Cloud

DevOps &amp; Cloud Engineer. Building Control Cloud: one console to see, validate and operate your multi-cloud infrastructure. https://controlcloud.dev

## Responses 2

Markdown supported · ⌘↵ to post

[OneLifeVibe](https://hashnode.com/@onelifevibe)

[1d ago](https://hashnode.com/posts/azure-allocationfailed-skunotavailable-and-quota-errors-which-is-which-and-which-one-a-retry-fixes/6af79f52a887e7ac5e0b65cb/comment/6af7c2948c54e4c54a5c9b37)

The distinction between the three errors is what makes this useful in practice. I had not realized SkuNotAvailable fails during validation and never starts the deployment, while AllocationFailed is the only one where a retry can actually help. The tip about az vm list-skus with --all is also practical, since the portal hides the reason a size is missing and the Location versus Zone restriction changes the fix. One detail I would add from experience is how often stopped VMs still count against quota, because that is easy to miss when the error message points at capacity instead.

[Gonzalo Gjuka](https://hashnode.com/@gonzalogjuka)

[17h ago](https://hashnode.com/posts/azure-allocationfailed-skunotavailable-and-quota-errors-which-is-which-and-which-one-a-retry-fixes/6af79f52a887e7ac5e0b65cb/comment/6af7c2948c54e4c54a5c9b37#reply-6af851c52e92a1fe0eb4a3e0)

Agreed on the stopped VMs. The confusing part is that `az vm list-usage` lumps them into "Current in use", so the number looks right until you remember the three deallocated test boxes from last month. What helped me was listing them explicitly before asking for more quota: `az vm list -d --query "[?powerState=='VM deallocated'].{n:name,size:hardwareProfile.vmSize}" -o table`. Deleting two of those freed the family quota in minutes; the increase request would have taken a day. Which family did you hit it on?
