Azure policy how to remove/define the other category

MrFlinstone 481 Reputation points
2024-01-08T12:30:49.46+00:00

We have assigned a policy to our subscription, at the moment the chart states 3 categories

  1. compliant
  2. non-compliant
  3. other

The other category is somewhat confusing, is it possible to change this such that a policy control is either compliant, non-compliant or perhaps exempted ?

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 11,961 Reputation points
    2024-01-16T20:57:00.2833333+00:00

    MrFlinstone - Thanks for reaching out to us. On top of what Mohammed has said, The policy compliance chart in Azure Portal only shows three categories: compliant, non-compliant, and other. The "other" category represents resources that are not evaluated by the policy. However, you can use the "Disabled" effect in Azure Policy to exempt resources from a policy. When you assign a policy with the "Disabled" effect, the resources that match the policy are marked as compliant by default. You can also use the "AuditIfNotExists" effect to mark resources as compliant if they do not exist. This can be useful if you have resources that are not required for your compliance goals. Hope this helps. and please feel free to reach out if you have any further questions.


    If the above response was helpful, please feel free to "Accept as Answer" and click "Yes" so it can be beneficial to the community.