An Azure service that is used to provision Windows and Linux virtual machines.
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
The ProvisioningState/failed/ZonalAllocationFailed error means Azure doesn’t have enough free capacity for the VM size you requested in that specific availability zone.
This can still happen even after waiting, because resource availability and demand change over time. Since availability zones are separate datacenters with their own resources, one zone may have capacity issues while another does not.
- Try redeploying the VM after some time. Sometimes capacity frees up as other users stop VMs.
- Change the VM size to one with more availability in the same region or zone.
- If you are using an availability zone, try another zone in the same region, as it might have more capacity or try creating a new VM in another region and then move your disk or data to the new VM.
- If the VM is critical and remains unavailable, you should detach the OS disk and attach it to a new temporary VM to recover data.
To troubleshoot Azure VM allocation failures (including ZonalAllocationFailed) with causes and workarounds: https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/allocation-failure
Troubleshoot ZonalAllocationFailed, AllocationFailed, or OverconstrainedAllocationRequest error code : https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/create-upgrade-delete/error-code-zonalallocationfailed-allocationfailed
Regards
Himanshu