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
#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.
9
9
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:
22
22
23
23
## Cause
24
24
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.
26
29
27
30
## Solution
28
31
29
32
To fix this issue, follow these steps:
30
33
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.
36
36
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.
38
39
39
40
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).
0 commit comments