When I am creating Alert from Azure Monitor services I found below massage restricted me to complete the process of creating alert after few search on Microsoft document I found that I need to register for the Microsoft.insights provider to my subscription and they we can do it from azure portal or using PowerShell.

Creation of alert rules will fail, since the subscription is not registered to Microsoft.insights resource provider

Fix the issue using PowerShell command

Register-AzureRmResourceProvider –ProviderNamespace Microsoft.Insights

Fix the issue from Azure Portal

Under subscription in the left side select Resource provider and search about Microsoft.insights then do register for it easily

Keep Following Me

2 thoughts on “The subscription is not registered to Microsoft.insights resource provider

  1. Great post, had the same behavior caused by Microsoft.AAD missing registration. Rule of thumb check the registered providers when adding a new subscription to AAD.

    Liked by 1 person

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.