From a327c4d7d6f7dad5ed88f4c43b79e1dbef6c5905 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 10 Mar 2022 10:28:16 +0100 Subject: [PATCH] Docs: Fix formatting of docs file (#46402) --- docs/sources/auth/azuread.md | 90 ++++++++++++++++++------------------ 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/docs/sources/auth/azuread.md b/docs/sources/auth/azuread.md index 7dcee909870..df58e75d4d9 100644 --- a/docs/sources/auth/azuread.md +++ b/docs/sources/auth/azuread.md @@ -10,11 +10,11 @@ weight = 700 The Azure AD authentication allows you to use an Azure Active Directory tenant as an identity provider for Grafana. You can use Azure AD Application Roles to assign users and groups to Grafana roles from the Azure Portal. This topic has the following sections: - [Azure AD OAuth2 authentication](#azure-ad-oauth2-authentication) - - [Create the Azure AD application](#create-the-azure-ad-application) - - [Enable Azure AD OAuth in Grafana](#enable-azure-ad-oauth-in-grafana) - - [Configure allowed groups](#configure-allowed-groups) - - [Configure allowed domains](#configure-allowed-domains) - - [Team Sync (Enterprise only)](#team-sync-enterprise-only) + - [Create the Azure AD application](#create-the-azure-ad-application) + - [Enable Azure AD OAuth in Grafana](#enable-azure-ad-oauth-in-grafana) + - [Configure allowed groups](#configure-allowed-groups) + - [Configure allowed domains](#configure-allowed-domains) + - [Team Sync (Enterprise only)](#team-sync-enterprise-only) ## Create the Azure AD application @@ -48,46 +48,46 @@ To enable the Azure AD OAuth2, register your application with Azure AD. 1. Include the unique ID in the configuration file: - ```json - "appRoles": [ - { - "allowedMemberTypes": [ - "User" - ], - "description": "Grafana admin Users", - "displayName": "Grafana Admin", - "id": "SOME_UNIQUE_ID", - "isEnabled": true, - "lang": null, - "origin": "Application", - "value": "Admin" - }, - { - "allowedMemberTypes": [ - "User" - ], - "description": "Grafana read only Users", - "displayName": "Grafana Viewer", - "id": "SOME_UNIQUE_ID", - "isEnabled": true, - "lang": null, - "origin": "Application", - "value": "Viewer" - }, - { - "allowedMemberTypes": [ - "User" - ], - "description": "Grafana Editor Users", - "displayName": "Grafana Editor", - "id": "SOME_UNIQUE_ID", - "isEnabled": true, - "lang": null, - "origin": "Application", - "value": "Editor" - } - ], - ``` + ```json + "appRoles": [ + { + "allowedMemberTypes": [ + "User" + ], + "description": "Grafana admin Users", + "displayName": "Grafana Admin", + "id": "SOME_UNIQUE_ID", + "isEnabled": true, + "lang": null, + "origin": "Application", + "value": "Admin" + }, + { + "allowedMemberTypes": [ + "User" + ], + "description": "Grafana read only Users", + "displayName": "Grafana Viewer", + "id": "SOME_UNIQUE_ID", + "isEnabled": true, + "lang": null, + "origin": "Application", + "value": "Viewer" + }, + { + "allowedMemberTypes": [ + "User" + ], + "description": "Grafana Editor Users", + "displayName": "Grafana Editor", + "id": "SOME_UNIQUE_ID", + "isEnabled": true, + "lang": null, + "origin": "Application", + "value": "Editor" + } + ], + ``` 1. Go to **Azure Active Directory** and then to **Enterprise Applications**. Search for your application and click on it.