azure-cli: "microsoft.insight" resource provider get stuck in "registering"

Describe the bug

Trying to register “microsoft.insight” for my subscription via the portal but it gets stuck in registering and eventually gives this message “‘Register’ operation check timed out on Resource Provider ‘microsoft.insights’, please refresh resource providers list to check for registration status”.

I’ve tried reregistering and unregistering it but same behavior. To me seems like a connection issue. It’s been 2 days now.

The only thing i found on internet: https://stackoverflow.com/questions/63451493/azure-resource-provider-stuck-in-registering

Related command

When I run: az provider register --namespace Microsoft.Insights I get: "Registering is still on-going. You can monitor using ‘az provider show -n Microsoft.Insights’ " and when I run: az provider show --namespace microsoft.insights -o table I get: Namespace | RegistrationPolicy | RegistrationState microsoft.insights | RegistrationRequired | Registering

Errors

“‘Register’ operation check timed out on Resource Provider ‘microsoft.insights’, please refresh resource providers list to check for registration status”.

Issue script & Debug output

“‘Register’ operation check timed out on Resource Provider ‘microsoft.insights’, please refresh resource providers list to check for registration status”.

Expected behavior

Successful registered resource provider. Similar to all other resources

Environment Summary

Nothing special

Additional context

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 3
  • Comments: 22 (2 by maintainers)

Most upvoted comments

Looks like the issue is now resolved. I was able to complete the registration of the provider Microsoft.OperationalInsights.

@meghanagupta95 Could you please take a look at the provider registering issue? Or could you please help route it to the right person?

Adding Service team to look into this.