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: support/azure/azure-kubernetes/error-codes/availabilityzonenotsupported-error.md
+34-39Lines changed: 34 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,66 +17,61 @@ Access to [Azure CLI](/cli/azure/get-started-with-azure-cli).
17
17
18
18
## Symptoms
19
19
20
-
An AKS cluster creation fails in requested availability zones and you receive an "AvailabilityZoneNotSupported" error with the following message:
20
+
An AKS cluster creation fails in specified availability zones and you receive an "AvailabilityZoneNotSupported" error with the following message:
21
21
22
22
> Preflight validation check for resource(s) for container service \<resource-name> in resource group \<resource-group-name> failed. Message: The zone(s) '1' for resource 'agentpoolName' is not supported.The supported zones for location '\<location>' are 'A', 'B'
23
23
24
24
## Cause
25
25
26
-
The issue occurs because the requested SKU isn't available in the requested zones or there's a restriction on the Azure subscription.
26
+
The issue occurs because the requested SKU is unavailable in a specified zone or the zone is restricted by the Azure subscription.
27
27
28
-
## Solution 1: Ensure SKU availability in the requested zones
28
+
To determine the root cause, follow these steps:
29
29
30
-
1. Get SKU details by running one of the following commands:
31
-
32
-
- List SKU details for the specific location and size:
30
+
1. Verify if the requested SKU isn't available in the specified zone:
33
31
34
32
```azurecli
35
33
az vm list-skus -l <location> --size <SKU>
36
34
```
37
35
38
-
- Retrieve all SKU details for a subscription and location:
36
+
> [!NOTE]
37
+
> Replace `<SKU>` and `<locaiton>` accordingly.
38
+
39
+
2. Verify if the specified zone is restricted by your subscription:
> Replace `<subscription>`, `<SKU>` and `<locaiton>` in the commands accordingly.
47
-
48
-
2. Check the requested SKU information and available zones from the command output.
49
-
50
-
3. If the requested SKU isn't available in the requested zones, \<what operations should users do?>
47
+
> Replace `<subscription>` and `<locaiton>` accordingly.
51
48
52
-
If you see the following information in the *availableSkus.txt* file, it indicates that your subscription doesn't have access to zones in the requested region.
49
+
If you see the following information in the *availableSkus.txt* file, it indicates that your subscription doesn't have access to zones in the specified location.
53
50
54
-
```output
55
-
"restrictions": [
56
-
{
57
-
"type": "Zone",
58
-
"values": [
59
-
"<zone>"
60
-
],
61
-
"restrictionInfo": {
62
-
"locations": [
63
-
"<location>"
51
+
```output
52
+
"restrictions": [
53
+
{
54
+
"type": "Zone",
55
+
"values": [
56
+
"<zone>"
64
57
],
65
-
"zones": [
66
-
"1",
67
-
"2",
68
-
"3"
69
-
]
70
-
},
71
-
"reasonCode": "NotAvailableForSubscription"
72
-
}
73
-
]
74
-
```
75
-
76
-
In this case, [request access to the restricted region or zone](#solution-2-request-access-to-the-restricted-region-or-zone).
77
-
78
-
## Solution 2: Request access to the restricted region or zone
79
-
80
-
If your subscription doesn't have access to zones in the requested region, request access to the region or zone from the [Azure portal](https://ms.portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/newsupportrequest) by following the [Azure region access request process](../../general/region-access-request-process.md).
58
+
"restrictionInfo": {
59
+
"locations": [
60
+
"<location>"
61
+
],
62
+
"zones": [
63
+
"1",
64
+
"2",
65
+
"3"
66
+
]
67
+
},
68
+
"reasonCode": "NotAvailableForSubscription"
69
+
}
70
+
]
71
+
```
72
+
73
+
## Solution: Request access to the specified zone
74
+
75
+
To resolve this issue, request access to the specified region or zone on the subscription by following the [Azure region access request process](../../general/region-access-request-process.md).
81
76
82
77
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
0 commit comments