Updated on
Microsoft 365 (User-Level Emails)
Enabling the Microsoft 365 integration in SELMA allows you to use your organisation's Microsoft mailbox(es) to send emails directly from SELMA. Emails…
Enabling the user-level Microsoft 365 integration in SELMA allows your SELMA users to use their own Microsoft mailbox(es) to send emails directly from SELMA. Emails sent within SELMA are also stored in the mailbox's Sent folder.
Note: Individuals with administrator access to your Microsoft tenancy should follow the steps below.
Stage 1 — Register an Application in Microsoft Entra
Go to the Microsoft Entra portal homepage: https://entra.microsoft.com/#home
Then, add a new registration.

Name the application something identifiable, such as "SELMA M365 Integration". All remaining fields can be left at their default values. Click Register.

Once you have added a new registration, you will be taken back to the App Overview page, where you should note the Application (client) ID and Directory (tenant) ID. You will need these in Stage 4. Note: you will need to fetch a client secret key (red), which will be explained further in the next step.

Stage 2 — Add a Client Secret
Click the button "+ New client secret". Note: You will have reached this page from the last step.

Enter a name and set an expiry duration, then click Add. ⚠️ Important: Set a reminder to create a new secret before it expires. Update the secret in SELMA before the expiry date to avoid any disruption.

Copy the secret value immediately — it will not be displayed again after you navigate away or refresh the page. You will need this value in Stage 4. Note: If you can no longer copy the secret value, delete it and repeat Stage 2 from the beginning.

Stage 3 — Redirect URL
Return to the “Overview” page and click "Add Redirect URL".

Click “Add Redirect URL” and select the “Web” option.

You’ll be asked to enter the Redirect URL now. Back in SELMA, you can copy the Redirect URL from the Integration Configuration page (please see the next step).

Navigate to Settings > Integrations > Microsoft 365, and expand the User-Level Configuration section. Then, copy the Redirect URL to paste back in your Microsoft account.

Stage 4 — Configure API Permissions
Navigate to Microsoft Graph
Within the same app, click API Permissions → Add a permission → Microsoft Graph.

Select Application permissions (this allows the integration to send emails on the users behalf). Then, search for and add User.ReadBasic.All permission. This validates access to your designated mailbox.


Search for and add the Mail.ReadWrite permission. This enables replies to emails leaving SELMA to appear in SELMA. Finally, add all permissions (green).

Once all permissions are added, click Grant admin consent to approve them for your organisation. Note: You will only be able to click this button if you are an admin or have the correct permissions, which is managed by your IT team.

Stage 5 — Connect the Integration in SELMA
On your SELMA instance, go navigate to Settings (cog icon, top-right) > Integrations.

Click the "Configure" button, below Microsoft 365.

Click to expand the User-Level Configuration section, and enter the three values saved from Stages 1 and 2: Tenant ID and Client ID - Figure 1iii, and Client Secret Key - Figure 2iii.

Stage 6 — Each SELMA User must link their Microsoft account in SELMA
To link you Microsoft 365 Mailbox with SELMA, please click on your picture on the top right corner and open the option "Profile".

On the left side panel, click on "Link Microsoft 365" and follow the steps provided. You may need to enter your Microsoft password and/or request admin approval.
This will guide you through your usual Microsoft login process, and ask you to authorise the requested permission. Once authorised, you’ll be redirected back to SELMA, where you will see a success message.

Set-Up Complete
The integration is now fully configured. This means you can send emails within SELMA from your validated mailbox address.
Two-Way Communications
This feature allows you to see an email thread of correspondence within SELMA, which can be accessed from the Student Profile > Events tab.
- Please contact SELMA Support to enable this feature as part of your Microsoft Integration Plan.

Last updated
Microsoft 365 (Account-Level Emails)
Enabling the Microsoft 365 integration in SELMA allows you to use your organisation's Microsoft mailbox(es) to send emails directly from SELMA. Emails…
Moodle Integration Set-Up
The SELMA-Moodle Integration serves as a connector between your Moodle instance and your SELMA instance. This allows you to provision students from…