I am getting a error creating a Virtual Machine in Azure Virtual Device.

Doug Burdett 0 Reputation points
2026-07-24T00:33:28.2466667+00:00

Error message is {"error":{"code":"InvalidTemplateDeployment","details":[{"code":"QuotaExceeded","message":"Operation could not be completed as it results in exceeding approved Total Regional Cores quota.

I have tried South Central US, East US 2, and Central US, as well as various VM sizes.

If I create the AVD in Quickstart, it works randomly, but it sets up in a different resource group than the VM server I have already created. I initially used Quickstart, deleted it, tried it manually and failed, tried it with Quickstart and it failed, deleted what it did create, and tried Quickstart again, which worked but is not in the same RG & virtual network as the server and storage already set up.

I am testing functionality during the 30-day trial.

Azure Virtual Desktop
Azure Virtual Desktop

A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.


1 answer

Sort by: Most helpful
  1. Marcin Policht 103.1K Reputation points MVP Volunteer Moderator
    2026-07-24T00:42:09.9466667+00:00

    The error indicates that the deployment would exceed your Azure subscription's approved regional vCPU (core) quota. Although it appears to be a quota issue, the fact that the deployment succeeds intermittently with the Azure Virtual Desktop (AVD) Quickstart suggests there may also be temporary regional capacity constraints or differences in the VM sizes and availability zones selected by the deployment.

    First, verify your regional vCPU quotas by going to Azure Portal > Help + Support > Quotas (or Subscriptions > Usage + quotas) and confirm that the target region has enough available cores for the selected VM size. If necessary, request a quota increase or choose a VM size that requires fewer vCPUs.

    If sufficient quota exists, the issue may be due to limited capacity for specific VM sizes in the selected region. Try a different VM size within the same family, disable availability zones if they are enabled, or retry the deployment later. The Quickstart template may automatically select a different VM size or deployment configuration, which explains why it occasionally succeeds.

    Since you already have a virtual network, storage account, and server in an existing resource group, review the Quickstart deployment settings to ensure it targets your existing resource group and virtual network. If Quickstart created resources in a different resource group, it was likely using its default deployment configuration rather than your existing infrastructure. Deleting partially created resources before retrying is also recommended to avoid conflicts from failed deployments.


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    Was this answer helpful?

    0 comments No comments

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.