# 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: 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://docs.verygoodsecurity.com/enterprise-platform/access-management/enterprise-identity-providers/azure-active-directory.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.
