Skip to content

Commit c8ba1f8

Browse files
authored
update
1 parent 88275ae commit c8ba1f8

1 file changed

Lines changed: 34 additions & 39 deletions

File tree

support/azure/azure-kubernetes/error-codes/availabilityzonenotsupported-error.md

Lines changed: 34 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -17,66 +17,61 @@ Access to [Azure CLI](/cli/azure/get-started-with-azure-cli).
1717

1818
## Symptoms
1919

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:
2121

2222
> 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'
2323
2424
## Cause
2525

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.
2727

28-
## Solution 1: Ensure SKU availability in the requested zones
28+
To determine the root cause, follow these steps:
2929

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:
3331

3432
```azurecli
3533
az vm list-skus -l <location> --size <SKU>
3634
```
3735

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:
3940

4041
```azurecli
4142
az rest --method get \
4243
--url "https://management.azure.com/subscriptions/<subscription>/providers/Microsoft.Compute/skus?%24filter=location+eq+%27<location>%27&api-version=2022-03-01" >> availableSkus.txt
4344
```
4445

4546
> [!NOTE]
46-
> 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.
5148
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.
5350

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>"
6457
],
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).
8176
8277
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

0 commit comments

Comments
 (0)