Azure Policy Compliance error - Failed to register the assignments scopes to Microsoft.PolicyInsights provider

Madhu Rao 40 Reputation points
2024-01-30T00:15:52.6866667+00:00

Hello, I can assign Azure policy without any issues. But when I click "Compliance," I get the error below. User's image

Thanks, in advance.

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

Accepted answer
  1. SwathiDhanwada-MSFT 16,401 Reputation points
    2024-01-30T05:25:33.0433333+00:00

    @Madhu Rao Thanks for your question. From the error provided, it seems you haven't registered Microsoft.PolicyInsights resource provider for your subscription. Also, you don't seem to have necessary permissions to register the resource provider.

    I would suggest you check if the Microsoft.PolicyInsights resource provider is registered or not by traversing to subscriptions - > Settings -> Resource Providers -> Search for resource provider -> Select and click on Register.

    Also, you must have permission to do the /register/action operation for the resource provider. The permission is included in the Contributor and Owner roles. Kindly make sure you have necessary permissions.


0 additional answers

Sort by: Most helpful