Register an app in your Azure tenant and create credentials for use with client credentials authentication in the Office 365 Mail connector.
Before you begin
- You have registered an app in your Azure tenant and created credentials for it.
-
Go to the app registrations page for your Azure tenant.
The URL depends on your tenant's environment:
-
Click + New Registration.
-
Enter a Name for the app. For example,
Okta Workflows Office 365 Mail Client Credentials.
-
Under Supported account types, select Single tenant only - your tenant.
-
For Redirect URI, don't set a value. A redirect URI isn't required for the client credentials flow.
-
Click Register.
-
Copy the Application (client) ID from the Overview page, and store it in a safe place.
-
Go to Certificates & secrets.
-
Click + New client secret.
-
Enter a Description.
-
Select an Expires duration that meets your security requirements.
-
Click Add, then record the secret Value in a safe place.
-
Go to .
-
Select the following permissions, then click Add permissions:
-
Mail.ReadWrite
-
Mail.ReadWrite.Shared
-
Mail.Send
-
Mail.Send.Shared
-
Click Grant admin consent for your tenant, and then click Yes to confirm.
Use the tenant, Application (client) ID, and client secret Value to create a connection. See Authorization.