---
title: OpenID Connect with Microsoft Entra
description: >-
  Let your employees sign in to Pexip Engage with their Microsoft account, using OpenID Connect (OIDC) and Microsoft Entra ID.
---

With the Microsoft Entra ID integration, employees sign in to Pexip Engage with their Microsoft account instead of a separate Pexip Engage password. You choose which Microsoft Entra tenants are trusted, so only accounts from your organisation can sign in.

## Before you start

You need:

- A Pexip Engage account with the Administrator role.
- An account in your Microsoft Entra tenant that can grant tenant-wide admin consent, such as Cloud Application Administrator, Application Administrator, or Global Administrator. You only need this to grant admin consent.
- A Pexip Engage account for each employee who will sign in with Microsoft. Signing in with Microsoft does not create new Pexip Engage accounts; it links a Microsoft account to an existing one.

## Adding the integration

1. Go to **Organization** > **Integrations** > **Connections**.
2. Under **Single Sign-On (SSO)**, click **Connect** next to **Microsoft Entra ID**.

![The Connect button for Microsoft Entra ID under Single Sign-On (SSO)](@assets/images/docs/technical/pexip-engage-backoffice-microsoft-entra-id-oidc-setup-documentation/oidc-connect.png)

The integration is created and its settings page opens. The integration is **Active**, but nobody can sign in with Microsoft until you trust at least one tenant, as the warning on the page says. Trust your tenant by granting admin consent or by adding it to the trusted tenants yourself.

![Settings of a new Microsoft Entra ID integration, with no trusted tenants yet](@assets/images/docs/technical/pexip-engage-backoffice-microsoft-entra-id-oidc-setup-documentation/oidc-settings-new.png)

## Granting admin consent

Admin consent approves the Pexip Engage app for all users in your Microsoft tenant. Your tenant is added to the trusted tenants automatically, so this is the quickest way to finish the setup.

1. On the **Microsoft Entra ID** settings page, click **Grant admin consent**.
2. Sign in with your Microsoft administrator account.
3. Review the permissions Microsoft shows and click **Accept**.

You return to the settings page, and your tenant now appears under **Trusted tenants**.

![The Grant admin consent button](@assets/images/docs/technical/pexip-engage-backoffice-microsoft-entra-id-oidc-setup-documentation/oidc-admin-consent.png)

> **Grant admin consent** is unavailable while you have unsaved changes. Click **Save** first.

## Signing in with Microsoft

While the integration is active, the Pexip Engage sign-in page shows a **Microsoft** button under **Or sign in with**. Employees click it and sign in with their Microsoft account. This only works for accounts from a trusted tenant.

![The Microsoft button on the Pexip Engage sign-in page](@assets/images/docs/technical/pexip-engage-backoffice-microsoft-entra-id-oidc-setup-documentation/oidc-sign-in-page.png)

The first time an employee signs in with Microsoft, they may have to confirm through an email sent to their Pexip Engage email address. After confirmation, their Microsoft & Pexip Engage accounts are linked.

## Redirecting to Microsoft automatically

By default, employees see the Pexip Engage sign-in page and click **Microsoft** themselves. You can skip that page and send everyone straight to the Microsoft sign-in.

1. Go to **Organization** > **Integrations** > **Connections**.
2. Next to **Single Sign-On (SSO)**, open the **Automatic sign-in redirect** list.
3. Select **Microsoft Entra ID (OIDC)**.

![The Automatic sign-in redirect list with Microsoft Entra ID (OIDC)](@assets/images/docs/technical/pexip-engage-backoffice-microsoft-entra-id-oidc-setup-documentation/oidc-sso-redirect.png)

| Option                           | What employees see                                         |
| -------------------------------- | ---------------------------------------------------------- |
| **Disabled (show sign-in page)** | The Pexip Engage sign-in page, with a **Microsoft** button |
| **Microsoft Entra ID (OIDC)**    | The Microsoft sign-in page straight away                   |

> The list only appears when a single sign-on integration is active, and **Microsoft Entra ID (OIDC)** can only be selected while the Microsoft Entra ID integration is active. Make sure employees can sign in with Microsoft before you turn this on.

## Turning Microsoft sign-in off

1. Go to **Organization** > **Integrations** > **Connections** and click **Microsoft Entra ID**.
2. Turn off **Active**.
3. Click **Save**.

Employees can no longer sign in with Microsoft, but your trusted tenants are kept. Turn **Active** back on to allow it again.

## Deleting the integration

1. On the **Microsoft Entra ID** settings page, click **Delete integration**.
2. Click **Delete** to confirm.

![The confirmation shown before deleting the integration](@assets/images/docs/technical/pexip-engage-backoffice-microsoft-entra-id-oidc-setup-documentation/oidc-delete-dialog.png)

Employees can no longer sign in with Microsoft. They can still sign in with their Pexip Engage username and password, if they have one.
