Breyta

Deila með


How to modify access permissions to Azure Monitor

By default, when a Grafana instance is created, it comes with a Monitoring Reader role granted on all Azure Monitor data and Log Analytics resources within the subscription.

This means that the new Grafana instance can access and search all monitoring data in the subscription. It can view the Azure Monitor metrics and logs from all resources, and any logs stored in Log Analytics workspaces in the subscription.

In this article, learn how to manually grant permission for Azure Managed Grafana to access an Azure resource using a managed identity.

Prerequisites

Sign in to Azure

Sign in to the Azure portal at https://portal.azure.com/ with your Azure account.

Edit Azure Monitor permissions

To edit permissions for a specific resource, follow these steps.

  1. Open a resource that contains the monitoring data you want to retrieve. In this example, we're configuring an Application Insights resource.

  2. Select Access Control (IAM).

  3. Under Grant access to this resource, select Add role assignment.

    Screenshot of the Azure platform to add role assignment in App Insights.

  4. The portal lists all the roles you can give to your Azure Managed Grafana resource. Select a role. For instance, Monitoring Reader, and select Next. Screenshot of the Azure platform and choose Monitor Reader.

  5. For Assign access to, select Managed identity.

  6. Click on Select members.

    Screenshot of the Azure platform selecting members.

  7. Select the Subscription containing your Managed Grafana instance.

  8. For Managed identity, select Azure Managed Grafana.

  9. Select one or several Managed Grafana instances.

  10. Click Select to confirm

    Screenshot of the Azure platform selecting the instance.

  11. Select Next, then Review + assign to confirm the assignment 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