Skip to content

Commit 41b3112

Browse files
authored
Merge pull request MicrosoftDocs#55677 from tfitzmac/1019sku
updated SKU not available
2 parents 1149eef + bd1ebc7 commit 41b3112

File tree

4 files changed

+37
-36
lines changed

4 files changed

+37
-36
lines changed
Loading

articles/azure-resource-manager/resource-manager-sku-not-available-errors.md

+37-36
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ ms.workload: multiple
1212
ms.tgt_pltfrm: na
1313
ms.devlang: na
1414
ms.topic: troubleshooting
15-
ms.date: 03/09/2018
15+
ms.date: 10/19/2018
1616
ms.author: tomfitz
1717

1818
---
1919
# Resolve errors for SKU not available
2020

21-
This article describes how to resolve the **SkuNotAvailable** error.
21+
This article describes how to resolve the **SkuNotAvailable** error. If you're unable to find a suitable SKU in that region or an alternative region that meets your business needs, submit a [SKU request](https://aka.ms/skurestriction) to Azure Support.
22+
2223

2324
## Symptom
2425

@@ -32,60 +33,61 @@ for subscription '<subscriptionID>'. Please try another tier or deploy to a diff
3233

3334
## Cause
3435

35-
You receive this error when the resource SKU you have selected (such as VM size) is not available for the location you have selected.
36+
You receive this error when the resource SKU you've selected (such as VM size) isn't available for the location you've selected.
3637

3738
## Solution 1 - PowerShell
3839

3940
To determine which SKUs are available in a region, use the [Get-AzureRmComputeResourceSku](/powershell/module/azurerm.compute/get-azurermcomputeresourcesku) command. Filter the results by location. You must have the latest version of PowerShell for this command.
4041

41-
```powershell
42-
Get-AzureRmComputeResourceSku | where {$_.Locations -icontains "southcentralus"}
42+
```azurepowershell-interactive
43+
Get-AzureRmComputeResourceSku | where {$_.Locations -icontains "centralus"}
4344
```
4445

45-
The results include a list of SKUs for the location and any restrictions for that SKU.
46+
The results include a list of SKUs for the location and any restrictions for that SKU. Notice that a SKU might be listed as `NotAvailableForSubscription`.
4647

4748
```powershell
48-
ResourceType Name Locations Restriction Capability Value
49-
------------ ---- --------- ----------- ---------- -----
50-
availabilitySets Classic southcentralus MaximumPlatformFaultDomainCount 3
51-
availabilitySets Aligned southcentralus MaximumPlatformFaultDomainCount 3
52-
virtualMachines Standard_A0 southcentralus
53-
virtualMachines Standard_A1 southcentralus
54-
virtualMachines Standard_A2 southcentralus
49+
ResourceType Name Locations Restriction Capability Value
50+
------------ ---- --------- ----------- ---------- -----
51+
virtualMachines Standard_A0 centralus NotAvailableForSubscription MaxResourceVolumeMB 20480
52+
virtualMachines Standard_A1 centralus NotAvailableForSubscription MaxResourceVolumeMB 71680
53+
virtualMachines Standard_A2 centralus NotAvailableForSubscription MaxResourceVolumeMB 138240
5554
```
5655

5756
## Solution 2 - Azure CLI
5857

59-
To determine which SKUs are available in a region, use the `az vm list-skus` command. You can then use `grep` or a similar utility to filter the output.
60-
61-
```bash
62-
$ az vm list-skus --output table
63-
ResourceType Locations Name Capabilities Tier Size Restrictions
64-
---------------- ------------------ ---------------------- --------------------------------- -------- ------------- ---------------------------
65-
availabilitySets eastus Classic MaximumPlatformFaultDomainCount=3
66-
avilabilitySets eastus Aligned MaximumPlatformFaultDomainCount=3
67-
availabilitySets eastus2 Classic MaximumPlatformFaultDomainCount=3
68-
availabilitySets eastus2 Aligned MaximumPlatformFaultDomainCount=3
69-
availabilitySets westus Classic MaximumPlatformFaultDomainCount=3
70-
availabilitySets westus Aligned MaximumPlatformFaultDomainCount=3
71-
availabilitySets centralus Classic MaximumPlatformFaultDomainCount=3
72-
availabilitySets centralus Aligned MaximumPlatformFaultDomainCount=3
58+
To determine which SKUs are available in a region, use the `az vm list-skus` command. Use the `--location` parameter to filter output to location you are using. Use the `--size` parameter to search by a partial size name.
59+
60+
```azurecli-interactive
61+
az vm list-skus --location southcentralus --size Standard_F --output table
62+
```
63+
64+
The command returns results like:
65+
66+
```azurecli
67+
ResourceType Locations Name Zones Capabilities Restrictions
68+
--------------- -------------- ---------------- ------- -------------- --------------
69+
virtualMachines southcentralus Standard_F1 ... None
70+
virtualMachines southcentralus Standard_F2 ... None
71+
virtualMachines southcentralus Standard_F4 ... None
72+
...
7373
```
7474

75+
7576
## Solution 3 - Azure portal
7677

77-
To determine which SKUs are available in a region, use the [portal](https://portal.azure.com). Log in to the portal, and add a resource through the interface. As you set the values, you see the available SKUs for that resource. You do not need to complete the deployment.
78+
To determine which SKUs are available in a region, use the [portal](https://portal.azure.com). Sign in to the portal, and add a resource through the interface. As you set the values, you see the available SKUs for that resource. You don't need to complete the deployment.
7879

79-
![available SKUs](./media/resource-manager-sku-not-available-errors/view-sku.png)
80+
For example, start the process of creating a virtual machine. To see other available size, select **Change size**.
8081

81-
## Solution 4 - REST
82+
![Create VM](./media/resource-manager-sku-not-available-errors/create-vm.png)
8283

83-
To determine which SKUs are available in a region, use the REST API for virtual machines. Send the following request:
84+
You can filter and scroll through the available sizes.
8485

85-
```HTTP
86-
GET
87-
https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Compute/skus?api-version=2016-03-30
88-
```
86+
![Available SKUs](./media/resource-manager-sku-not-available-errors/available-sizes.png)
87+
88+
## Solution 4 - REST
89+
90+
To determine which SKUs are available in a region, use the [Resource Skus - List](/rest/api/compute/resourceskus/list) operation.
8991

9092
It returns available SKUs and regions in the following format:
9193

@@ -117,4 +119,3 @@ It returns available SKUs and regions in the following format:
117119
}
118120
```
119121

120-
If you are unable to find a suitable SKU in that region or an alternative region that meets your business needs, submit a [SKU request](https://aka.ms/skurestriction) to Azure Support.

0 commit comments

Comments
 (0)