# Example: Setting up single sign-on with MS Azure Active DirectoryPage 1

Microsoft Azure supports both OAuth 2.0 and SAML 2. Perform the following steps to connect Make with Azure Active Directory.

### OAuth 2.0

1. Log in to your Azure Portal and open Azure Active Directory.
2. Open App registrations and click **New registration**.
3. Give the registration a name.
4. Fill in the Redirect URL.
   * Find the Redirect URL In **Make > Organization > Settings** after you select an SSO type.
5. Click **Register**.
6. Note down the Application (client) ID.
   * Paste this ID into your Make settings.
7. Go to **Certificates** and secrets and click **New client secret**.
   * Paste the secret value into your Make settings.
8. Go to **Overview** and click **Endpoints**.
   * Paste the OAuth 2.0 authorization endpoint (v2) into the Authorize URL field in Make settings.
   * Paste the OAuth 2.0 token endpoint (v2) into the Token URL field in Make settings.
9. Paste the following into the **User information URL** in Make settings.
   * <https://graph.microsoft.com/v1.0/me>
10. In Make, set up Login scopes and Scopes separator:
    * Login scopes: `openid`, `profile`, `email`
    * Scopes separator: space
11. In Make, paste the following into User information IML resolve. This tells Make how to map user information received from Azure to information in Make database.
    * `{"id":"{{id}}","email":"{{mail}}"}`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.make.com/white-label-documentation/manage-login/configure-single-sign-on/example-setting-up-single-sign-on-with-ms-azure-active-directorypage-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
