> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vibraniumlabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Up Microsoft Entra ID SSO

This guide walks an organization admin through configuring Microsoft Entra ID (formerly Azure Active Directory) as your SSO provider in Vibranium Labs. Once complete, your team members will sign in using their Microsoft work accounts.

***

## Prerequisites

* Organization admin access in Vibranium Labs
* Global Administrator or Application Administrator role in Microsoft Entra ID
* An Azure subscription (any tier, including free)

***

## Part 1 — Configure Microsoft Entra ID

### Step 1 — Create an App Registration

1. Sign in to the [Azure Portal](https://portal.azure.com).
2. Navigate to **Microsoft Entra ID → App registrations**.
3. Click **+ New registration**.
4. Configure the registration:
   * **Name** — Enter a descriptive name (e.g., *Vibranium Labs SSO*).
   * **Supported account types** — Select **Accounts in this organizational directory only** (single tenant) unless you need multi-tenant.
   * **Redirect URI** — Select **Web** as the platform, and enter:

```javascript theme={null}
https://api-prod.vibraniumlabs.ai/auth/oidc/callback
```

1. Click **Register**.

### Step 2 — Copy the Application (Client) ID

From the app registration's **Overview** page, copy:

* **Application (client) ID** — You will need this value later.
* **Directory (tenant) ID** — You will also need this.

### Step 3 — Create a Client Secret

1. In the left sidebar, click **Certificates & secrets**.
2. Click **+ New client secret**.
3. Enter a description (e.g., *Vibranium Labs*) and choose an expiry period.
4. Click **Add**.
5. **Immediately copy the secret Value** (not the Secret ID). This is only shown once — if you navigate away, you will need to create a new secret.

> **Important:** Set a calendar reminder to rotate this secret before it expires. When it expires, SSO will stop working until a new secret is configured.

### Step 4 — Verify API Permissions

1. In the left sidebar, click **API permissions**.
2. Confirm the following permissions are present (they are usually added by default):
   * `openid`
   * `email`
   * `profile`
3. If any are missing, click **+ Add a permission → Microsoft Graph → Delegated permissions** and add them.
4. Click **Grant admin consent for \[your organization]** if required.

***

## Part 2 — Configure Vibranium Labs

### Step 5 — Open SSO Settings

1. Log in to Vibranium Labs as an organization admin.
2. Navigate to **Settings → Integrations**.
3. Locate the **OIDC SSO** card and click **Configure**.

![](https://mintcdn.com/vibranium-labs/I_0RvV65IgQ7VVWJ/images/administration/13.png?fit=max\&auto=format\&n=I_0RvV65IgQ7VVWJ\&q=85\&s=99b8d56573e476b752374bc9e6fc116c)

### Step 6 — Select Microsoft Entra ID

1. In the **Identity Provider** dropdown, select **Microsoft Entra ID**.
2. The setup instructions panel will display Microsoft-specific guidance.

### Step 7 — Enter Your Tenant ID

In the **Tenant ID** field, paste your Directory (tenant) ID from Step 2.

The system will automatically construct the issuer URL and discover your endpoints (authorization URL, token URL, and JWKS URI).

### Step 8 — Enter Credentials

| Field | Value |
| - | - |
| Client ID | Application (client) ID from Step 2 |
| Client Secret | Secret Value from Step 3 |

![](https://mintcdn.com/vibranium-labs/I_0RvV65IgQ7VVWJ/images/administration/14.png?fit=max\&auto=format\&n=I_0RvV65IgQ7VVWJ\&q=85\&s=d359b717e2bc2ae8ee4df50086863e36)

### Step 9 — Configure Options

* **Just-In-Time Provisioning** — Enable this if you want users to be auto-created on their first SSO login. If disabled, users must be manually invited before they can sign in via SSO.
* **Admin Recovery** — We recommend keeping this enabled so admins can still access the portal if Entra ID is temporarily unavailable.

### Step 10 — Save and Test

1. Click **Save**.
2. Open a new incognito/private browser window.
3. Navigate to the Vibranium Labs login page.
4. Enter an email address that belongs to your Azure AD tenant. Click **Continue**.
5. You should be redirected to the Microsoft login page.
6. After authenticating, you should land in the Vibranium Labs portal.

***

## Troubleshooting

### AADSTS50011 — Redirect URI mismatch

The redirect URI in your App Registration does not match what Vibranium Labs is sending. Verify that:

1. The platform is set to **Web** (not SPA or Mobile).
2. The redirect URI is exactly:

```javascript theme={null}
https://api-prod.vibraniumlabs.ai/auth/oidc/callback
```

### AADSTS700016 — Application not found

The Client ID entered in Vibranium Labs does not match any application in your Azure AD tenant. Double-check the Application (client) ID from the App Registration's Overview page.

### AADSTS7000215 — Invalid client secret

The client secret has expired or was copied incorrectly. Create a new client secret in **Certificates & secrets** and update it in Vibranium Labs.

### Users see "Account not found" after Microsoft login

Just-In-Time Provisioning is disabled and the user does not have an existing Vibranium Labs account. Either:

* Enable JIT Provisioning in SSO settings, or
* Invite the user to your organization before they attempt SSO login.

### Admin locked out

If Entra ID is unavailable and Admin Recovery is enabled, open the [login page](https://app.vibraniumlabs.ai/login), enter your **Work email**, and click **Can't access your SSO?**. Follow the recovery login instructions.

***

## Finding Your Tenant ID

If you're not sure where to find your Tenant ID:

1. Go to [Azure Portal](https://portal.azure.com).
2. Navigate to **Microsoft Entra ID → Overview**.
3. Your **Tenant ID** (Directory ID) is displayed on the overview page.

Alternatively, ask your Azure administrator for the Tenant ID.

***

## Next Steps

* Verify that all team members can sign in via Microsoft.
* Optionally, configure SCIM provisioning for automated user lifecycle management.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.