Skip to main content

AllocationFailed: Azure couldn't allocate the virtual machine

Azure couldn't allocate the requested virtual machine (VM). The cluster or region might not have spare capacity, or it might not support that VM size.

What to check​

  1. Read the allocation message to see whether it points to a capacity or placement constraint.
  2. Retry later if the same size and location are required. If the deployment can change, try a suitable VM size or location that meets your requirements.

Official reference​

Microsoft Learn: Troubleshoot allocation failures