Hello @Yossi Roset
The Error: Allocation failed. We do not have sufficient capacity for the requested VM size in this zone" means that Azure doesn’t currently have enough free capacity in the specific zone and region you’re trying to deploy in, for that particular VM size.
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
Thanks,
Manish Deshpande