Share via

Error: Allocation failed when start an VMs

Komina 21 Reputation points
2021-10-15T05:10:03.93+00:00

Error: Allocation failed. VM(s) with the following constraints cannot be allocated, because the condition is too restrictive. Please remove some constraints and try again
Here is error.
Can you help me fix it ? I deployed at location East US

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

Answer accepted by question author

shiva patpi 13,396 Reputation points Microsoft Employee Moderator
2021-10-15T21:25:21.48+00:00

Hello @Komina ,
Thanks for reaching out to Microsoft Q&A platform.
It seems you have pasted only part of the error message. The error message might have also displayed the corresponding constraints . Take a look at those constraints. Check out the error code

For example constraints might be
OverconstrainedZonalAllocationRequest;
Provisioning state error code ProvisioningState/failed/OverconstrainedZonalAllocationRequest

In general those error means you might be using multiple constraints to deploy the VM.
Those constraints might include :- Networking Constraints such as Accelerated Networking or IPv6 , Availability zone , OverconstrainedZonalAllocationRequest , Ultra Disk capability , etc.

Below articles should help you out:
https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/allocation-failure

Sometimes retrying the same deployment should help out !

If you need additional help , please provide the SubscriptionID , exact constraints error code displayed in the error message.

Regards,
Shiva.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.