Azure policy is getting enabled automatically, how to remove that setting?

Uday Kiran Reddy (ureddy) 86 Reputation points
2021-09-19T15:49:13.223+00:00

We have disabled the azure policy while creating the aks cluster.
But somehow, it is getting enabled after sometime.

How to check where this is being triggered and disable that setting.

133395-image.png

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,855 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
792 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Igor Beliakov 1 Reputation point
    2022-02-16T11:11:21.033+00:00

    Most likely, Azure policy is enabled in Auto provisioning section of Microsoft Defender for Cloud.

    Microsoft Defender for Cloud -> Environment Settings -> (pick relevant subscription) -> Auto provisioning -> Microsoft Defender for Containers components (preview) -> Azure Policy for Kubernetes add-on.

    174929-image.png

    0 comments No comments