what role/permission required to access trace service in azure managed grafana?

Raj Bahadur (HCL Technologies Corporate Services) 5 Reputation points Microsoft Vendor
2024-10-01T19:13:57.6966667+00:00

I need to read the trace data and show it in azure manage Grafana dashboard. Created connection data source as azure monitor. While configuring the dashboard selected service as Traces then while selecting resource getting below error.

An error occurred while requesting resources from Azure Monitor

Unable to resolve a list of valid metric namespaces. Validate the datasource configuration is correct and required permissions have been granted for all subscriptions. Grafana requires at least the Reader role to be assigned.

So kindly let me know which roles/permission need to provide here?

Azure Managed Grafana
Azure Managed Grafana
An Azure service used to deploy Grafana dashboards for analytics and monitoring solutions.
112 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Rahul Podila 510 Reputation points Microsoft Vendor
    2024-10-24T08:33:09.3833333+00:00

    Hi @Raj Bahadur (HCL Technologies Corporate Services)
    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here 

    The connection issue between Grafana and Azure Monitor, begin by giving the right permissions. Log into the Azure portal and go to the Resource group or Subscription where your Azure resources are located. From there, Goto the IAM and click on the Add button, assign the Reader role (or Monitoring Reader) to the account that Grafana is using. 

    After that, check the settings in Grafana to make sure the Subscription ID and Tenant ID are correct. Also, ensure that your Azure Monitor resources, like Log Analytics workspaces, are set up properly and have the data you want. Once you've done this, test the connection again. If it still doesn’t work, look for any Azure policies that might be blocking access. 

    If you have any further queries, do let us know 

    -------------------------------------------------------------------------------------------------------- 

    If the answer is helpful, please click "Accept Answer" and "Upvote it" 


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.