You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: articles/azure-resource-manager/resource-manager-sku-not-available-errors.md
+37-36
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,14 @@ ms.workload: multiple
12
12
ms.tgt_pltfrm: na
13
13
ms.devlang: na
14
14
ms.topic: troubleshooting
15
-
ms.date: 03/09/2018
15
+
ms.date: 10/19/2018
16
16
ms.author: tomfitz
17
17
18
18
---
19
19
# Resolve errors for SKU not available
20
20
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
+
22
23
23
24
## Symptom
24
25
@@ -32,60 +33,61 @@ for subscription '<subscriptionID>'. Please try another tier or deploy to a diff
32
33
33
34
## Cause
34
35
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.
36
37
37
38
## Solution 1 - PowerShell
38
39
39
40
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.
40
41
41
-
```powershell
42
-
Get-AzureRmComputeResourceSku | where {$_.Locations -icontains "southcentralus"}
42
+
```azurepowershell-interactive
43
+
Get-AzureRmComputeResourceSku | where {$_.Locations -icontains "centralus"}
43
44
```
44
45
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`.
46
47
47
48
```powershell
48
-
ResourceType Name Locations Restriction Capability Value
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
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
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.
To determine which SKUs are available in a region, use the [Resource Skus - List](/rest/api/compute/resourceskus/list) operation.
89
91
90
92
It returns available SKUs and regions in the following format:
91
93
@@ -117,4 +119,3 @@ It returns available SKUs and regions in the following format:
117
119
}
118
120
```
119
121
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