skip to Main Content

I am trying to create a Windows VM in Central India region on Azure portal but it’s always giving me error during deployments:

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"AllocationFailed","message":"Allocation failed. We do not have sufficient capacity for the requested VM size in this region. Read more about improving likelihood of allocation success at http://aka.ms/allocation-guidance"}]}

I tried creating different configuration VMs but none of them works and I get the same error every time.

2

Answers


  1. I tested in my environment it works fine for me. The error you are getting identical issue , This comes usually when you don’t have enough quota to deploy resources at this location or you exceed number of deployment for resource group. You need to request for quota access(request for resource) at this location from Azure Support.

    The cluster or region doesn’t have resources available or can’t
    support the requested VM size. Retry the request at a later time, or
    request a different VM size.

    in the error you will see this link https://aka.ms/DeployOperations that has mentioned the same.

    For every deployment you will get an correlation id. Support will ask for that correlation id for the troubleshooting purpose.

    Or before reaching out to support you can also try this troubleshooting for allocation failure.

    Login or Signup to reply.
  2. I think that the error message has the actual root cause:

    Allocation failed. We do not have sufficient capacity for the requested VM size in this region.

    The region you were trying to deploy did not have any available free capacity for VM size you specified.


    Errors related to your account quota will have different error messages:

    Code=OperationNotAllowed
    Message=Operation results in exceeding quota limits of Core.
    Maximum allowed: 4, Current in use: 4, Additional requested: 2.
    or
    Code=ResourceQuotaExceeded
    Message=Creating the resource of type would exceed the quota of
    resources of type per resource group. The current resource count is ,
    please delete some resources of this type before creating a new one.

    ref: https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-resource-quota?tabs=azure-cli

    You can check in the portal or with CLI if your quotas are/were full. The article provides information on how to check quota status and how to quota increase. Please note that quota requests might be delayed if the region has low availability of VMs.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search