Register Your Application in Microsoft Entra ID
Client credentials authentication uses its own app registration that signs in as itself rather than as a user, so register a separate application for it.
Sign in to Microsoft Entra Admin Center
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.
Create a New App Registration
Search for App registrations in the top search bar, then click New registration.
- Name: A name for your application
- Supported account types: select Accounts in this organizational directory only
- Redirect URI: leave this empty. The client credentials flow never redirects a browser.
- Click Register.
Copy the Application (Client) ID
After registration you are taken to the application’s Overview page. Copy the Application (client) ID to Client ID in your Connector Profile.
Copy the Directory (Tenant) ID
From the same Overview page, copy the Directory (tenant) ID to Tenant ID in your Connector Profile.
Configure Application Permissions
Application permissions are granted to the app itself and are consented once by an administrator. They are a different list from the delegated permissions used by the OAuth 2.0 option.
Add Microsoft Graph Application Permissions
From the left menu under Manage, select API permissions. Click Add a permission, select Microsoft Graph, then select Application permissions and add the permissions your integration needs.
Add the User.* permissions only if you use the user directory actions such as List Users or Create User. The calendar permissions alone cover every calendar and event action.
- Click Add permissions to save.
Grant Admin Consent
Click Grant admin consent for [Your Organization] and select Yes. Application permissions do not work until consent is granted.
- Verify that Granted for [Your Organization] appears under the Status column for each permission.
Generate Client Secret
The client secret is how the application proves its identity when it requests a token.
Navigate to Certificates & Secrets
From the left menu under Manage, select Certificates & secrets.
Create a New Client Secret
Under the Client secrets tab, click New client secret.
- Description: A description that identifies this client secret
- Select an expiration period.
- Click Add.
Copy the Client Secret Value
Immediately copy the Value of the new client secret to Client Secret in your Connector Profile. Azure shows the value only once.
Limit Which Mailboxes the Application Can Reach
Calendar application permissions apply to every mailbox in the tenant. Exchange Online application access policies restrict an application to the members of a named mail-enabled security group.
Create a mail-enabled security group
In the Microsoft 365 admin center, create a mail-enabled security group and add the users whose calendars this connection should reach.
Apply the policy
Connect to Exchange Online PowerShell and run New-ApplicationAccessPolicy with your Client ID, the group’s address, and -AccessRight RestrictAccess. See Limiting application permissions to specific Exchange Online mailboxes.
- Confirm the result with
Test-ApplicationAccessPolicy. - Policy changes can take up to 30 minutes to apply.
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 Outlook Calendar into StackOne.