Docs: Update azuread.md to reflect Azure Portal Interface (#25420)

This commit is contained in:
Tim Schwenke 2020-07-09 01:30:15 +02:00 committed by GitHub
parent c6a3afb4b8
commit 4df441f822
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,18 +22,17 @@ To enable the Azure AD OAuth2 you must register your application with Azure AD.
1. Log in to [Azure Portal](https://portal.azure.com) and click **Azure Active Directory** in the side menu. 1. Log in to [Azure Portal](https://portal.azure.com) and click **Azure Active Directory** in the side menu.
1. Click **App Registrations** and add a new application registration: 1. Click **App Registrations** and add a new application registration with a fitting name.
- Name: Grafana
- Application type: Web app / API 1. Click on **Authentication** then **Add a platform** and pick **Web App**.
- Sign-on URL: `https://<grafana domain>/login/azuread`
1. Click the name of the new application to open the application details page. 1. Add the redirect URL `https://<grafana domain>/login/azuread`.
1. Click **Endpoints**. 1. Click **Overview** and then **Endpoints**.
- Note down the **OAuth 2.0 authorization endpoint (v2)**, this will be the auth URL. - Note down the **OAuth 2.0 authorization endpoint (v2)**, this will be the auth URL.
- Note down the **OAuth 2.0 token endpoint (v2)**, this will be the token URL. - Note down the **OAuth 2.0 token endpoint (v2)**, this will be the token URL.
1. Close the Endpoints page to come back to the application details page. 1. Close the Endpoints page to come back to the application overview.
1. Note down the "Application ID", this will be the OAuth client id. 1. Note down the "Application ID", this will be the OAuth client id.
@ -88,9 +87,9 @@ To enable the Azure AD OAuth2 you must register your application with Azure AD.
], ],
``` ```
1. Click Overview and then on **Managed application in local directory** to show the Enterprise Application details. 1. Go to **Azure Active Directory** and then to **Enterprise Applications**. Search for your application and click on it.
1. Click on **Users and groups** and add Users/Groups to the Grafana roles by using **Add User**. 1. Click on **Users and Groups** and add Users/Groups to the Grafana roles by using **Add User**.
## Enable Azure AD OAuth in Grafana ## Enable Azure AD OAuth in Grafana