Hello Husain
I understand how blocking this can be—especially when you need to bring the VM online immediately. The error you’re seeing (Allocation failed / insufficient capacity) happens when Azure is temporarily unable to allocate the requested VM size in the chosen region/Availability Zone due to platform capacity constraints.
This issue is not related to your configuration, but rather a capacity shortage in the underlying Azure infrastructure. This can happen, especially with large or specialized VM sizes, or during peak times.
Please follow these steps:
- If you’re using availability zones, try selecting another zone within the same region. It’s possible that a different zone has available capacity for the VM size you need.
- Resize a VM or add a VM to an existing availability set must be tried at the original cluster that hosts the existing availability set. The requested VM size is supported by the cluster, but the cluster may not currently have sufficient capacity.
- If the VM can be part of a different availability set, create a VM in a different availability set (in the same region). This new VM can then be added to the same virtual network.
Stop (deallocate) all VMs in the same availability set, then start all applicable VMs in batch. To stop: Click Resource groups > Resources > Virtual Machines > Stop. After all, VMs stop, navigate to Home > Virtual machines, add an Availability set filter and then select Group by availability set. Select all applicable VMs and click Start.
This step makes sure that a new allocation attempt is run and that a new cluster can be selected that has sufficient capacity.
For detailed information, please check: https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/allocation-failure
Also we have verified with the engineering team and they have provided the workaround :
Capacity is currently constraint for the SKU and try deploying NDsr_H100_v5-series in the same region.
If the issue persists after trying the above options, we’re happy to help further please add details in the Comment section (VM size/SKU, region, availability zone selection, and whether resizing/zone change is possible), and we will respond promptly.
Thanks,
Manish.