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.
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.
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.
Add the Microsoft Graph application permissions
From the left menu under Manage, select API permissions.
- Click Add a permission.
- Select Microsoft Graph.
- Select Application permissions.
- Search for
MailandMailboxSettings. - Click expand all.
- Select the permissions listed.
- Each permission must show Application in the Type column.
- Click Add permissions.
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.
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.
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.
Copy the Client Secret Value
The Value of the new client secret is only shown once.
- Copy the Value across to Client Secret.
Link the Account
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.
Use Actions
Next Steps
Webhooks setup
Configure receiving Events for Microsoft Outlook into StackOne.