This guide explains how to set up Microsoft Entra Single Sign-On (SSO)—formerly Azure SSO—so your users can access Emtrain with their existing login credentials, rather than a separate login process.
Requirements
To integrate Emtrain with Microsoft Entra SSO you must have:
- An active Emtrain account.
- A unique email address for every user.
- A Microsoft Entra account with a Microsoft Entra ID tenant.
- All of your users must have a valid email address in Microsoft Entra ID.
- Each of your users’ email addresses in Emtrain must match their primary Microsoft Entra ID email address.
- The API Key for your account: Obtain your API key by navigating to Site Config from the Manage Menu. Select the Integrations tab and then the option to Enable SSO.
Each of your users’ email addresses in Emtrain must match their primary email address in Microsoft Entra.
Once you save the integration, username and password authentication will be disabled on your Emtrain account. This means that when you or your team members go to access your Emtrain account, you'll be redirected to complete the SSO authentication process instead of entering a username and password. This change happens immediately after you complete the integration setup, so make sure your team is prepared for the new login process.
Microsoft Entra SSO Configuration
- Log into the Microsoft Entra management console and select the Microsoft Entra ID service (formerly Microsoft Azure Active Directory).
- Select the appropriate Microsoft Entra ID tenant and select the Enterprise Applications option in the Manage sidebar.
- Select New Application.
- In the Microsoft Entra ID Gallery Preview section, select Create your own application.
- Enter the name of the application and select the “Integrate any other application you don’t find in the gallery.” Select Create.
- When prompted to select a Single Sign-On method, choose SAML.
- In section 1, Basic SAML Configuration, enter the Identifier URL, Reply URL, and Relay State URL. You will need to construct these URLs by replacing the bracketed portions in the template URLs (below) with your account’s specific values.
-
Identifier URL:
https://yourcompany.app.emtrain.com/home -
Reply URL:
https://yourcompany.ai-api.emtrain.com/authentication/saml?API_KEY=[account API Key] -
Relay State:
https://yourcompany.app.emtrain.com/saml
-
Identifier URL:
- Select Save after you have entered the basic SAML parameters.
- In section 2, User Attributes and Claims, select Edit.
- Create the following attributes exactly as shown—attribute names are case-sensitive:
-
Name: API_KEY
Source Attribute: Your accounts API key -
Name: Email
Source Attribute: user.email -
Name: FirstName
Source Attribute: user.firstName -
Name: LastName
Source Attribute: user.lastName
The final list of user attributes should look like this:
-
Name: API_KEY
- Download the Base64 certificate from the SAML Signing Certificate.
- Select Properties from the Manage sidebar, then copy the User Access URL, which is needed to complete the setup on your Emtrain account. Save this URL for the next steps in the process. Upload an Emtrain logo in the Logo section while you are on the Properties page.
Emtrain Configuration
After you have completed your Microsoft Entra SSO configurations, take these steps to connect Emtrain:
- Log into your Emtrain account.
- Navigate to Site Config via Manage and select the Integrations tab.
- Select to Enable SSO, choose Microsoft Entra from the Provider dropdown menu.
- Open the Microsoft Entra Base64 certificate in a text editor and copy and paste the certificate body into the SSO X.509 Certificate field. Include only the certificate values. Do not include the “Begin” and “End” content: ---BEGIN CERTIFICATE--- and ---END CERTIFICATE---
- Paste the Microsoft Entra User Access URL into the SSO Entry Point field.
- Optionally, if you wish to redirect your users to a specific URL when they log out of Emtrain, enter that URL in the SSO Logout Redirect URL text field. If this field is left blank, users will be redirected to an Emtrain Logged Out page upon logging out.
- Select the Save button to finalize the integration.
- The Microsoft Entra SSO integration is now configured.
Visiting your account’s subdomain will redirect users to the User Access URL and authenticate them via SAML.
We offer Just-in-Time (JIT) provisioning, which works with SSO. This enables automatic user profile creation the first time a user logs into Emtrain via SSO. Learn about Just-in-Time Provisioning with SSO.
How Users Log into Emtrain
Be sure to assign the Emtrain app to all users via Microsoft Entra SSO. We recommend working with your IT team to assign access just before you deploy training (for example, fewer than 12 hours prior) to prevent users from exploring Emtrain too soon.
Users signed into your SSO can access Emtrain in these ways:
- Through the Emtrain tile in your Single Sign-On access panel.
- Via links in notification emails.
- From your account URL.
If a user isn’t yet signed into SSO, they’ll be redirected to your SSO login.