Share via

What is the first step I should take to allow the add-on to start reporting compliance data correctly?

Kushi Yadav 40 Reputation points
2026-04-29T11:35:18.4566667+00:00

I have successfully installed the Azure Policy add-on for AKS (Azure Kubernetes Service) cluster. However, I notice that no compliance data is appearing in the Azure Portal. Check the add-on logs and see the following error:

"The resource provider 'Microsoft.PolicyInsights' is not registered in subscription."

Azure Policy
Azure Policy

An Azure service that is used to implement corporate governance and standards at scale for Azure resources.

0 comments No comments

Answer accepted by question author

  1. Suchitra Suregaunkar 13,785 Reputation points Microsoft External Staff Moderator
    2026-04-29T13:03:54.9566667+00:00

    Hello @Kushi Yadav

    Thank you for posting your query on Microsoft Q&A platform.

    since the add-on is failing with “The resource provider ‘Microsoft.PolicyInsights’ is not registered in subscription,” the very first thing to do is register that provider. Here’s how:

    1. In Azure CLI
         az provider register --namespace Microsoft.PolicyInsights
      
    2. Or in the Azure Portal
      • Go to your Subscription
      • Under Settings click Resource providers
      • Find Microsoft.PolicyInsights and click Register.

    User's image

    After you see the registration state switch to Registered (usually takes 5–10 minutes), the Azure Policy add-on in your AKS cluster will be able to call into Policy Insights and start pushing compliance data. Once it’s registered, you can either wait for the next scheduled compliance scan (up to 24 hrs) or trigger an on-demand scan:

    • Using CLI

    az policy state trigger-scan --name <yourAssignmentName>
    

    Hope that gets your compliance data flowing!

    Reference docs:

    Thanks,

    Suchitra.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.