Skip to content

Commit fa21b1b

Browse files
committed
Update
1 parent 7bdf7b0 commit fa21b1b

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

articles/managed-grafana/how-to-sync-teams-with-azure-ad-groups.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,41 @@
11
---
2-
title: Create Grafana teams with Microsoft Entra groups
3-
description: Learn how to set up Grafana teams and allow access to Grafana folders and dashboards using Microsoft Entra groups in Azure Managed Grafana.
4-
#customer intent: As a Grafana administrator, I want to set up a Grafana team using Microsoft Entra groups to allow access to specific folders and dashboards.
2+
title: Configure Grafana team sync with Microsoft Entra groups
3+
description: Learn how to configure Grafana Teams and allow access to Grafana folders and dashboards using Microsoft Entra groups in Azure Managed Grafana.
4+
#customer intent: As a Grafana administrator, I want to use Microsoft Entra groups to set up Grafana teams and control access to specific folders and dashboards.
55
ms.service: managed-grafana
66
ms.topic: how-to
77
author: maud-lv
88
ms.author: malev
99
ms.date: 06/7/2024
1010
---
1111

12-
# Create and manage Grafana teams with Microsoft Entra groups
12+
# Configure Grafana teams with Microsoft Entra groups and Grafana team sync
1313

14-
In this guide, you learn how to use Microsoft Entra groups with [Grafana Team Sync](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/) to set dashboard permissions in Azure Managed Grafana.
14+
In this guide, you learn how to use This guide will help you use Microsoft Entra groups with [Grafana Team Sync](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/) to manage dashboard permissions in Azure Managed Grafana.
1515

16-
Grafana allows you to control access to its resources at multiple levels. In Azure Managed Grafana, you use the built-in Azure role-based access control(RBAC) roles for Grafana to define access rights users have. These permissions are applied to all resources in your Grafana workspace by default. You can't, for example, grant someone edit permission to only one particular dashboard with RBAC. If you assign a user to the Grafana Editor role, that user can make changes to any dashboard in your Grafana workspace. Using Grafana's [granular permission model](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/), you can elevate or demote a user's default permission level for specific dashboards, or dashboard folders.
16+
In Azure Managed Grafana, you can use Azure's role-based access control (RBAC) roles for Grafana to define access rights. These permissions apply to all resources in your Grafana workspace by default, not per folder or dashboard. If you assign a user to the Grafana Editor role, that user can edit any dashboard in your Grafana workspace. However, with Grafana's [granular permission model](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/), you can adjust a user's default permission level for specific dashboards or dashboard folders.
1717

18-
Managed Grafana stores the user assignments for its built-in RBAC roles in Microsoft Entra ID. For performance reasons, it doesn't automatically synchronize the user assignments to Grafana workspaces. Users in these roles don't show up in Grafana's **Configuration** UI until they've signed in once. You can only grant users extra permissions after they appear in the Grafana user list in **Configuration**. Microsoft Entra group sync gets around this issue. With this feature, you create a *Grafana team* in your Grafana workspace linked with a Microsoft Entra group. You then configure your dashboard permissions for that team. For example, you can grant a Grafana viewer the ability to modify a dashboard, or block a Grafana editor from being able to make changes.
1918

20-
Setting up Microsoft Entra group sync is done by following these steps in a given Azure Managed Grafana workspace:
19+
Microsoft Entra group sync helps you manage this. With it, you can create a *Grafana team* in a Grafana workspace, link it to a Microsoft Entra group, and then configure your dashboard permissions for that team. For example, you can allow a Grafana viewer to modify a dashboard, or prevent a Grafana editor from making changes.
20+
21+
To set up Microsoft Entra group sync, follow these steps in your Azure Managed Grafana workspace:
2122

2223
1. Assign a Grafana role to a Microsoft Entra Group
2324
1. Create a Grafana team in an Azure Managed Grafana workspace
24-
1. Assign the Microsoft Entra group in the Grafana team
25+
1. Assign the Microsoft Entra group to the Grafana team
2526
1. In the Grafana UI, assign permissions at the folder or dashboard level
2627

2728
<a name='set-up-azure-ad-group-sync'></a>
2829

2930
## Prerequisites
3031

31-
To follow the steps in this guide, you must have:
32+
Before you start, make sure you have:
3233

3334
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free).
3435
- An Azure Managed Grafana instance. If needed, [create a new instance](quickstart-managed-grafana-portal.md).
3536
- A Microsoft Entra group. If needed, [create a basic group and add members](/entra/fundamentals/how-to-manage-groups.md#create-a-basic-group-and-add-members).
3637

37-
## Give the Microsoft Entra group the required permission on the Grafana instance
38+
## Assign a permission to the Microsoft Entra group
3839

3940
The Microsoft Entra group must have a Grafana role to access the Grafana instance.
4041

@@ -69,7 +70,7 @@ Set up a Microsoft Entra ID-backed Grafana team.
6970

7071
:::image type="content" source="media/azure-ad-group-sync/select-azure-ad-group.png" alt-text="Screenshot of the Azure portal. Finding and selecting a Microsoft Entra group.":::
7172

72-
1. Optionally repeat the previous three steps to add more Microsoft Entra groups to the Grafana team as appropriate.
73+
1. Optionally repeat the previous three steps to add more Microsoft Entra groups to the Grafana team.
7374

7475
### Assign access to a Grafana folder or dashboard
7576

@@ -85,16 +86,15 @@ Set up a Microsoft Entra ID-backed Grafana team.
8586
> [!TIP]
8687
> To check existing access permissions for a dashboard, open a dashboard and go to the **Permissions** tab. This page shows all permissions assigned for this dashboard and all inherited permissions.
8788

88-
:::image type="content" source="media/azure-ad-group-sync/view-permissions.png" alt-text="Screenshot of the Grafana UI, adding a permission for a team in a Grafana folder.":::
89-
89+
:::image type="content" source="media/azure-ad-group-sync/view-permissions.png" alt-text="Screenshot of the Grafana UI, showing permission for a Grafana dashboard.":::
9090

9191
### Scope down access
9292

9393
You can scale down access by removing permissions to access one or more folders.
9494

9595
For example, if a user, group of users has the Grafana Viewer role on a Grafana instance, disable their access to a folder by following these steps:
9696

97-
1. In the Grafana UI, go to a folder you want to hide from the user
97+
1. In the Grafana UI, go to a folder you want to hide from the user.
9898
1. In the **Permissions** tab, select the **X** button to the right of the **Viewer** permission to remove this permission from this folder.
9999
1. Repeat this step for all folders you want to hide from the user.
100100

0 commit comments

Comments
 (0)