Setup Guide
10 min read
16 September 2025

Connect TrainMeUK to Microsoft 365 (Single Sign-On)

Step-by-step guide to connect TrainMeUK to Microsoft 365 for seamless single sign-on (SSO) using Azure AD integration.

What You'll Achieve

  • โœ… Staff will log into TrainMeUK using their Microsoft 365 work account
  • โœ… No extra passwords to remember or manage

๐Ÿ‘ค Who Should Do This

A Microsoft 365 administrator with Global Admin or Application Admin rights.

๐Ÿ”„ Step-by-Step Setup

1. In TrainMeUK

  1. Go to: https://app.trainmeuk.co.uk/admin/settings โ†’ SSO & Provisioning
  2. Copy the Redirect URI shown on screen (keep this page open โ€” you'll paste it into Microsoft Entra ID later)

2. In Microsoft Entra ID

  1. Go to entra.microsoft.com โ†’ App registrations โ†’ New registration
  2. Enter:
    • Name: TrainMeUK SSO
    • Supported account types: Accounts in this organisational directory only (Single tenant)
    • Redirect URI: paste the Redirect URI you copied from TrainMeUK
  3. Click Register

3. Collect Details from Microsoft

From the app you just created in App registrations:

  • Copy the Application (client) ID โ†’ this will be your Client ID in TrainMeUK
  • Copy the Directory (tenant) ID โ†’ this will be your Tenant ID in TrainMeUK
  • Go to Certificates & secrets โ†’ New client secret โ†’ copy the secret value (you'll only see it once)

4. Turn On Sign-In Tokens

  1. In Authentication, tick ID tokens
  2. Click Save

5. Back in TrainMeUK

  1. Paste the values you collected:
    • Tenant ID โ†’ from Directory (tenant) ID
    • Client ID โ†’ from Application (client) ID
    • Client Secret โ†’ the secret value you created
  2. Click Enable SSO โ†’ Save โœ…

๐Ÿงช Test It

  1. Log out of TrainMeUK
  2. Click Sign in with Microsoft
  3. Use a normal staff account โ†’ you should go straight in โœ…

๐Ÿ’ก Troubleshooting

"Needs admin approval"

A Microsoft admin must log in once to approve the connection.

Redirect error

Check the Redirect URI in TrainMeUK and Microsoft Entra ID match exactly.

Why Single Sign-On Matters

Single Sign-On (SSO) eliminates password fatigue and security risks while providing a seamless user experience. With Microsoft 365 integration, your staff can access their compliance training using the same credentials they use for email, Teams, and other Microsoft services.

Enhanced Security

Centralized authentication reduces password-related security risks and makes access management easier.

Better User Experience

Staff can access training without remembering additional passwords or going through complex login processes.

Reduced IT Support

Fewer password reset requests and login issues mean less burden on your IT support team.

Compliance Benefits

Centralized access control makes it easier to ensure all staff have appropriate training access.

Common SSO Configuration Issues

Frequent Setup Challenges

Redirect URI Mismatch

Ensure the Redirect URI in both systems matches exactly, including https:// and any trailing slashes.

Client Secret Expiration

Client secrets expire after a set period. Set a reminder to renew them before expiration.

Permission Issues

Ensure the app registration has the necessary API permissions for user authentication.

Tenant ID Confusion

Make sure you're using the Directory (tenant) ID, not the Application (client) ID for the Tenant ID field.

Security Best Practices

Keep Your SSO Secure

  • Store client secrets securely and never share them in plain text
  • Set appropriate secret expiration dates and renew them proactively
  • Monitor sign-in logs regularly for any unusual activity
  • Use conditional access policies to add extra security layers
  • Test SSO regularly to ensure it continues working after updates

What Happens After Setup

Once SSO is configured, your staff will experience a seamless login process. They'll click "Sign in with Microsoft" on the TrainMeUK login page, authenticate with their Microsoft 365 credentials, and be automatically logged into their training dashboard.

Ready to Set Up SSO?

Our team can help you configure Microsoft 365 SSO in under 30 minutes, with full support throughout the process.

Need Help Implementing These Strategies?

Our team is here to support you with expert guidance and implementation assistance.