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

# Microsoft Entra SAML SSO

> Learn how to set up SAML SSO in Sevalla with Microsoft Entra.

[Microsoft Entra](https://entra.microsoft.com/) (formerly Azure) is an Identity Provider (IdP) that enables secure single sign-on (SSO), allowing your company's users to access multiple applications with one login.

With Security Assertion Markup Language (SAML) SSO, employees sign in once using their company credentials (typically email and password). The IdP, such as Microsoft Entra, verifies their identity and grants seamless, secure access to all connected services, without requiring separate logins for each application.

Company owners or IT administrators can link their organization’s email domain (e.g., @[mycompany.com](http://mycompany.com)) to the IdP so that anyone with a company email address is automatically recognized and can securely sign in to SAML-enabled tools.

Using Sevalla SAML SSO, you can connect Microsoft Entra to Sevalla by creating a SAML application within Microsoft Entra, verifying your company’s email domain, and adding the required Microsoft Entra details in Sevalla. This allows your team to log in with their existing company credentials, eliminating the need to create or manage separate Sevalla accounts.

<Info>
  When using SAML SSO with Sevalla, login must always be initiated from Sevalla. Logging in directly from your Identity Provider (IdP) is not supported.

  IdPs only support one active session per browser. If you have multiple Google Workspace accounts and are logged into one, attempting to log into another through Sevalla will result in an error. To switch accounts, log out of Google Workspace or use your browser’s Incognito/Private mode.
</Info>

## Enable SSO in Sevalla

When you set up SAML SSO, you can navigate away from the SSO setup at any stage to store your progress and return later.

In Sevalla, go to your **Company settings** > **Single sign-on**, and click **Enable**.

<Frame caption="Enable SSO in Sevalla.">
  <img className="block dark:hidden" alt="Enable SSO" src="https://mintcdn.com/sevalla/znhzGue4KWYN3uG0/images/enable-sso-light.png?fit=max&auto=format&n=znhzGue4KWYN3uG0&q=85&s=c398cd2b338da89076717091f38bedce" width="3374" height="1800" data-path="images/enable-sso-light.png" />

  <img className="hidden dark:block" alt="Enable SSO" src="https://mintcdn.com/sevalla/znhzGue4KWYN3uG0/images/enable-sso-dark.png?fit=max&auto=format&n=znhzGue4KWYN3uG0&q=85&s=d18cb436015197af6d85ab284e84c7bd" width="3370" height="1798" data-path="images/enable-sso-dark.png" />
</Frame>

Read through the introduction, which explains how SSO will be set up, and click **Continue**.

<Frame caption="Introduction to the steps required to set up SSO.">
  <img className="block dark:hidden" alt="Introduction to the steps required to set up SSO" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-intro-light.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=8455fa4a6402a82184990f89d0d727c7" width="2564" height="1544" data-path="images/sso-intro-light.png" />

  <img className="hidden dark:block" alt="Introduction to the steps required to set up SSO" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-intro-dark.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=06df698980233807f30719682814092a" width="2570" height="1558" data-path="images/sso-intro-dark.png" />
</Frame>

The next page provides all the information you need to set up your SAML app within Microsoft Entra.

## Set up the app integration in Microsoft Entra

In Sevalla, the **Create SAML app** tab provides all the information you need to set up your SAML app within Microsoft Entra. The following steps explain where to add this information.

<Warning>
  When using SAML SSO with Sevalla, all logins must be initiated directly from Sevalla. Logging in from your Identity Provider (IdP) dashboard is not supported. For this reason, you may want to hide the Sevalla app from users’ IdP dashboards to avoid confusion.
</Warning>

<Frame caption="Information to create the SAML app at your IdP.">
  <img className="block dark:hidden" alt="Information to create the SAML app at your IdP" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-create-app-light.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=3df84e52792cd16e9c73d651a51ce2e9" width="2568" height="2332" data-path="images/sso-create-app-light.png" />

  <img className="hidden dark:block" alt="Information to create the SAML app at your IdP" src="https://mintcdn.com/sevalla/E2LMVE0PTfkyQPVl/images/sso-create-app-dark.png?fit=max&auto=format&n=E2LMVE0PTfkyQPVl&q=85&s=7b57f5b0ec84b4ac11032677ad92e977" width="2572" height="2340" data-path="images/sso-create-app-dark.png" />
</Frame>

Log in to Microsoft Entra as a user with admin access, and within the Microsoft Entra admin center, click **Entra ID** > **Enterprise applications** > **New application**.

<Frame caption="Create a new application in Microsoft Entra.">
  <img src="https://mintcdn.com/sevalla/ERWOSDFQSsQASIlR/images/entra-new-sso-app.png?fit=max&auto=format&n=ERWOSDFQSsQASIlR&q=85&s=becc906fa9f03fc4ba706f1b1b65a5a6" alt="Entra New Sso App" width="3826" height="894" data-path="images/entra-new-sso-app.png" />
</Frame>

Click **Create your own application**, enter a name for your application, for example, Sevalla Dashboard, and click **Create**.

<Frame caption="Create your own application in Microsoft Entra.">
  <img src="https://mintcdn.com/sevalla/1mtIOdSoqoi9Wr3h/images/entra-sso-create-app.png?fit=max&auto=format&n=1mtIOdSoqoi9Wr3h&q=85&s=2d2b1f0ec4e8aef323c4cd7696ab1d81" alt="Entra Sso Create App" width="2604" height="1174" data-path="images/entra-sso-create-app.png" />
</Frame>

Once the application is created, click **Single sign-on** and select **SAML**.

<Frame caption="Select SAML as the sign-on method for your Microsoft Entra app.">
  <img src="https://mintcdn.com/sevalla/1mtIOdSoqoi9Wr3h/images/entra-sso-app-saml.png?fit=max&auto=format&n=1mtIOdSoqoi9Wr3h&q=85&s=d55c5cbbc16a44ede6e547c6c574e26c" alt="Entra Sso App Saml" width="3548" height="1040" data-path="images/entra-sso-app-saml.png" />
</Frame>

Within **Basic SAML Configuration**, click **Edit**.

<Frame caption="Edit the basic SAML configuration in your Microsoft Entra app.">
  <img src="https://mintcdn.com/sevalla/1mtIOdSoqoi9Wr3h/images/entra-sso-basic-saml-configuration.png?fit=max&auto=format&n=1mtIOdSoqoi9Wr3h&q=85&s=f5046575bc0ad7d17e80ac98a1fd3128" alt="Entra Sso Basic Saml Configuration" width="1538" height="670" data-path="images/entra-sso-basic-saml-configuration.png" />
</Frame>

Complete the **Basic SAML Configuration** in Microsoft Entra as follows:

* **Identifier (Entity ID):** Click **Add identifier** and then copy and paste the **Entity ID** from Sevalla.
* **Reply URL (Assertion Consumer Service URL):** Click **Add reply URL** and then copy and paste the **SSO/ACS URL** from Sevalla.
* **Sign on URL:** Copy and paste the **Start URL** from Sevalla.

Leave all other fields as default and click **Save**.

<Frame caption="Complete the Basic SAML Configuration with the information from Sevalla.">
  <img src="https://mintcdn.com/sevalla/1mtIOdSoqoi9Wr3h/images/entra-sso-app-configure.png?fit=max&auto=format&n=1mtIOdSoqoi9Wr3h&q=85&s=e2a72cf43d9158c974858419e74b584f" alt="Entra Sso App Configure" width="1702" height="1844" data-path="images/entra-sso-app-configure.png" />
</Frame>

## Map your Microsoft Entra attributes

Within Microsoft Entra, you must map the firstName, lastName, and email attributes from Sevalla to the correct fields within Microsoft Entra. For more information about how to do this, refer to the [Microsoft Entra documentation](https://learn.microsoft.com/en-us/entra/identity-platform/saml-claims-customization).

## Assign users to the Microsoft Entra app

In Microsoft Entra, go to **Enterprise apps**, select the application you set up for the Sevalla Dashboard, click **Users and groups**, and then click **Add user/group**.

<Frame caption="Add users/groups to the app in Microsoft Entra.">
  <img src="https://mintcdn.com/sevalla/1mtIOdSoqoi9Wr3h/images/entra-sso-add-users.png?fit=max&auto=format&n=1mtIOdSoqoi9Wr3h&q=85&s=84b5b12ff213ce879918cf64871277cb" alt="Entra Sso Add Users" width="2472" height="816" data-path="images/entra-sso-add-users.png" />
</Frame>

Click **None selected**, select the users or groups you want to grant Sevalla access via SSO, and then click **Select**.

<Frame caption="Select the required users or groups within Microsoft Entra.">
  <img src="https://mintcdn.com/sevalla/1mtIOdSoqoi9Wr3h/images/entra-sso-select-users.png?fit=max&auto=format&n=1mtIOdSoqoi9Wr3h&q=85&s=3adc98fb9ee6915453781561ca36e40a" alt="Entra Sso Select Users" width="2212" height="960" data-path="images/entra-sso-select-users.png" />
</Frame>

Click **Assign** and then click **Assign to People**. If you have your users set up in groups, click **Assign to Groups**. Click **Assign** on each user or group you want to assign to the Sevalla SAML SSO application and then click **Done**.

To test authentication, make sure the Sevalla user account you’re signed in with is assigned.

## Sevalla setup

In Sevalla, on **Create SAML app**, click **Continue** so that you are on the **Sevalla setup** page.

### Email domain

In the **Domain name**, enter the email domain users will use to sign in using SAML SSO, and click **Add domain**.

Only Sevalla accounts with an email address matching the verified domain can authenticate via SAML. For example, if SAML is enabled for `example.com`, only users with an `@example.com` email address will be able to sign in for that company.

<Info>
  Each email address can only be linked to one SAML configuration in Sevalla. This means a domain (e.g., `example.com`) can be associated with only one company at a time. Similarly, each Sevalla user can use SAML authentication for a single company only.
</Info>

If the domain has already been verified in Sevalla through DNS management or as a site domain, it will automatically be verified. If it hasn’t, you’ll be prompted to add a TXT record to your DNS management service to confirm domain ownership.

<Frame caption="Add the TXT record to your DNS to verify ownership.">
  <img className="block dark:hidden" alt="Add the TXT record to your DNS to verify ownership" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-verify-domain-light.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=ac2d73377d2fa61df230882f43e8a3dd" width="1044" height="806" data-path="images/sso-verify-domain-light.png" />

  <img className="hidden dark:block" alt="Add the TXT record to your DNS to verify ownership" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-verify-domain-dark.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=27431c552c5c8c7177aa1e39a53acb49" width="1052" height="814" data-path="images/sso-verify-domain-dark.png" />
</Frame>

Because DNS changes can take time to propagate, you can navigate away from the SSO setup to store your progress and return later.

#### Set up Sevalla SAML

In Microsoft Entra, go to **Enterprise apps**, select the application you set up for the Sevalla Dashboard, and click **Single sign-on**.

In Sevalla, within the Single sign-on **Sevalla setup** tab, complete the fields as follows:

* **SSO URL:** Copy and paste the **Login URL** from the **Set up Sevalla Dashboard** section in Microsoft Entra.
* **Entity ID:** Copy and paste the **Microsoft Entra Identifier** from the **Set up Sevalla Dashboard** section in Microsoft Entra.

<Frame caption="Microsoft Entra SSO URL and Entity ID for Sevalla.">
  <img src="https://mintcdn.com/sevalla/1mtIOdSoqoi9Wr3h/images/entra-sso-set-up-kinsta-app.png?fit=max&auto=format&n=1mtIOdSoqoi9Wr3h&q=85&s=4544742d755b0dab4f98e49c9ab801aa" alt="Entra Sso Set Up Kinsta App" width="1520" height="378" data-path="images/entra-sso-set-up-kinsta-app.png" />
</Frame>

* **Public certificate:** In Microsoft Entra, within **SAML Certificates**, click **Download** on **Certificate (Base64)**. Open this file in any text editor, and copy and paste the contents into Sevalla. 

<Frame caption="Download the certificate from Microsoft Entra.">
  <img src="https://mintcdn.com/sevalla/1mtIOdSoqoi9Wr3h/images/entra-sso-set-up-certificate.png?fit=max&auto=format&n=1mtIOdSoqoi9Wr3h&q=85&s=29370e0c7888aceeaed3902f768ce4e2" alt="Entra Sso Set Up Certificate" width="1516" height="768" data-path="images/entra-sso-set-up-certificate.png" />
</Frame>

<Warning>
  Certificates can expire, so you may need to update this in the future. Company Owners and Company Administrators will receive a notification three weeks prior to certificate expiration to ensure the certificate is updated in a timely manner.
</Warning>

Click **Continue**.

## Test the authentication in Sevalla

You cannot enable SAML SSO within Sevalla without first testing the authentication.

In Sevalla, within Single sign-on, click **Continue** until you are on the **Test and finish** tab, and click **Test authentication**.

A notification appears if the test was successful or if the test fails.

If the test fails, click **Back** and check your SAML settings within your IdP and within Sevalla.

If the test is successful and you want to enable SAML, click **Save and set SSO live**.

<Frame caption="Test your SSO setup and set SSO live.">
  <img className="block dark:hidden" alt="Test your SSO setup and set SSO live" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-test-finish-light.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=58ab5bb43e02dd0016359b323a5d94a1" width="2566" height="1410" data-path="images/sso-test-finish-light.png" />

  <img className="hidden dark:block" alt="Test your SSO setup and set SSO live" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-test-finish-dark.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=847e7226d8a9e1c76a56dca41bf650b5" width="2572" height="1418" data-path="images/sso-test-finish-dark.png" />
</Frame>

Your Sevalla company users will now be able to sign in with SAML SSO or by entering their username and password. Users who sign in through an IdP are not required to complete Sevalla's 2FA, as authentication is handled directly by the IdP.

If you want to force users to sign on via SAML, you can enable Mandatory SSO and add Exceptions. You can also enable JIT provisioning to allow users authorized by your IdP to access your Sevalla company without requiring an invitation.

<Frame caption="Sign in to Sevalla with SAML SSO.">
  <img className="block dark:hidden" alt="Sign in to Sevalla with SAML SSO" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-sign-in-light.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=96f246d159744eb57da7d122aa9a715e" width="790" height="1276" data-path="images/sso-sign-in-light.png" />

  <img className="hidden dark:block" alt="Sign in to Sevalla with SAML SSO" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-sign-in-dark.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=17186899f4184229d734993b4c54c76b" width="790" height="1274" data-path="images/sso-sign-in-dark.png" />
</Frame>

## Change the session duration

Your Identity Provider (IdP) determines how long your SSO session remains active and when it expires. If your IdP doesn’t specify a session duration, Sevalla defaults to a 24-hour session.

When your SSO session expires, you’ll be logged out of SSO. If you’re working within a company that uses SSO, you’ll be prompted to reauthenticate. If you have access to multiple companies in Sevalla, you’ll remain logged in overall but will need to reauthenticate before accessing any company that requires SSO.

For details on adjusting session duration, refer to the [Microsoft Entra Documentation](https://learn.microsoft.com/en-us/entra/identity/conditional-access/howto-conditional-access-session-lifetime).
