Azure Monitor Data source error

  • What Grafana version and what operating system are you using? v10.0.1

  • What are you trying to achieve?
    Connect to Azure Data source with App Registration.

  • How are you trying to achieve it?
    – App Registration.

  • What happened?
    Within my Organization with Local Grafana installed on VM

**Getting errors : **
One or more health checks failed. See details below.
Details
1. Error connecting to Azure Monitor endpoint: health check failed: Get “https://management.azure.com/subscriptions?api-version=2020-01-01”: dial tcp 20.51.10.137:443: i/o timeout
2. Error connecting to Azure Log Analytics endpoint: health check failed: Get “https://management.azure.com/subscriptions//providers/Microsoft.OperationalInsights/workspaces?api-version=2017-04-26-preview”: dial tcp 20.51.10.137:443: i/o timeout
3. Error connecting to Azure Resource Graph endpoint: health check failed: Post “”: dial tcp 20.51.10.137:443: i/o timeout

also this error :
An error occurred while requesting resources from Azure Monitor

Unexpected token ‘u’, “unexpected”… is not valid JSON

  • What did you expect to happen?

connect :slight_smile:

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?

Your VM doesn’t have network connectivity to Azure.

Thanks, I have enabled port 443 to all, what else should i do ?

I got the same error here.

I encountered this after migrating our subscription to a CSP. I changed the data source to reflect the change of subscription ID, but some of the queries had the subscription ID coded directly instead of using the variable, so I had to update the JSON directly to get all of the panels functioning.