Allocation failed. VM(s) with the following constraints cannot be allocated, because the condition is too restrictive.

Anonymous
2024-04-06T08:32:35.2566667+00:00

Changing the VM size from D4ds_v4 (4 CPU/16GB MEMORY) to E2ds_V5 (2 CPU/16GB MEMORY) and getting following error. Is it possible to change the size.

Please remove some constraints and try again. Constraints applied are:

  • Availability Zone
  • Networking Constraints (such as Accelerated Networking or IPv6)
  • VM Size
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,913 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshukatara-6769 9,510 Reputation points
    2024-04-06T10:54:34.0633333+00:00

    Hello Arun,

    Thanks for reaching out to Microsoft Q&A platform.

    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 Subscription ID , exact constraints error code displayed in the error message. kindly accept , if it helps

    Thanks,

    Deepanshu


Your answer

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