This is how to fix the deployment error if CloudMonitor Analytics Engine to install fails with a message starting with “The Subscription is not registred to use namespace ‘Microsoft.XYZ'” (For example, “Microsoft.OperationalInsights”).
This means that CloudMonitor has requested to deploy a type of resource that it requires and the Azure Provider is not currently registred on the Subscription where you are installing CloudMonitor to. It’s an easy fix!
Subscription Resource Providers
After a few minutes, refresh the page and you will see that it has now changed to “Registered” with a green tick. You can now attempt to re-install the CloudMonitor Analytics Engine from the marketplace and it should get passed this error.
Note: There are multple different types of Resource Providors required which would have the same solution if the problem arose.