Skip to content

Commit 22acc28

Browse files
authored
Update error-code-requestdisallowedbypolicy.md
part of content review TSG
1 parent c5c0ab3 commit 22acc28

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

support/azure/azure-kubernetes/create-upgrade-delete/error-code-requestdisallowedbypolicy.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: RequestDisallowedByPolicy error when deploying an AKS cluster
33
description: Learn how to fix the RequestDisallowedByPolicy error when you try to create and deploy an Azure Kubernetes Service (AKS) cluster.
4-
ms.date: 10/12/2024
4+
ms.date: 03/13/2025
55
editor: v-jsitser
6-
ms.reviewer: rissing, chiragpa, erbookbi, albarqaw, v-leedennis, v-weizhu
6+
ms.reviewer: rissing, chiragpa, erbookbi, albarqaw, jacobbaek, v-leedennis, v-weizhu
77
ms.service: azure-kubernetes-service
88
#Customer intent: As an Azure Kubernetes user, I want to troubleshoot the RequestDisallowedByPolicy error code so that I can successfully create and deploy an Azure Kubernetes Service (AKS) cluster.
99
ms.custom: sap:Create, Upgrade, Scale and Delete operations (cluster or nodepool)
@@ -22,19 +22,20 @@ When you try to deploy an AKS cluster, you receive the following error message:
2222
2323
## Cause
2424

25-
For security or compliance, your subscription administrators might assign policies that limit how resources are deployed. For example, your subscription might have a policy that prevents creating public IP addresses, network security groups, user-defined routes, or route tables. The error message includes the specific reason why the cluster creation was blocked. Only you can manage the policies in your environment. Microsoft can't disable or bypass those policies.
25+
For security or compliance, your subscription administrators might assign policies that limit how resources are deployed. For example, your subscription might have a policy that prevents creating public IP addresses, network security groups, user-defined routes, or route tables. The error message includes the specific reason why the cluster creation was blocked.
26+
27+
> [!NOTE]
28+
> Only you can manage the policies in your environment. Microsoft can't disable or bypass those policies.
2629
2730
## Solution
2831

2932
To fix this issue, follow these steps:
3033

31-
1. Find the policy that blocks the action. These policies are listed in the error message. The name of a policy assignment or definition is the last segment of the `id` string shown in the error message.
32-
33-
1. If possible, change your deployment to meet the limitations of the policy, and then retry the deploy operation.
34-
35-
1. Add an [exception to the policy](/azure/governance/policy/concepts/exemption-structure).
34+
1. Find the policy that blocks the action. These policies are listed in the error message.
35+
The name of a policy assignment or definition is the last segment of the `id` string shown in the error message.
3636

37-
1. [Disable the policy](/azure/defender-for-cloud/tutorial-security-policy#disable-security-policies-and-disable-recommendations).
37+
1. If possible, change your deployment to meet the limitations of the policy, and then retry the deploy operation.
38+
or if you have permission to change policy, [Add an exemption](/azure/governance/policy/tutorials/disallowed-resources#create-an-exemption) to the policy.
3839

3940
To get details about the policy that blocked your cluster deployment operation, see [RequestDisallowedByPolicy error with Azure resource policy](/azure/azure-resource-manager/troubleshooting/error-policy-requestdisallowedbypolicy).
4041

0 commit comments

Comments
 (0)