Unable to create any VM in any Region

Ramesh Ganapathy 0 Reputation points
2026-09-02T18:09:41.83+00:00

Tried all possible SKUs at multiple regions but its the same error message

7/8 Launching the VM (no NAT Gateway needed -- Standard public IP gives real outbound internet)...

Consider upgrading security for your workloads using Azure Trusted Launch VMs. To know more about Trusted Launch, please visit https://aka.ms/TrustedLaunch.

The command failed with an unexpected error. Here is the traceback:

The content for this response was already consumed

Traceback (most recent call last):

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 789, in _run_job

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 335, in call

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 120, in handler

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/vm/custom.py", line 1244, in create_vm

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/core/tracing/decorator.py", line 119, in wrapper_use_tracer

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/mgmt/resource/resources/v2024_11_01/operations/_operations.py", line 11281, in begin_create_or_update

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/mgmt/resource/resources/v2024_11_01/operations/_operations.py", line 11174, in _create_or_update_initial

azure.core.exceptions.HttpResponseError: (InvalidTemplateDeployment) The template deployment 'vm_deploy_EL1peD26jxx97oIS2yPHfnKmpqwrgTBO' is not valid according to the validation procedure. The following resource provider(s) - 'Microsoft.Compute/virtualMachines (2025-11-01)' reported preflight validation errors. Tracking id is 'f268db9e-d714-455e-b437-e3fa872c74f4'. See inner errors for details.

Code: InvalidTemplateDeployment

Message: The template deployment 'vm_deploy_EL1peD26jxx97oIS2yPHfnKmpqwrgTBO' is not valid according to the validation procedure. The following resource provider(s) - 'Microsoft.Compute/virtualMachines (2025-11-01)' reported preflight validation errors. Tracking id is 'f268db9e-d714-455e-b437-e3fa872c74f4'. See inner errors for details.

Exception Details: (SkuNotAvailable) The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions: Standard_B1s' 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.

    Code: SkuNotAvailable

    Message: The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions: Standard_B1s' 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.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/arm.py", line 109, in handle_template_based_exception

AttributeError: 'NoneType' object has no attribute 'error'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 677, in execute

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 820, in _run_jobs_serially

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 812, in _run_job

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/arm.py", line 112, in handle_template_based_exception

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/models.py", line 928, in text

File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/models.py", line 899, in content

RuntimeError: The content for this response was already consumed

To check existing issues, please visit: https://github.com/Azure/azure-cli/issues

FAILED: az vm create (exit code 1). Stopping here -- see the error output above.

At C:\AI Tool\Build\CloudSentry AI Agent\cloudsentry-mvp\infra\azure-demo-create.ps1:110 char:9

  •     throw "FAILED: $What (exit code $LASTEXITCODE). Stopping here ...
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (FAILED: az vm c...r output above.:String) [], RuntimeException
    • FullyQualifiedErrorId : FAILED: az vm create (exit code 1). Stopping here -- see the error output above.
Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


1 answer

Sort by: Most helpful
  1. Allan Solomon Mejia 7,585 Reputation points
    2026-09-02T19:36:39.6833333+00:00

    Hello @Ramesh Ganapathy

    The key point is that az vm list-skus --all already shows NotAvailableForSubscription. That confirms this is not just a transient capacity issue with Standard_B1s in West US 2; Azure Compute is applying a subscription-level SKU restriction.

    Since you have already tested several VM sizes and multiple regions with the same result, continuing to change SKU/region is unlikely to resolve it. NotAvailableForSubscription means that the VM SKU isn't available to the current subscription in the selected location.

    At this point, I recommend opening an Azure Support request under Subscription/Compute and asking Microsoft to review the subscription's VM SKU eligibility/restrictions. Include the az vm list-skus output and the deployment Tracking ID: f268db9e-d714-455e-b437-e3fa872c74f4 and examples of the regions/SKUs already tested.

    The later Azure CLI traceback (the content for this response was already consumed) appears secondary. The actual deployment failure occurred earlier during Compute preflight validation with SkuNotAvailable.

    Reference: Resolve SKU not available errors

    Help make this community better for everyone: if this answer resolved your issue, please accept it or upvote it. If not, share more details in a comment so we can continue the discussion and find the right solution.

    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.