Skip to main content
You must have at least Application Developer permissions to register the app, and a Global Administrator or Privileged Role Administrator must grant admin consent. Client credentials cannot call /me endpoints, so pass the mailbox owner’s ID or userPrincipalName in the userId input of every action. Webhook events are not supported with this authentication type. Restricting the app to specific mailboxes needs an Exchange administrator.

Register your application in Microsoft Entra ID

An app registration in Microsoft Entra ID provides the credentials and the Microsoft Graph application permissions for Microsoft Outlook. Application permissions apply without a signed-in user.

1

Create the app registration

Sign in to the Microsoft Entra admin center as at least an Application Developer.

  • If you have access to multiple tenants, click the Settings (gear) icon in the top-right corner.
  • Select the desired tenant from the list under Directory + subscription.
  • Navigate to App registrations by searching from the top search bar.
  • Click New registration.
  • Name: A name that identifies this integration
  • Supported account types: Single tenant
  • Click Register.
2

Copy the Application (Client) ID and Directory (Tenant) ID

The Overview page of the app registration shows the Application (client) ID and the Directory (tenant) ID.

  • Copy the Application (client) ID across to Client ID.
  • Copy the Directory (tenant) ID across to Tenant ID.
3

Add the Microsoft Graph application permissions

Enables actions: Add Attachment, Copy Mail Folder, Copy Message, Create Child Folder, Create Draft Message, Create Draft Reply All To Message, Create Draft Reply To Message, Create Draft To Forward Message, Create Mail Folder, Create Message In Mail Folder, Create Message Rule, Delete Attachment, Delete Mail Folder, Delete Message, Delete Message Rule, Forward Message, Get Attachment, Get Mail Folder, Get Mail Folder Delta, Get Message, Get Message Delta From Folder, Get Message Rule, List Attachments, List Child Folders, List Folder Messages, List Mail Folders, List Message Rules, List Messages, Move Mail Folder, Move Message, Permanently Delete Mail Folder, Permanently Delete Message, Reply All To Message, Reply To Message, Send Draft Message, Send Mail, Update Mail Folder, Update Message, Update Message Rule

From the left menu under Manage, select API permissions.

  • Click Add a permission.
  • Select Microsoft Graph.
  • Select Application permissions.
  • Search for Mail and MailboxSettings.
  • Click expand all.
  • Select the permissions listed.
  • Each permission must show Application in the Type column.
  • Click Add permissions.
4

Grant admin consent

Consent makes the application permissions active for the whole tenant.

  • Click Grant admin consent for [Your Organization].
  • Select Yes.
  • Check that Granted for [Your Organization] appears under the Status column for each permission.
  • Reconnect the linked account after you add or change permissions.
5

Configure mailbox access

By default the app can access every mailbox in the tenant. To restrict it to specific mailboxes, use Role Based Access Control for Applications in Exchange Online. Changes can take 30 minutes to 2 hours to apply.

6

Create the client secret

From the left menu under Manage, select Certificates & secrets.

  • Under the Client secrets tab, click New client secret.
  • Description: A description that identifies this secret
  • Select an expiration period.
  • Click Add.
7

Copy the Client Secret Value

The Value of the new client secret is only shown once.

  • Copy the Value across to Client Secret.
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Next Steps

Webhooks setup

Configure receiving Events for Microsoft Outlook into StackOne.