Setup Guide
2025-09-07
12 min read
Connect TrainMeUK to Microsoft 365 (Single Sign-On)
Step-by-step guide to connect TrainMeUK to Microsoft 365 for seamless single sign-on using Azure AD integration.
โ What you'll achieve
Your staff will log into TrainMeUK with their normal Microsoft 365 work account. No extra passwords.
๐ค Who should do this
A Microsoft 365 admin (Global or Application admin).
๐ Step-by-step
1. In TrainMeUK
- Go to: https://app.trainmeuk.co.uk/admin/settings โ SSO & Provisioning
- Copy the Redirect URI shown on screen (leave this page open). You'll need to paste this into Microsoft Entra ID later.
2. In Microsoft Entra ID
- Go to: entra.microsoft.com โ App registrations โ New registration
- Name: TrainMeUK SSO
- Supported account types: Accounts in this organizational directory only (Single tenant)
- Redirect URI: paste the one you copied from TrainMeUK.
- Click Register.
3. Collect details from Microsoft
From the app you just created in App registrations:
- Copy Application (client) ID โ this will be your Client ID in TrainMeUK.
- Copy Directory (tenant) ID โ this will be your Tenant ID in TrainMeUK.
- Go to Certificates & secrets โ New client secret โ copy the secret value (you'll need this once).
4. Turn on sign-in tokens
- In Authentication, tick ID tokens โ Save.
5. Back in TrainMeUK
Paste the values you collected:
- Tenant ID โ from Directory (tenant) ID
- Client ID โ from Application (client) ID
- Client Secret โ the secret value you created
- Click Enable SSO โ Save โ
๐งช Test it
- Log out of TrainMeUK
- Click Sign in with Microsoft
- Use a normal staff account โ you should go straight in โ
๐ก If something breaks
- "Needs admin approval" โ A Microsoft admin must log in once to approve.
- Redirect error โ Check the Redirect URL in TrainMeUK and Entra ID match exactly.