Improve Portal Message for Availability Set allocation errors
If there is an allocation error when restarting a deallocated VM, the following error message is logged:
“Failed to start virtual machine 'xyc'. Error: Allocation failed. Please try reducing the VM size or number of VMs, retry later, or try deploying to a different Availability Set or different Azure location.”
If there is an allocation issue when creating a new machine the following message is displayed:
“New-AzureRmVM : Unable to create the VM because the requested size StandardF4 is not available in the cluster where the availability set is currently allocated. The available sizes are: StandardDS1v2,StandardDS2_v2 …”
Would be nice to have the later message for all allocation errors.

2 comments
-
techaimail commented
For us the same kind of error but there is no response for the request in Azure, a critical error without any response in Azure!!! Error: Allocation failed. Please try reducing the VM size or number of VMs. we try change the size but gives the same error message.
-
Anonymous commented
Hi,
I'm struggling with the same error message.
Did you manage to fix the issue ?
Thanks