VM Creation - SkuNotAvailable when creating VM in region
See original GitHub issueIn the CLI, I tried creating a VM in ‘West US’ in my subscription but kept on getting a ResourceDeploymentFailure
with code SkuNotAvailable
.
At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details. {
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",
"details": [
{
"code": "Conflict",
"message": "{\r\n \"error\": {\r\n \"code\": \"SkuNotAvailable\",\r\n \"message\": \"The requested tier for resource '/subscriptions/.../resourceGroups/commute-dev/providers/Microsoft.Compute/virtualMachines/commutedev1' is currently not available in location 'westus' for subscription '...'. Please try another tier or deploy to a different location.\"\r\n }\r\n}"
}
]
}
]
}
}
I tried many VM sizes and kept getting the same result.
I then tried in the portal and get the error message “Your subscription doesn’t support virtual machine creation in West US.”
The CLI doesn’t show a list of supported regions and there doesn’t appear to be a way to get this.
Can we use the same logic/API calls as the portal?
Issue Analytics
- State:
- Created 7 years ago
- Comments:22 (15 by maintainers)
Top Results From Across the Web
SKU not available errors - Azure Resource Manager
This article describes how to resolve errors when a SKU isn't available in an Azure subscription's region or availability zones. Examples of ...
Read more >Create and start a VM instance - Compute Engine
This document explains how to create a virtual machine (VM) instance by using a boot disk image, a boot disk snapshot, or a...
Read more >Azure: Error creating or updating virtual machine ...
The challenge is I am not able to find a single VM that is available in ANY region. I go to create virtual...
Read more >How to check the available VM Sizes (SKUs) by Azure Region
While the teams are working hard to make services available in these regions, it can happen that certain Azure services and virtual machine...
Read more >Why Some Azure VM Sizes are Unavailable When Resizing in ...
I wanted to change one of my Development VMs to a DS12_v2, but that choice ... If you create a support request, you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lmazuel , correct
This issue has been largely mitigated with enhanced
az vm list-skus
, particularly in the helpAnd yes, once you find the available the sizes, you can use this size for
vm/vmss create
. We have talked to compute team, and there are nothing else planned on this area. Hence i am closing this.