Cant create a vm in azure

Jeremy Smit 1 Reputation point
2022-08-02T18:11:45.907+00:00

So today i removed a VM and wanted to start all over again.

Now when i try to create 1 vm, it returns with InvalidTemplateDeployment messages

The following message is displayed

The template deployment failed with error: 'The resource with id: '/subscriptions/1b1cf2e2-f0c3-4691-b8d0-038978a4a0c5/resourceGroups/My365devops/providers/Microsoft.Compute/virtualMachines/my365devops-VM' failed validation with message: 'The requested size for resource '/subscriptions/1b1cf2e2-f0c3-4691-b8d0-038978a4a0c5/resourceGroups/My365devops/providers/Microsoft.Compute/virtualMachines/my365devops-VM' is currently not available in location 'centralus' zones '' for subscription '1b1cf2e2-f0c3-4691-b8d0-038978a4a0c5'. Please try another size or deploy to a different location or zones. See https://aka.ms/azureskunotavailable for details.'.'. (Code: InvalidTemplateDeployment)

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Jackson Martins 10,606 Reputation points MVP Volunteer Moderator
    2022-08-02T18:15:18.543+00:00

    Hi @Jeremy Smit
    there seems to be no quota available in centralus region, have you tried in another region or a different VM size? with less score or try using a neighboring region

    Best

    1 person found this answer helpful.
    0 comments No comments

  2. Manu Philip 20,206 Reputation points MVP Volunteer Moderator
    2022-08-02T18:46:46.833+00:00

    It sounds like you are trying to create a spot VM. If your subscription is among one of Benefits, Sponsored, or Free Trial, the spot instances are not available on these channels

    ----------

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.
    0 comments No comments

  3. Limitless Technology 39,916 Reputation points
    2022-08-03T15:26:17.417+00:00

    Hi there,

    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.

    This article describes common Azure deployment errors, and provides information about solutions. Azure resources can be deployed with Azure Resource Manager templates (ARM templates) or Bicep files. https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/common-deployment-errors

    I hope this information helps. If you have any questions please let me know and I will be glad to help you out.

    ---------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--

    1 person found this answer helpful.
    0 comments No comments

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.