Documentation Index
Fetch the complete documentation index at: https://docs.dema.ai/llms.txt
Use this file to discover all available pages before exploring further.
What is Microsoft SSO?
Microsoft Single Sign-On allows users in your organization to log in to Dema using their existing Microsoft credentials. This is configured through a SAML connection with Microsoft Entra ID (formerly Azure Active Directory), enabling centralized access management and enhanced security.Prerequisites
Before setting up Microsoft SSO, make sure:- You have admin access in Dema.
- Someone from your IT department has access to your organization’s Microsoft Azure portal.
- You have identified the email domains that should require SSO login (e.g.
yourcompany.com).
How the setup works
Configuring Microsoft SSO is a coordinated process between your IT team and Dema. Dema provides a set of SAML values that your IT team enters into Microsoft Entra ID. Once configured, your IT team shares back a metadata URL to complete the connection.Step 1: Receive SAML values from Dema
Contact your Dema representative to initiate the SSO setup. Provide the email domains that should require SSO (e.g.yourcompany.com). Dema will respond with two values that your IT team needs for the Microsoft configuration:
| Field | Description |
|---|---|
| Reply URL (Assertion Consumer Service URL) | The endpoint where Microsoft sends the SAML response after a user authenticates. |
| Identifier (Entity ID) | A unique identifier that tells Microsoft which service provider the SAML connection is for. |
Keep these values ready since they are needed in Step 4 below.
Step 2: Create an enterprise application in Microsoft
Your IT team performs the following steps in the Microsoft Azure portal:- Sign in to the Microsoft Azure portal.
- Navigate to Enterprise applications (found under the Azure Services section, or under All services → Identity).
- Select New application.
- Select Create your own application.
- Enter a name for the application (e.g. your company name or “Dema SSO”).
- Choose Integrate any other application you don’t find in the gallery (Non-gallery).
- Select Create.
Step 3: Assign users or groups
Before users can authenticate via SSO, they must be assigned to the enterprise application:- In the enterprise application’s Getting Started section, select Assign users and groups.
- Select Add user/group.
- Search for and select the users or groups who should have access.
- Select Assign.
Step 4: Configure SAML settings
- In the application’s sidebar, open Manage and select Single sign-on.
- Choose SAML as the sign-on method.
- In the Basic SAML Configuration section, select Edit.
- Enter the values provided by Dema:
- Identifier (Entity ID) — paste the Identifier value from Step 1.
- Reply URL (Assertion Consumer Service URL) — paste the Reply URL value from Step 1.
- Select Save and close the panel.
Step 5: Verify attribute mappings
On the same Set up Single Sign-On with SAML page, find the Attributes & Claims section and verify the following mappings are present:| Attribute | Claim name | Expected value |
|---|---|---|
| Email address (required) | http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress | user.mail |
| First name (optional) | http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname | user.givenname |
| Last name (optional) | http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname | user.surname |
These are the default attribute mappings and typically do not require changes. However, incorrect attribute mappings are a common source of SAML configuration errors, so it is worth verifying.
Step 6: Share the metadata URL with Dema
- On the Set up Single Sign-On with SAML page, find the SAML Certificates section.
- Copy the App Federation Metadata Url.
- Send this URL to your Dema representative.
Step 7: Verify the connection
After Dema confirms the connection is active:- A user with an SSO-enforced email domain navigates to the Dema login page.
- They are automatically redirected to the Microsoft login screen.
- After authenticating with Microsoft, they are returned to Dema and logged in.

