Settings & Customization

How to configure SAML SSO with Microsoft Entra ID (Azure AD)

December 5, 2023 | 2 min read

This guide walks you through configuring Microsoft Entra ID (Azure AD) as a SAML identity provider for AlphaLearn LMS, enabling your users to log in with their existing Microsoft credentials.

Step 1: Create a New Enterprise Application in Microsoft Entra

  1. Log in to Microsoft Entra as an Administrator.
  2. In the left navigation, go to Applications → Enterprise Applications → New Application.
  3. Click Create your own application, give it a name (e.g. AlphaLearn LMS SSO), select Integrate any other application you don’t find in the gallery (Non-gallery), and click Create.

Creating a new enterprise application in Microsoft Entra
Configuring the AlphaLearn LMS SSO application in Entra

Step 2: Configure SAML

  1. In the application, click Single Sign-on and select SAML as the method.
  2. In the Basic SAML Configuration section, click Edit and enter the following values. All URLs are found in AlphaLearn under Customize → SSO → SAML – Microsoft Entra ID (Azure AD) → Config Details:
    • Identifier (Entity ID) → Audience
    • Reply URL (Assertion Consumer Service URL) → Recipient
    • Sign on URL → Login URL
    • Relay State (optional) → Recipient
    • Logout URL (optional) → Logout URL
  3. Click Save.

Selecting SAML as the sign-on method in Entra
Basic SAML configuration in Microsoft Entra

Step 3: Configure Attributes and Claims

  1. Go to Manage → Single Sign-on → Attributes & Claims → Edit → Add New Claim.
  2. Add the following claims:
    • email → user.mail
    • fname → user.givenname
    • lname → user.surname
    • mobile → user.mobilephone
  3. Click Save after each claim.

Attributes and claims configuration in Microsoft Entra

Step 4: Assign Users

Go to Manage → Users and Groups and assign the users or groups who should be able to use SSO to log in to AlphaLearn LMS.

Step 5: Enable SSO in AlphaLearn

  1. In AlphaLearn, go to Customize → SSO.
  2. Select SAML – Microsoft Entra ID (Azure AD) as the Identity Provider and click Submit.
  3. Click on SAML – Microsoft Entra ID (Azure AD) → Edit and enter the following values from Entra (Enterprise Applications → AlphaLearn LMS SSO → Manage → Single Sign-on):
    • Entity ID → Microsoft Entra Identifier
    • Single Sign-On Service → Login URL
    • Single Logout Service → Logout URL
    • Signing Cert → contents of the downloaded Certificate (Base64) file (open in a text editor and paste the full content)
  4. Set the Status to Active and click Update.

Enabling Microsoft Entra ID SSO in AlphaLearn LMS

Done: Your LMS login page will now show a Continue with Microsoft Entra ID button, allowing users to sign in with their Microsoft credentials.

LMS login page with Microsoft Entra ID SSO button