Failed Deployment – Subscription is not registered to use namespace “Microsoft.OperationalInsights”

Modified on Mon, 11 Jul 2022 at 10:20 AM

Problem


Installation of CloudMonitor Analytics Engine fails and a deployment error with a message appears stating: “The Subscription is not registered to use namespace ‘Microsoft.XYZ'” (For example, XYZ = “Microsoft.OperationalInsights”). 


This error means that CloudMonitor has requested to deploy a type of resource that it requires and the Azure Provider is not currently registered on the Subscription where you are installing CloudMonitor to. 


Here are some of the Providers that CloudMonitor users: 


  • Microsoft.BotService
  • Microsoft.Synapse
  • Microsoft.OperationalInsights


Solution

1) Open the Subscription where you are trying to install the CloudMonitor Analytics Engine


Click on “Resource providers” in the menu on the left (see screenshot below). 


Then type the name of the missing namespace (.e.g Microsoft.OperationalInsights) into the search box. 



You will see that the Status of the resource we searched shows as “NotRegistered”. This is an essential component in the CloudMonitor Analytics Engine for auditing, so just click on the “Register” button to enable it. 

2) After a few minutes, refresh the page and you will see that it has now changed to “Registered” with a green tick.



3) You can now attempt to re-install the CloudMonitor Analytics Engine from the marketplace and it should get past this error.


Note: There are multiple different types of Resource Providers required which would have the same solution if the problem arose.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article