The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions

Mario Durand 0 Reputation points
2023-05-18T00:11:38.0466667+00:00

Hi, I trying to create a VM on West US 2

But I get this error:

{"code":"InvalidTemplateDeployment","message":"The template deployment 'CreateVm-MicrosoftWindowsServer.WindowsServer-202-20230517184904' is not valid according to the validation procedure. The tracking id is 'f53b860f-cea3-4f56-a86c-050e1bee956c'. See inner errors for details.","details":[{"code":"SkuNotAvailable","message":"The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions: Standard_B2ms' is currently not available in location 'westus2'. Please try another size or deploy to a different location or different zone. See https://aka.ms/azureskunotavailable for details."}]}

But in West US 2 there is no limitation for Standard_B2ms...

Any idea? Thanks in advance

{
  "code": "InvalidTemplateDeployment",
  "message": "The template deployment 'CreateVm-MicrosoftWindowsServer.WindowsServer-202-20230517184904' is not valid according to the validation procedure. The tracking id is 'f53b860f-cea3-4f56-a86c-050e1bee956c'. See inner errors for details.",
  "details": [
    {
      "code": "SkuNotAvailable",
      "message": "The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions: Standard_B2ms' is currently not available in location 'westus2'. Please try another size or deploy to a different location or different zone. See https://aka.ms/azureskunotavailable for details."
    }
  ]
}
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,375 questions
{count} votes

2 answers

Sort by: Most helpful
  1. vipullag-MSFT 25,441 Reputation points
    2023-05-18T04:27:14.25+00:00

    Hello Mario D

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Based on the issue description, looks like you are trying to create a VM on West US 2, but you are getting an error that the requested VM size 'Standard_B2ms' is not available in that location. According to the error message, the SKU is failing due to capacity restrictions.

    Although you mentioned that there should be no limitation for "Standard_B2ms" in West US 2, it's possible that the availability of specific VM sizes can change over time due to various factors such as capacity restrictions, maintenance, or updates in Azure data centers.

    Check the Azure status page to see if there are any known issues in the West US 2 region that could be affecting capacity.

    Below are few suggestions you can try to solve your deployment issue:
    -Select a different VM size that is available in the "westus2" location.

    -If the specific VM size is critical for your requirements, you can choose a different Azure region or location where the desired VM size is available.
    -If your deployment requires zone-specific resources, consider deploying to a different zone within the "westus2" location. Not all VM sizes may be available in all zones of a given region.

    Hope this helps.

    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.

    0 comments No comments

  2. Jack Bender 0 Reputation points Microsoft Employee
    2023-11-22T17:16:45.54+00:00

    Check out the following article that helps you determine which VM SKUs are available in each region. There are quite a few restrictions in uswest2. https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-sku-not-available?tabs=azure-cli

    0 comments No comments