Skip to content

Commit 47ae439

Browse files
authored
Merge pull request #9048 from MicrosoftDocs/main
sync to live
2 parents a750937 + 1de63e1 commit 47ae439

File tree

12 files changed

+943
-27
lines changed

12 files changed

+943
-27
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: Troubleshoot AvailabilityZoneNotSupported Error Code
3+
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: 06/04/2025
5+
ms.reviewer: marcha, skuchipudi, v-weizhu
6+
ms.service: azure-kubernetes-service
7+
ms.custom: sap:Create, Upgrade, Scale and Delete operations (cluster or nodepool)
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.
9+
---
10+
# Troubleshoot the AvailabilityZoneNotSupported error code
11+
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.
13+
14+
## Prerequisites
15+
16+
Access to [Azure CLI](/cli/azure/get-started-with-azure-cli).
17+
18+
## Symptoms
19+
20+
An AKS cluster creation fails in specified availability zones, and you receive an "AvailabilityZoneNotSupported" error with the following message:
21+
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+
24+
## Cause
25+
26+
The issue occurs because the requested SKU has restrictions in some or all zones of your subscription. To verify the restrictions, go to the [Verify SKU restrictions](#verify-sku-restrictions) section.
27+
28+
## Solution
29+
30+
To resolve this issue, follow the [Azure region access request process](../../general/region-access-request-process.md) to request access to the specified region or zone.
31+
32+
## Verify SKU restrictions
33+
34+
1. List the SKU details by running one of the following commands:
35+
36+
```azurecli
37+
az vm list-skus -l <location> --size <SKU>
38+
```
39+
40+
```azurecli
41+
az rest --method get \
42+
--url "https://management.azure.com/subscriptions/<subscription>/providers/Microsoft.Compute/skus?%24filter=location+eq+%27<location>%27&api-version=2022-03-01" >> availableSkus.txt
43+
```
44+
45+
> [!NOTE]
46+
> Replace `<subscription>`, `<SKU>`, and `<location>` accordingly.
47+
2. Search for the requested SKU from the command output.
48+
3. If you see information like the following, it indicates that the requested SKU has restrictions in some or all zones of your subscription:
49+
50+
```json
51+
"restrictions": [
52+
{
53+
"type": "Zone",
54+
"values": [
55+
"<zone>"
56+
],
57+
"restrictionInfo": {
58+
"locations": [
59+
"<location>"
60+
],
61+
"zones": [
62+
"1",
63+
"2",
64+
"3"
65+
]
66+
},
67+
"reasonCode": "NotAvailableForSubscription"
68+
}
69+
]
70+
```
71+
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

support/azure/azure-kubernetes/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,8 @@
382382
href: error-codes/vmextensionerror-vhdfilenotfound.md
383383
- name: VMExtensionError_ProvisioningTimeout error
384384
href: error-codes/vmextensionerror-provisioningtimeout.md
385+
- name: AvailabilityZoneNotSupported error
386+
href: error-codes/availabilityzonenotsupported-error.md
385387
- name: AksCapacityHeavyUsage error
386388
href: error-codes/akscapacityheavyusage-error.md
387389
- name: AKSOperationPreempted error

support/azure/virtual-machines/linux/upgrade-rhel-7dotx-to-7dot9-sap-hana-apps.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,18 @@ For more information about performing the upgrade process on custom, golden, or
4747
```bash
4848
sudo rm /etc/yum/vars/releasever
4949
```
50+
3. Create a config file by using this command:
5051

51-
3. Install the *rhui-azure-rhel7-base-sap-ha* package:
52+
```bash
53+
sudo tee rhel7-base-sap-ha.config > /dev/null <<< $'[rhui-microsoft-azure-rhel7-base-sap-ha]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 7 (rhel7-base-sap-ha)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel7-base-sap-ha\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
54+
```
55+
4. Install the *rhui-azure-rhel7-base-sap-ha* package:
5256
5357
```bash
54-
sudo yum --config='https://rhelimage.blob.core.windows.net/repositories/rhui-microsoft-azure-rhel7-base-sap-ha.config' install rhui-azure-rhel7-base-sap-ha
58+
sudo yum --config rhel7-base-sap-ha.config install rhui-azure-rhel7-base-sap-ha
5559
```
56-
4. Verify that the corresponding repositories are available and show no errors:
60+
61+
5. Verify that the corresponding repositories are available and show no errors:
5762
5863
```bash
5964
sudo yum repolist
@@ -77,12 +82,12 @@ For more information about performing the upgrade process on custom, golden, or
7782
> [!IMPORTANT]
7883
> A single host can accommodate both SAP HANA and other SAP applications, such as NetWeaver. In this case, all the preceding repositories are required. Optionally, you can modify the */etc/yum.repos.d/rh-cloud-base-sap-ha.repo* file based on your system's specific requirements.
7984
80-
5. Upgrade the system to RHEL 7.9:
85+
6. Upgrade the system to RHEL 7.9:
8186
8287
```bash
8388
sudo yum update
8489
```
85-
6. Reboot the VM to complete the upgrade:
90+
7. Reboot the VM to complete the upgrade:
8691

8792
```bash
8893
sudo reboot
@@ -100,14 +105,19 @@ For more information about performing the upgrade process on custom, golden, or
100105
```bash
101106
sudo rm /etc/yum/vars/releasever
102107
```
108+
3. Create a config file by using this command:
103109

104-
3. Install the *rhui-azure-rhel7-base-sap-apps* package:
110+
```bash
111+
sudo tee rhel7-base-sap-apps.config > /dev/null <<< $'[rhui-microsoft-azure-rhel7-base-sap-apps]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 7 (rhel7-base-sap-apps)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel7-base-sap-apps\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
112+
```
113+
114+
4. Install the *rhui-azure-rhel7-base-sap-apps* package:
105115
106116
```bash
107-
sudo yum --config='https://rhelimage.blob.core.windows.net/repositories/rhui-microsoft-azure-rhel7-base-sapapps.config' install rhui-azure-rhel7-base-sap-apps
117+
sudo yum --config rhel7-base-sap-apps.config install rhui-azure-rhel7-base-sap-apps
108118
```
109119
110-
4. Verify that the corresponding repositories are available and show no errors:
120+
5. Verify that the corresponding repositories are available and show no errors:
111121
112122
```bash
113123
sudo yum repolist
@@ -130,13 +140,13 @@ For more information about performing the upgrade process on custom, golden, or
130140
repolist: 77,105
131141
```
132142
133-
5. Upgrade the system to RHEL 7.9:
143+
6. Upgrade the system to RHEL 7.9:
134144
135145
```bash
136146
sudo yum update
137147
```
138148
139-
6. Reboot the VM to complete the upgrade:
149+
7. Reboot the VM to complete the upgrade:
140150
141151
```bash
142152
sudo reboot

support/azure/virtual-machines/linux/upgrade-rhel-8-dot-x-to-8-dot-10-on-sap-hana-apps.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,19 @@ For more information about performing the upgrade process on custom, golden, and
5353
sudo rm /etc/yum/vars/releasever
5454
```
5555

56-
3. Install the *rhui-azure-rhel8-base-sap-ha* package:
56+
3. Create a config file by using this command:
57+
58+
```bash
59+
sudo tee rhel8-base-sap-ha.config > /dev/null <<< $'[rhui-microsoft-azure-rhel8-base-sap-ha]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 8 (rhel8-base-sap-ha)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel8-base-sap-ha\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
60+
```
61+
62+
4. Install the *rhui-azure-rhel8-base-sap-ha* package:
5763
5864
```bash
59-
sudo dnf --config='https://rhelimage.blob.core.windows.net/repositories/rhui-microsoft-azure-rhel8-base-sap-ha.config' install rhui-azure-rhel8-base-sap-ha
65+
sudo dnf --config rhel8-base-sap-ha.config install rhui-azure-rhel8-base-sap-ha
6066
```
6167
62-
4. Verify that the corresponding repositories are available and show no errors:
68+
5. Verify that the corresponding repositories are available and show no errors:
6369
6470
```bash
6571
sudo dnf repolist
@@ -80,13 +86,13 @@ For more information about performing the upgrade process on custom, golden, and
8086
> [!IMPORTANT]
8187
> A single host can accommodate both SAP HANA and other SAP applications, such as NetWeaver. In this case, all the preceding repositories are required. Optionally, you can modify the */etc/yum.repos.d/rh-cloud-base-sap-ha.repo* file based on your system's specific requirements.
8288
83-
5. Upgrade the system to RHEL 8.10:
89+
6. Upgrade the system to RHEL 8.10:
8490
8591
```bash
8692
sudo dnf update
8793
```
8894

89-
6. Reboot the VM to complete the upgrade:
95+
7. Reboot the VM to complete the upgrade:
9096

9197
```bash
9298
sudo reboot
@@ -105,14 +111,19 @@ For more information about performing the upgrade process on custom, golden, and
105111
```bash
106112
sudo rm /etc/yum/vars/releasever
107113
```
114+
3. Create a config file by using this command:
108115

109-
3. Install the *rhui-azure-rhel8-base-sap-apps* package:
116+
```bash
117+
sudo tee rhel8-base-sap-apps.config > /dev/null <<< $'[rhui-microsoft-azure-rhel8-base-sap-apps]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 8 (rhel8-base-sap-apps)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel8-base-sap-apps\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
118+
```
119+
120+
4. Install the *rhui-azure-rhel8-base-sap-apps* package:
110121
111122
```bash
112-
sudo dnf --config='https://rhelimage.blob.core.windows.net/repositories/rhui-microsoft-azure-rhel8-base-sapapps.config' install rhui-azure-rhel8-base-sap-apps
123+
sudo dnf --config rhel8-base-sap-apps.config install rhui-azure-rhel8-base-sap-apps
113124
```
114125
115-
4. Verify that the corresponding repositories are available and show no errors:
126+
5. Verify that the corresponding repositories are available and show no errors:
116127
117128
```bash
118129
sudo dnf repolist
@@ -128,13 +139,13 @@ For more information about performing the upgrade process on custom, golden, and
128139
rhui-microsoft-azure-rhel8-base-sap-apps Microsoft Azure RPMs for Red Hat Enterprise Linux 8 (rhel8-base-sap-apps)
129140
```
130141
131-
5. Upgrade the system to RHEL 8.10:
142+
6. Upgrade the system to RHEL 8.10:
132143
133144
```bash
134145
sudo dnf update
135146
```
136147
137-
6. Reboot the VM to complete the upgrade:
148+
7. Reboot the VM to complete the upgrade:
138149
139150
```bash
140151
sudo reboot

support/azure/virtual-machines/windows/performance-diagnostics.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Select one of the following tabs for detailed instructions.
148148
| **Enable continuous diagnostics** | Get continuous, actionable insights into high resource usage by having data collected every 5 seconds and updates uploaded every 5 minutes to address performance issues promptly. Store insights in your preferred storage account. The storage account retains insights based on the account retention policies that you can configure to [manage the data lifecycle effectively](/azure/storage/blobs/lifecycle-management-policy-configure). You can disable continuous diagnostics at any time. |
149149
| **Run on-demand diagnostics** | Get on-demand, actionable insights into high resource usage and various system configurations. Receive a downloadable report that provides comprehensive diagnostics data to address performance issues. Store insights and reports in your preferred storage account. The storage account retains insights that are based on the account retention policies that you can configure to [manage the data lifecycle effectively](/azure/storage/blobs/lifecycle-management-policy-configure). You can initiate on-demand diagnostics at any time by using the specific analysis type that you need:<br/><ul><li>**Performance analysis**<br/>Includes all checks in the **Quick analysis** scenario, and monitors high resource consumption. Use this version to troubleshoot general performance issues, such as high CPU, memory, and disk usage. This analysis takes 30 seconds to 15 minutes to run, depending on the selected duration. Learn more [Windows](how-to-use-perfinsights.md) or [Linux](../linux/how-to-use-perfinsights-linux.md)</li><br/><li>**Quick analysis**<br/>Checks for known issues, analyzes best practices, and collects diagnostics data. This analysis takes several minutes to run. Learn more for [Windows](how-to-use-perfinsights.md) or [Linux](../linux/how-to-use-perfinsights-linux.md)</li><br/><li>**Advanced performance analysis** [*Windows only*]<br/>Includes all checks in the **Performance analysis** scenario, and collects one or more of the traces, as listed in the following sections. Use this scenario to troubleshoot complex issues that require more traces. Running this scenario for longer periods increases the overall size of diagnostics output, depending on the size of the VM and the trace options that are selected. This analysis takes 30 seconds to 15 minutes to run, depending on the selected duration. [Learn more](./how-to-use-perfinsights.md)</li><br/><li>**Azure file analysis** [*Windows only*]<br/>Includes all checks in the **Performance analysis** scenario, and captures a network trace and Server Message Block (SMB) counters. Use this scenario to troubleshoot the performance of Azure files. This analysis takes 30 seconds to 15 minutes to run, depending on the selected duration. [Learn more](./how-to-use-perfinsights.md)</li></ul> |
150150
| **Storage account** | Optionally, if you want to use a single storage account to store the Performance Diagnostics results for multiple VMs, you can select a storage account from the drop-down menu. If you don't specify a storage account, Performance Diagnostics uses the default diagnostics storage account or creates a new storage account. |
151-
|[Authentication method](#authentication-methods)|Performance Diagnostics supports three authentication methods to write performance diagnostics data to the storage account. They are system-assigned managed identity (default), user-assigned managed identity and storage account access keys. If system-assigned managed identity is selected but not enabled for the VM, Performance Diagnostics will attempt to enable it. If the current user lacks the necessary permissions, this operation may fail. Learn more. |
151+
|[Authentication method](#authentication-methods)|Performance Diagnostics supports three authentication methods to write performance diagnostics data to the storage account. They are system-assigned managed identity (default), user-assigned managed identity and storage account access keys. If system-assigned managed identity is selected but not enabled for the VM, Performance Diagnostics attempts to enable it. If the current user lacks the necessary permissions, this operation might fail.|
152152

153153
5. Review the legal terms and privacy policy, and select the corresponding checkbox to acknowledge acceptance (*required*).
154154

@@ -168,20 +168,20 @@ Performance Diagnostics supports [Managed Identities](/entra/identity/managed-id
168168
169169
- System-assigned managed identity
170170

171-
This is the default authentication method. If system-assigned managed identity is selected but not enabled for the VM, Performance Diagnostics will attempt to enable it. If the current user lacks the necessary permissions, this operation may fail. Performance Diagnostics will add the **Storage Table Data Contributor** role and the **Storage Blob Data Contributor** role for the storage account, to the system-assigned managed identity. For more information, see [How to enable system-assigned managed identity on an existing VM](/entra/identity/managed-identities-azure-resources/how-to-configure-managed-identities#enable-system-assigned-managed-identity-on-an-existing-vm).
171+
This is the default authentication method. If system-assigned managed identity is selected but not enabled for the VM, Performance Diagnostics attempts to enable it. If the current user lacks the necessary permissions, this operation might fail. Performance Diagnostics adds the **Storage Table Data Contributor** role and the **Storage Blob Data Contributor** role for the storage account, to the system-assigned managed identity. For more information, see [How to enable system-assigned managed identity on an existing VM](/entra/identity/managed-identities-azure-resources/how-to-configure-managed-identities#enable-system-assigned-managed-identity-on-an-existing-vm).
172172

173173
- User-assigned managed identity
174174

175-
User can select one from a list of user-assigned managed identities associated with the VM. Performance Diagnostics will add the **Storage Table Data Contributor** role and the **Storage Blob Data Contributor** role for the storage account, to the user-assigned managed identity. For more information, see [How to assign a user-assigned managed identity to an existing VM](/entra/identity/managed-identities-azure-resources/how-to-configure-managed-identities#assign-a-user-assigned-managed-identity-to-an-existing-vm).
175+
The user can select one from a list of user-assigned managed identities associated with the VM. Performance Diagnostics adds the **Storage Table Data Contributor** role and the **Storage Blob Data Contributor** role for the storage account, to the user-assigned managed identity. For more information, see [How to assign a user-assigned managed identity to an existing VM](/entra/identity/managed-identities-azure-resources/how-to-configure-managed-identities#assign-a-user-assigned-managed-identity-to-an-existing-vm).
176176

177177
- Storage account access keys
178178

179-
User can select storage account access keys. If **Allow storage account key access** is disabled for the storage account, the installation operation will fail. For more information, see [Shared key authorization](/azure/storage/common/shared-key-authorization-prevent#disable-shared-key-authorization).
179+
The user can select storage account access keys. If **Allow storage account key access** is disabled for the storage account, the installation operation fails. For more information, see [Shared key authorization](/azure/storage/common/shared-key-authorization-prevent#disable-shared-key-authorization).
180180

181181
To change the authentication method, uninstall Performance Diagnostics and reinstall it.
182182

183183
> [!NOTE]
184-
> Once the managed identities are linked to the VM, it may take a few minutes for them to be propagated and recognized by Performance Diagnostics. If the installation fails, wait a few minutes and try again.
184+
> Once the managed identities are linked to the VM, it might take a few minutes for them to be propagated and recognized by Performance Diagnostics. If the installation fails, wait a few minutes and try again.
185185
186186
## View insights and reports
187187

support/azure/virtual-machines/windows/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@
142142
href: azure-vm-nsi-not-starting.md
143143
- name: Cannot RDP into Azure VM because of a brute force attack
144144
href: cannot-rdp-azure-vm-brute-force.md
145+
- name: The system administrator has restricted the types of logon
146+
href: ../../../windows-server/remote/system-admin-restrict-types-logon.md?context=/troubleshoot/azure/virtual-machines/windows/context/context
145147
- name: Troubleshoot a failed trust relationship in an Azure Windows VM
146148
href: troubleshoot-broken-secure-channel.md
147149
- name: Troubleshoot RDP error because DHCP is disabled

support/azure/virtual-machines/windows/vhd-not-supported-vm-azure.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ services: virtual-machines
55
documentationCenter: ''
66
author: genlin
77
manager: dcscontentpm
8+
ms.reviewer: akastha
89
ms.service: azure-virtual-machines
910
ms.topic: troubleshooting
1011
ms.tgt_pltfrm: na
1112
ms.workload: infrastructure
12-
ms.date: 06/29/2020
13+
ms.date: 06/04/2025
1314
ms.author: genli
1415
ms.custom: sap:VM Admin - Windows (Guest OS)
1516
---

0 commit comments

Comments
 (0)