Microsoft 365 (User-Level Emails) – Setup

Enabling the Microsoft 365 Integration in SELMA lets your organisation’s users’ use their Microsoft mailbox for emailing directly in SELMA. As such, emails sent from within SELMA are stored in the mailbox’s ‘sent’ folder as well (and replies will go to the user’s inbox).

Note: The below instructions serve as a guide only – please ask your IT Team/Provider about what’s best for your organisation.

Azure Application

For this to work we need a few credentials for an ‘app’ in Azure.

Please go to https://portal.azure.com/#home and register an application (https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade).

It just needs to be named at this point – something like “Selma Integration” to make it easy to identify it in the future. The remaining fields can be left with their default values.

Once created, note the following details from the App:

  1. Application (client) ID
  2. Directory (tenant) ID
  3. Client Secret – this needs to be added to the App.
  1. Client Secret (Continued)
    1. Add new client secret
    2. Set a name and expiry duration for the new secret
      1. Set a reminder somewhere to create a new secret before the expiry. Update the secret in SELMA before the expiry date to prevent issues.
    3. “Add” the secret
  1. Client Secret (Continued)
    1. Copy the secret value immediately at this point, as it won’t be shown again, to make it easy to send it to us later.
      1. If you can’t copy the secret anymore (if the page was refreshed, for example), please redo the entire step 3.

Permissions

Lastly, the App also needs to know the appropriate permissions to request from the user to perform the required actions.

Add the permissions by clicking “API Permissions” → “Add a permission” → “Microsoft Graph”.

Choose the “Delegated permissions” option, as the integration needs to perform actions – send emails – on behalf of the user.

Ensure the ”User.Read” permission is already selected.

Add the “Mail.Send” and “Mail.ReadWrite” permissions. These are needed for sending an email on behalf of the user, and related actions. You can search for the permissions specifically.

And

Remember to click “Add permissions”!

Next Steps

  1. Now, simply copy the below into SELMA by going to SELMA Settings (cog top-right) → Integrations & “Configure” the Microsoft 365 integration
    1. Application (client) ID
    2. Directory (tenant) ID
    3. Client Secret
  2. Expand the “Configuration” section and update the fields with the respective information
  1. Once all the fields are updated & saved, go to your profile in SELMA and click the “Link Microsoft 365” button. It will guide you through your usual Microsoft login process & ask for you to authorise the requested permission. Once authorised, you’ll be redirected back to SELMA. It should show that the link was successful.

Done! ✅

The integration is now fully set up and you’ll have a new ‘From’ field wherever emails can be sent from in SELMA with your email address as a ‘From’ option.

Related Articles

Cloud Assess

Initial Setup Navigate to Settings (Cogwheel icon), select Integrations, and click Configure under Cloud Assess. Configuring Keys and Connection To set up the Cloud Assess integration, enter the required URL and keys. If needed, contact SELMA or Cloud Assess support for assistance. Understanding the Configuration Screen The configuration screen displays a log of all transactions …