Add a Microsoft 365 message source
Overview
In order for the Sublime Platform to access mail from your tenant programmatically, you must create a new Azure app and authorize it for access. This is required so that only you have access to your mail, and not anyone else, including the Sublime team.
Tenant admin
You must be a tenant admin to authorize this app for all users on your domain.
After completing the steps below, you'll copy over the following to add the message source in Sublime:
- Application (client) ID
- Directory (tenant) ID
- Client secret
Steps
- Login to https://portal.azure.com
- Search for
App registrations

- Click
+ New registration

- Enter "Sublime Platform" for the app name. Leave the other defaults (Single-tenant, no Redirect URI). Click "Register".

- Copy the application (client) ID and the Directory (tenant) ID over to the Sublime Platform setup

- Click
View API permissions
and then+ Add a permission
- Select
Microsoft Graph
- Select
Application permissions
- Choose
Mail.ReadWrite
,User.Read.All
,Group.Read.All
, andDomain.Read.All
- Click
Add permissions
- Then,
Grant admin consent
for your domain. Note that if this button is greyed out for you, you may need to have a Domain Admin grant the consent.

You should see green checkmarks like this:

- Navigate to
Certificates & secrets
in the sidebar

- Create a new Client secret. Enter "Sublime Platform" for the description and choose "24 months".

- Copy the client secret "Value" over to the Sublime Platform setup.
That's it!
Updated 4 months ago