← Archive

Fixing 'No Data' Issue in Datadog when monitoring Azure Resources

How to resolve the 'No Data' problem in Datadog when monitoring Azure resources.

From the blog archive. This article reflects its original publication context. Product names, interfaces, and procedures may have changed.

Fixing 'No Data' Issue in Datadog when monitoring Azure Resources

Update, November 2026: Datadog has since deprecated the azure.*.status metric that monitors like mine were built on and replaced it with azure.*.count. With the count metric the same problem shows up as status:query_failed, or the metric is missing while other Azure metrics arrive. The fix is unchanged: register the Microsoft.ResourceHealth provider in the subscription. See Datadog’s Azure advanced configuration guide for the current metric.

Recently I set up Datadog and the Integration for Azure via a Service Principal for a Test-Subscription. After creating the needed Monitors, which are also similar to Production, I deactivated the Test-Subscription and integrated the Production Subscription. For this Subscription Datadog “denied” delivering the status of my Azure Resources like API Service, Service Bus,…

Screenshot: Fixing 'No Data' Issue in Datadog when monitoring Azure Resources

As I found out with Datadog Support, the required “Microsoft.ResourceHealth” Provider hasn’t installed my Productive Subscription.

Screenshot 2: Fixing 'No Data' Issue in Datadog when monitoring Azure Resources

Fixing this behavior is simple, you can activate the required Azure Provider in your Azure Subscription via the Graphical User Interface (GUI) or Azure CLI.

Method 1: Graphical User-Interface (GUI)

Search in your Azure Portal for the corresponding Subscription, on the left Blade navigate to Resource providers -> Search for ‘Microsoft.ResourceHealth’.

Screenshot 3: Fixing 'No Data' Issue in Datadog when monitoring Azure Resources

The Provider will be registered, this takes a few minutes.

Screenshot 4: Fixing 'No Data' Issue in Datadog when monitoring Azure Resources

Screenshot 5: Fixing 'No Data' Issue in Datadog when monitoring Azure Resources

Method 2: Azure CLI

Log into your Azure Portal and use the built-in Azure Cloud Shell with “Bash” or use your local Azure CLI.

az login
az provider register --namespace 'Microsoft.ResourceHealth' --wait
az provider show --namespace Microsoft.ResourceHealth --query registrationState

You can use the provider register command without the –wait suffix at the end, but then the command won’t wait until the provider registration is finished. With the provider show command, you can check if the Provider is registered successfully via CLI.

Screenshot 6: Fixing 'No Data' Issue in Datadog when monitoring Azure Resources

After the registration and about 10 minutes of waiting, the Metrics are transmitted correctly.

Screenshot 7: Fixing 'No Data' Issue in Datadog when monitoring Azure Resources