Resolving the “SkuNotAvailable” Error in Azure ARM Template Deployment

Luca Berton
7 min readOct 5, 2024

In Azure DevOps, while deploying resources using ARM (Azure Resource Manager) templates, you might encounter the following error:

##[error]SkuNotAvailable: The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions: Standard_D2s_v3' is currently not available in location 'eastus'. Please try another size or deploy to a different location or different zone. See https://aka.ms/azureskunotavailable for details.

This error indicates that the requested VM size (Standard_D2s_v3) is not available in the selected region (eastus) due to capacity restrictions. Such capacity issues can be temporary or related to high demand in specific regions.

Why This Error Occurs

Azure allocates specific resources in each region for different VM sizes. When demand is higher than the available resources, certain VM sizes might not be available in your chosen region. This is often referred to as SKU availability issues.

Steps to Resolve the Error

There are several ways to address the SkuNotAvailable error. You can:

  1. Choose a different VM size that is available in the selected region.
  2. Deploy to a different region

--

--

Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday