Hello Robin
Thank you for posting your query on Microsoft Q&A platform.
To register the Microsoft.PolicyInsights resource provider in your subscription, you need the following prerequisites and permissions, along with the steps:
- Azure Subscription: Make sure you have an active subscription.
- Permissions: You must have Owner or Contributor role on the subscription.
- Alternatively, a custom role with
Microsoft.Resources/providers/register/actionpermission.
Steps to Register Microsoft.PolicyInsights:
You can do this via Azure Portal, Azure CLI, or PowerShell:
- Azure Portal: Go to Azure Portal → Subscriptions, Select your subscription, Under Settings, click Resource providers, Search for Microsoft.PolicyInsights, Click Register.
- You can also do it via power shell/azure CLI, refer the below document for more details.
If you have any other questions or need further support, please feel free to contact us.
Thanks,
Suchitra.