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

# Configuring SAML SSO with Azure AD

> For Biqli Enterprise users, securely manage your team's access to Biqli using Microsoft Azure AD SAML SSO.

<Warning>
  **Enterprise Plan Feature**: SAML Single Sign-On is available exclusively for workspaces on the **Enterprise plan**.
</Warning>

For Biqli Enterprise users, you can securely manage your team's access to Biqli using Microsoft Azure AD (Entra ID) SAML SSO.

## Step 1: Create or Select SAML Application

In your Azure Admin console, select **Microsoft Entra ID** (formerly Azure Active Directory) or search for it in the top search bar.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-entraid.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=581e4a50a4f7360867c068b30735206f" alt="Select Microsoft Entra ID" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-entraid.png" />
</Frame>

From the **Manage** menu in the left sidebar, select **Enterprise Applications**.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-enterprise.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=5a098108469cc611da92337d060ad4c6" alt="Select Enterprise Applications" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-enterprise.png" />
</Frame>

If you already have an existing SAML application, select it from the list and move on to Step 2. Otherwise, click on **New application** at the top.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-new-app.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=e3a70907f332cd5b3709de968d96d717" alt="New Application" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-new-app.png" />
</Frame>

On the next screen, select **Create your own application**, enter a name such as **Biqli**, and then click **Create**.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-app-name.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=de5dad3a9d3041d20897f3894c531af8" alt="Create Your Own Application" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-app-name.png" />
</Frame>

## Step 2: Configure SAML Settings

In the left sidebar under the **Manage** section, choose **Single sign-on**, then select **SAML**.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-sso.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=e5f5d77f755ed2ee8c076bbd730ddaa6" alt="Select SAML Single Sign-On" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-sso.png" />
</Frame>

In the **Basic SAML Configuration** section, click **Edit**.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-basic.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=7e451138f93532b6184fb59d2a43a566" alt="Basic SAML Configuration Edit" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-basic.png" />
</Frame>

An overlay sheet will appear. Copy the following values and paste them into the basic settings:

```text Identifier (Entity ID) theme={null}
https://biq.li/workspaces/{WORKSPACE_SLUG}
```

```text Reply URL (Assertion Consumer Service URL) theme={null}
https://biq.li/saml/acs
```

<Note>
  Please ensure you replace `{WORKSPACE_SLUG}` with the slug of the specific workspace in which you are activating Azure AD SAML.
</Note>

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-basic-edit.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=db0a3ed58b051846b75a6fecdf0b21f2" alt="Configure Basic SAML Settings" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-basic-edit.png" />
</Frame>

In the menu bar, click **Save** to apply your changes.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-basic-save.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=ac73ab3922eaeecb5f99eac99a8d2368" alt="Save Basic SAML Settings" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-basic-save.png" />
</Frame>

## Step 3: Attribute Mapping

Click **Edit** on the **Attributes & Claims** section.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-attributes.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=8fc2434f37f010820e853a5f8dcb9b60" alt="Edit Attributes and Claims" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-attributes.png" />
</Frame>

Click **Add new claim** to map user display names:

```text Name theme={null}
Display Name
```

```text Namespace theme={null}
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/displayname
```

```text Source attribute theme={null}
user.displayname
```

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-add-claim.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=632a094fa7d4c24225c2996ac650ade9" alt="Add New Claim" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-add-claim.png" />
</Frame>

Click **Save** after entering the values.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-new-attributes.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=674d1ec82fc2b0a1e3a9e18f77236fd2" alt="Configure Claim Values" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-new-attributes.png" />
</Frame>

Under **Additional claims**, verify that the following entries are present:

| Claim name                                                           | Value              |
| :------------------------------------------------------------------- | :----------------- |
| `http://schemas.xmlsoap.org/ws/2005/05/identity/claims/displayname`  | `user.displayname` |
| `http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress` | `user.mail`        |
| `http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname`    | `user.givenname`   |
| `http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname`      | `user.surname`     |

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-check-attributes.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=0cdc98c779979c0711a8a9e34ca83435" alt="Verify Additional Claims List" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-check-attributes.png" />
</Frame>

Close the claims sheet using the **X** in the top-right corner.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-close-attributes.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=9f8a62c9d9a9e8a7a74cf40e5c77b6e5" alt="Close Attributes Sheet" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-close-attributes.png" />
</Frame>

## Step 4: Copy the Metadata URL

Scroll down to the third section, **SAML Certificates**. Locate the **App Federation Metadata URL** and copy it to your clipboard.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-copy-metadata-url.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=97af89f4d1e7437893702867742f0718" alt="Copy App Federation Metadata URL" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-copy-metadata-url.png" />
</Frame>

## Step 5: Configure SAML SSO on Biqli

Navigate to your workspace **Security Settings** in Biqli. Under the **SAML Single Sign-On** section, click **Configure SAML Single Sign-On**.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/6u-Qjlh2ycaDp84P/images/okta-saml/biqli-security-saml.png?fit=max&auto=format&n=6u-Qjlh2ycaDp84P&q=85&s=ed454148115ce30c62564d686f9d9faa" alt="Biqli Security Settings" width="3840" height="2160" data-path="images/okta-saml/biqli-security-saml.png" />
</Frame>

In the configuration modal:

1. **Select Identity Provider**: Choose **Microsoft Entra ID** as your SAML provider.
2. **Metadata URL**: Paste the App Federation Metadata URL you copied in Step 4.
3. **Test Connection**: Verify the connection credentials.
4. **Enable SAML**: Toggle on SAML authentication for your workspace.
5. **Save Changes**: Click **Save changes** to finalize.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-biqli-setup2.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=b097d3334d3861159f5170ad08aa3767" alt="Biqli SAML Configuration Modal" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-biqli-setup2.png" />
</Frame>

Once saved, your workspace will be configured to use Azure AD for authentication.

## Step 6: Assign Users

Once SAML SSO is active, you can start assigning users and groups to your workspace.

To assign users, open your Enterprise Application, go to **Users and groups** in the left navigation menu, and click **Add user/group**.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-add-users.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=8f87d0eb4f7f1722a5137e5587ee6086" alt="Add Users and Groups" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-add-users.png" />
</Frame>

Click on **None Selected** under **Users**, choose the users you want to assign on the right panel, click **Select**, and then click **Assign** to confirm.

<Frame>
  <img src="https://mintcdn.com/biqlillc-cc349ea4/fd8RfFbP-cGfepiQ/images/entra-id-saml/entra-id-saml-assign-users.png?fit=max&auto=format&n=fd8RfFbP-cGfepiQ&q=85&s=87c5244a072ad3897682dcef78a8dd6a" alt="Assign Users to App" width="3840" height="2160" data-path="images/entra-id-saml/entra-id-saml-assign-users.png" />
</Frame>

***

## Technical Notes

<Info>
  **Just-In-Time (JIT) Provisioning**: When users sign in for the first time, their Biqli account will be automatically created and assigned to your workspace.
</Info>

<Warning>
  We highly recommend configuring [SCIM Directory Sync](/workspace/saml-sso/azure-ad-scim) before assigning users & groups. This ensures that users are automatically provisioned and deactivated in Biqli in real time.
</Warning>
