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/20/2025
5
-
editor: sushma kuchipudi
6
-
ms.reviewer:
4
+
ms.date: 05/26/2025
5
+
ms.reviewer: marcha, skuchipudi, v-weizhu
7
6
ms.service: azure-kubernetes-service
8
7
ms.custom: sap:Create, Upgrade, Scale and Delete operations (cluster or nodepool)
9
8
#Customer intent: As an Azure Kubernetes Services (AKS) user, I want to troubleshoot an Azure Kubernetes Service cluster create that failed because of a AvailabilityZoneNotSupported error code so that I can create the cluster successfully.
10
9
---
11
-
12
-
# Troubleshoot the "AvailabilityZoneNotSupported" error code
10
+
# Troubleshoot the AvailabilityZoneNotSupported error code
13
11
14
12
This article discusses how to identify and resolve the "AvailabilityZoneNotSupported" error that occurs when you try to create an Azure Kubernetes Service (AKS) cluster.
15
13
16
-
Here's an example of the error message:
17
-
18
-
> Preflight validation check for resource(s) for container service xxxx in resource group zzzz failed. Message: The zone(s) '1' for resource 'agentpoolName' is not supported.The supported zones for location 'xyz' are 'A', 'B'
19
-
20
14
## Prerequisites
21
-
Access to [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/get-started-with-azure-cli?view=azure-cli-latest)
15
+
16
+
Access to [Azure CLI](/cli/azure/get-started-with-azure-cli).
22
17
23
18
## Symptoms
24
19
25
-
An AKS cluster create fails in requested availability zones, and you receive a "AvailabilityZoneNotSupported" error message.
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:
23
+
24
+
> 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'
26
25
27
26
## Cause
28
27
29
-
The issue occurs if the requested SKU is not available in the requested zones or there is restriction on the subscription.
28
+
The issue occurs if the requested SKU isn't available in the requested zone or there's restriction on the Azure subscription.
30
29
31
30
## Solution
32
31
33
-
you can use the following command to verify if sku is not available in requested zones
32
+
To resolve this issue, verify if the requested SKU isn't available in the requested zone by running the following commands:
> Replace `<subscription>` and `<locaiton>` in the URL accordingly.
40
45
41
-
You would need to replace `<subscription>` and `<locaiton>` in the URL. You can then search for the requested sku info in the output. If you see something like this, your subscription doesnt have access to zones in the requested region
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.
42
47
43
-
```
48
+
```output
44
49
"restrictions": [
45
50
{
46
51
"type": "Zone",
@@ -49,7 +54,7 @@ You would need to replace `<subscription>` and `<locaiton>` in the URL. You can
49
54
],
50
55
"restrictionInfo": {
51
56
"locations": [
52
-
"xxxxx"
57
+
"<location>"
53
58
],
54
59
"zones": [
55
60
"1",
@@ -62,6 +67,6 @@ You would need to replace `<subscription>` and `<locaiton>` in the URL. You can
62
67
]
63
68
```
64
69
65
-
To request access to a region or zone, go to the [Azure portal](https://ms.portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/newsupportrequest). Please follow instructions mentioned [here](https://learn.microsoft.com/en-us/troubleshoot/azure/general/region-access-request-process)
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).
66
71
67
-
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
72
+
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
0 commit comments