How to modify access permissions to Azure Monitor
By default, when a Grafana instance is created, Azure Managed Grafana grants it the Monitoring Reader role for all Azure Monitor data and Log Analytics resources within a subscription.
This means that the new Grafana instance can access and search all monitoring data in the subscription, including viewing the Azure Monitor metrics and logs from all resources, and any logs stored in Log Analytics workspaces in the subscription.
In this article, you'll learn how to manually grant permission for Azure Managed Grafana to access an Azure resource using a managed identity.
Prerequisites
- An Azure account with an active subscription. Create an account for free.
- An Azure Managed Grafana instance. If you don't have one yet, create an Azure Managed Grafana instance.
- An Azure resource with monitoring data and write permissions, such as User Access Administrator or Owner
Sign in to Azure
Sign in to the Azure portal at https://portal.azure.com/ with your Azure account.
Edit Azure Monitor permissions
To change permissions for a specific resource, follow these steps:
Open a resource that contains the monitoring data you want to retrieve. In this example, we're configuring an Application Insights resource.
Select Access Control (IAM).
Under Grant access to this resource, select Add role assignment.
The portal lists various roles you can give to your Managed Grafana resource. Select a role. For instance, Monitoring Reader. Select this role.
Click Next.
For Assign access to, select Managed Identity.
Click Select members.
Select the Subscription containing your Managed Grafana instance
Select a Managed identity from the options in the dropdown list
Select the Managed Grafana instance from the list.
Click Select to confirm
Click Next, then Review + assign to confirm the application of the new permission
For more information about how to use Managed Grafana with Azure Monitor, go to Monitor your Azure services in Grafana.
Next steps
Feedback
Submit and view feedback for