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
description: Learn how to troubleshoot the AvailabilityZoneNotSupported error when you try to create an Azure Kubernetes Service cluster in a set of zones.
4
-
ms.date: 05/26/2025
4
+
ms.date: 05/28/2025
5
5
ms.reviewer: marcha, skuchipudi, v-weizhu
6
6
ms.service: azure-kubernetes-service
7
7
ms.custom: sap:Create, Upgrade, Scale and Delete operations (cluster or nodepool)
@@ -17,40 +17,46 @@ 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 the requested availability zone and you receive an "AvailabilityZoneNotSupported" error.
21
-
22
-
Here's an example of the error message:
20
+
An AKS cluster creation fails in requested availability zones and you receive an "AvailabilityZoneNotSupported" error with the following message:
23
21
24
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'
25
23
26
24
## Cause
27
25
28
-
The issue occurs if the requested SKU isn't available in the requested zone or there's restriction on the Azure subscription.
26
+
The issue occurs because the requested SKU isn't available in the requested zones or there's a restriction on the Azure subscription.
29
27
30
-
## Solution
28
+
## Solution 1: Ensure SKU availability in the requested zones
31
29
32
-
To resolve this issue, verify if the requested SKU isn't available in the requested zone by running the following commands:
30
+
1. Get SKU details by running one of the following commands:
33
31
34
-
```azurecli
35
-
az vm list-skus -l <location> --size <SKU>
36
-
```
32
+
- List SKU details for the specific location and size:
> Replace `<subscription>`and `<locaiton>` in the URL accordingly.
45
+
> [!NOTE]
46
+
> Replace `<subscription>`, `<SKU>` and `<locaiton>` in the commands accordingly.
45
47
46
-
Then, search for the requested SKU information in the command output. If you see the following information, it indicates that your subscription doesn't have access to zones in the requested region.
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?>
51
+
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.
47
53
48
54
```output
49
55
"restrictions": [
50
56
{
51
57
"type": "Zone",
52
58
"values": [
53
-
"xxxxx"
59
+
"<zone>"
54
60
],
55
61
"restrictionInfo": {
56
62
"locations": [
@@ -67,6 +73,10 @@ Then, search for the requested SKU information in the command output. If you see
67
73
]
68
74
```
69
75
70
-
In this case, request access to the region or zone from the [Azure portal](https://ms.portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/newsupportrequest) by following instructions in [Azure region access request process](../../general/region-access-request-process.md).
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).
71
81
72
82
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
0 commit comments