> For the complete documentation index, see [llms.txt](https://docs.verygoodsecurity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verygoodsecurity.com/enterprise-platform/access-management/enterprise-identity-providers/azure-active-directory.md).

# Azure Active Directory

## Overview

[Azure Portal](https://portal.azure.com), is a collection of cloud services and software products developed by Microsoft. This article describes how to set up Azure AD as an SSO provider in order to access [VGS Dashboard](https://dashboard.verygoodsecurity.com).

## Setup

1. Sign in to your [Azure Portal](https://portal.azure.com/) and navigate to **Azure Active Directory** > **Add** > **Enterprise Application**

<figure><img src="/files/Q6xfpWm7Fzh896ITbxc1" alt=""><figcaption></figcaption></figure>

2. Select **Create your own application**, provide a name and click Create

<figure><img src="/files/HPPEjKd9o01LU1gqLTtF" alt=""><figcaption></figcaption></figure>

3. Select **Set up single sign on** > **SAML**

<figure><img src="/files/PWgHzFASRkJChqArT5lF" alt=""><figcaption></figcaption></figure>

4. On the **Basic SAML Configuration**:
   * enter **ACS URL** and **ENTITY ID** as provided by VGS;
5. Add a new claim **email** with source attribute as **user.mail** in **Attributes & Claims**.

<figure><img src="/files/eYTtZ6pEMAUuxmu49KTY" alt=""><figcaption></figcaption></figure>

6. Optional: Remove existing attributes **givenName**, **surname**, **name** and **emailAddress** from "Attributes & Claims".
7. Copy **App Federation Metadata Url** from SAML Certificates and save it into Metadata of VGS. Enable SAML SSO in VGS.

## Turn On the App

Navigate to **Users and groups** and select **Add user/group** to assign users to the app.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.verygoodsecurity.com/enterprise-platform/access-management/enterprise-identity-providers/azure-active-directory.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
