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

# Azure SSO Setup

> Configure Azure Single Sign-On integration with Beam AI platform for enterprise authentication

Configure Single Sign-On (SSO) with Azure Entra ID (formerly Azure Active Directory) to enable your team to access Beam using your organization's existing credentials.

<h2 id="workspace-settings">
  Workspace settings
</h2>

Open **Workspace settings** from the workspace menu to manage shared workspace configuration. The current settings surface includes **General**, **Access**, **Notifications**, **SSO**, and **Usage** tabs.

* Use **General** to update the workspace name, icon, and domain.
* Use **Access** to invite teammates, search the workspace by name or email, and change who holds which role. Owners and admins also get a **Roles** tab here for building roles of their own. See [Roles and Permissions](/05-resources/roles-and-permissions/roles-and-permissions).
* Use **SSO** to access this Azure SSO configuration.

The **SSO** tab only appears for people whose role can manage SSO. If you cannot see it, ask
an owner or admin to give your role that permission, or to run the setup for you.

<h2 id="prerequisites">
  Prerequisites
</h2>

Before configuring SSO, ensure you have:

* A workspace on the **Pro** plan. Single sign-on is not available on Free
* A role that can manage SSO, which is how the **SSO** tab becomes visible
* Administrative access to Microsoft Entra ID
* Administrative access to your Beam workspace
* Access to your organization's Azure tenant

On the Free plan the **SSO** tab still appears in **Workspace settings**, with a padlock beside
it, but you cannot open it. Hovering the tab explains that single sign-on is available on Pro.
Upgrade the workspace first, then come back and follow this guide from the top.

<Info>
  **Authentication Method**: Beam uses SAML 2.0 for SSO integration with Azure Entra ID. This guide walks through the complete setup process in both Azure and Beam.
</Info>

<h2 id="configure-azure-entra-id">
  Configure Azure Entra ID
</h2>

<Steps>
  <Step title="Go to Microsoft Entra ID">
    Log into the Azure Portal and navigate to **Microsoft Entra ID**.
  </Step>

  <Step title="On left Side bar you will see Enterprise Application open it">
    <Frame>
      <img src="https://mintcdn.com/beamai/tUbNiSLV6K1eNRa9/images/team-management-sso/1.png?fit=max&auto=format&n=tUbNiSLV6K1eNRa9&q=85&s=4cef896c4c6e82f2275d64e67a827754" alt="Enterprise Application" width="568" height="1254" data-path="images/team-management-sso/1.png" />
    </Frame>
  </Step>

  <Step title="Now click on a new application">
    <Frame>
      <img src="https://mintcdn.com/beamai/tUbNiSLV6K1eNRa9/images/team-management-sso/2.png?fit=max&auto=format&n=tUbNiSLV6K1eNRa9&q=85&s=9bc30ae4dc537d4f167346b3df01d88e" alt="New application" width="1600" height="212" data-path="images/team-management-sso/2.png" />
    </Frame>
  </Step>

  <Step title="Click on Create your own Application on side bar select option 3 and set application name">
    <Frame>
      <img src="https://mintcdn.com/beamai/tUbNiSLV6K1eNRa9/images/team-management-sso/3.png?fit=max&auto=format&n=tUbNiSLV6K1eNRa9&q=85&s=023fb93ae53fe9d193be4f638ba6d8d4" alt="Create your own Application" width="1600" height="212" data-path="images/team-management-sso/3.png" />
    </Frame>
  </Step>

  <Step title="Now application is created click on option 2. Set up single sign on">
    <Frame>
      <img src="https://mintcdn.com/beamai/tUbNiSLV6K1eNRa9/images/team-management-sso/4.png?fit=max&auto=format&n=tUbNiSLV6K1eNRa9&q=85&s=a6bf8f0827afe3670fe3787c78cab0f3" alt="Set up single sign on" width="3816" height="794" data-path="images/team-management-sso/4.png" />
    </Frame>
  </Step>

  <Step title="Now open single sign on from the left bar and choose SAML">
    <Frame>
      <img src="https://mintcdn.com/beamai/tUbNiSLV6K1eNRa9/images/team-management-sso/5.png?fit=max&auto=format&n=tUbNiSLV6K1eNRa9&q=85&s=abbfc4918431630114bbaf2f612dc8a4" alt="Choose SAML" width="3814" height="1488" data-path="images/team-management-sso/5.png" />
    </Frame>
  </Step>

  <Step title="Now edit basic SAML Configuration">
    **Identifier (Entity ID)**:

    ```text theme={null}
    urn:production:sp:beam:<workspaceID>
    ```

    **Reply URL**:

    ```text theme={null}
    https://app.beam.ai/api/auth/saml/callback
    ```

    <Frame>
      <img src="https://mintcdn.com/beamai/tUbNiSLV6K1eNRa9/images/team-management-sso/6.png?fit=max&auto=format&n=tUbNiSLV6K1eNRa9&q=85&s=00aa63830482bf169890e78bdb8c57b8" alt="Basic SAML Configuration" width="1600" height="728" data-path="images/team-management-sso/6.png" />
    </Frame>
  </Step>

  <Step title="Add these attributes and claims">
    <Frame>
      <img src="https://mintcdn.com/beamai/tUbNiSLV6K1eNRa9/images/team-management-sso/7.png?fit=max&auto=format&n=tUbNiSLV6K1eNRa9&q=85&s=c3a4cd1cb9a2bb58183e09d54c6d7c91" alt="Attributes and claims" width="1584" height="750" data-path="images/team-management-sso/7.png" />
    </Frame>
  </Step>

  <Step title="Download Federation Metadata XML and follow step 11">
    <Frame>
      <img src="https://mintcdn.com/beamai/tUbNiSLV6K1eNRa9/images/team-management-sso/8.png?fit=max&auto=format&n=tUbNiSLV6K1eNRa9&q=85&s=dcfbecd91da47fa7bfd70df09c856d0d" alt="Download Federation Metadata XML" width="1600" height="477" data-path="images/team-management-sso/8.png" />
    </Frame>
  </Step>
</Steps>

<h2 id="configure-beam-platform">
  Configure Beam Platform
</h2>

<Steps>
  <Step title="Now go to app.beam.ai login into it open workspace settings from top left and click on SSO and do these entries and upload XML file">
    **Attribute Mappings**:

    ```text theme={null}
    email: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name
    family_name: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
    name: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name
    given_name: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
    nickname: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nickname
    ```

    Upload the **Federation Metadata XML** file you downloaded from Azure.

    Click **Save** to enable SSO for your workspace.

    <Info>
      **SSO Activation**: Once saved, users can access Beam by clicking "Sign in with SSO" on the login page and entering their company email address.
    </Info>
  </Step>
</Steps>

<h2 id="testing-your-sso-setup">
  Testing Your SSO Setup
</h2>

After configuration, test the SSO integration:

<Steps>
  <Step title="Test User Login">
    Log out of Beam (if currently logged in), navigate to [app.beam.ai](https://app.beam.ai), and click **Sign in with SSO**. Enter a user's company email address. The user should be redirected to Azure for authentication, then logged into Beam after successful Azure login.
  </Step>

  <Step title="Verify User Profile">
    Check that user profile information is correctly populated, verify email and name match the Azure profile, and confirm workspace access is granted appropriately.
  </Step>
</Steps>

<h2 id="troubleshooting">
  Troubleshooting
</h2>

<AccordionGroup>
  <Accordion title="SSO login fails with 'Application not approved'">
    **Cause**: The Beam application may be blocked by your organization's Azure security policies.

    **Solution**:

    * Have an Azure administrator locate the Beam application in the Enterprise Applications list
    * Grant necessary permissions for the application
    * Ensure users or groups are assigned to the application
    * Verify the application is not blocked by Conditional Access policies
  </Accordion>

  <Accordion title="User attributes not mapping correctly">
    **Cause**: Attribute claim names in Azure don't match the expected format in Beam.

    **Solution**:

    * Verify the attribute mappings in Azure match exactly
    * Check that source attributes are available in user profiles
    * Re-download and re-upload the Federation Metadata XML file
    * Contact Beam support if issues persist
  </Accordion>

  <Accordion title="'Sign in with SSO' button not appearing">
    **Cause**: SSO configuration may not be saved correctly or needs time to propagate.

    **Solution**:

    * Verify SSO configuration is saved in Beam workspace settings
    * Wait 5-10 minutes for configuration to propagate
    * Clear browser cache and try again
    * Check that Federation Metadata XML was uploaded successfully
  </Accordion>

  <Accordion title="Users can't access Beam after Azure authentication">
    **Cause**: Users may not have workspace access or proper role assignments.

    **Solution**:

    * Ensure users are invited to the Beam workspace
    * Check user role assignments in workspace settings
    * Verify email addresses match between Azure and Beam invitations
    * Have users check spam/junk folders for invitation emails
  </Accordion>
</AccordionGroup>

<h2 id="next-steps">
  Next Steps
</h2>

<CardGroup cols={2}>
  <Card title="Workspace Setup" icon="users" href="/01-getting-started/workspace-setup/workspace-setup">
    Configure workspace settings and invite team members
  </Card>

  <Card title="Quickstart Guide" icon="rocket" href="/01-getting-started/quickstart/quickstart">
    Build your first AI agent after SSO is configured
  </Card>
</CardGroup>
