Failed to update diagnostics for ‘/providers/microsoft.aadiam’

Log Analytics is a tool in the Microsoft Azure portal that we can use for collecting logs and metrics from Azure services such as Azure AD, Virtual machines, Storage accounts, Key vaults, etc. Enabling Log Analytics is relatively straightforward, however, when you add diagnostic settings for Azure AD in the Log Analytics workspace, You will get the following error.

Failed to update diagnostics for ‘/providers/microsoft.aadiam’.{“code”:”Conflict”,”message”:”The subscription ‘01712935-a25d-47758119-009617eaf92g’ is not registered to use microsoft.insights.”}.

Updating Diagnostics

 

You can fix the above issue by registering “microsoft.insights” from resource providers in your subscription.

You will find that its already registered but it’s not acctually, so select the provider and click Re-register

Resource providers

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More