Buy Me A Coffee

Hi!

Azure days for me and weird behavior when I was trying to enable some monitoring resources in an IoT Hub resource. In random times, I get an error similar to this one

The subscription ‘[subscription id]’ is not registered to use microsoft.insights.

And, it was weird because when I check the Resources providers available and registered for my subscription, the [microsoft.insights] appeared as [registered].

azure notifications displaying the monitoring microsoft insights issue

So, I tested a couple of reset scenarios, some other PowerShell scripts, and at the end the solution was the easiest one:

Unregister and Register again the provider.

5 minutes later, my monitoring capabilities were back available for me.

azure subscription resource provider

Again, it happened at random times, so there maybe an external factor also in this scenario.

Happy coding!

Greetings

El Bruno

More posts in my blog ElBruno.com.

More info in https://beacons.ai/elbruno


10 responses to “#Azure – Easy fix to subscription is not registered to use microsoft.insights”

  1. Dominican Peso

    Like

  2. Maximus Great Avatar
    Maximus Great

    thnx, this helped. Can’t believe this bug exists even today.

    Like

Leave a reply to Maximus Great Cancel reply

Discover more from El Bruno

Subscribe now to keep reading and get access to the full archive.

Continue reading