Allocation failed when create VM

Ngoc Anh 1 Reputation point
2022-03-09T20:54:33.753+00:00

I have met this error when I created VM windows. Anyone help me fix it?

Update-AzVM: Long running operation failed with status 'Failed'. Additional Info:'Allocation failed. VM(s) with the following constraints cannot be allocated, because the condition is too restrictive. Please remove some constraints and try again. Constraints applied are:

  • Low Priority VMs
  • Preemptible VMs (VM might be preempted by another VM with a higher priority)
  • VM Size
    '
    ErrorCode: OverconstrainedAllocationRequest
    ErrorMessage: Allocation failed. VM(s) with the following constraints cannot be allocated, because the condition is too restrictive. Please remove some constraints and try again. Constraints applied are:
  • Low Priority VMs
  • Preemptible VMs (VM might be preempted by another VM with a higher priority)
  • VM Size
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,301 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 98,626 Reputation points MVP
    2022-03-09T21:24:00.843+00:00

    Hi @Ngoc Anh ,

    could you please provide some more details what and how you exactly did.

    Some generic troubleshooting hints you will find here: https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/allocation-failure

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    1 person found this answer helpful.
    0 comments No comments