Register an Application in Azure
To use OAuth 2.0 authentication, you need to register an application in the Azure Portal.
Sign in and navigate to App Registrations
Sign in to the Azure Portal and search for App registrations in the top search bar, or navigate to Microsoft Entra ID > App registrations.
Create a new registration
Click + New registration and provide the following details:
- Enter a name for your application (e.g., StackOne Outlook Calendar)
- Under Supported account types, select Single tenant if only your organization will use this integration, or Multitenant if you need to support users from multiple Azure AD tenants
- Leave redirect URI blank for now
- Click Register
Configure Redirect URI
Add the redirect URI to allow OAuth authentication flow.
Configure API Permissions
Grant your application the necessary permissions to access Outlook Calendar data.
Add Microsoft Graph permissions
Under Manage, select API permissions > Add a permission > Microsoft Graph > Delegated permissions.
Select calendar permissions
Add the required delegated permissions based on your integration needs, then click Add permissions to save.
Generate Client Secret
Create a client secret that will be used to authenticate your application with Outlook Calendar.
Create a New Client Secret
Under the Client secrets tab, click New client secret.
- Add a Description (e.g., StackOne Integration Secret).
- Select an expiration period.
- Click Add.
Creating the StackOne Connector Profile
To create the Connector Profile in StackOne for Outlook Calendar:Navigate to Connector Profiles
Create New Connector Profile
- Click + Connector Profile
- Search for and select Outlook Calendar
- Select Type as OAuth 2.0
- Fill out the fields using details retrieved from your provider:
- Client ID
- Client Secret
- Scopes (Optional)
- (Optional) Select Actions to be enabled for this Connector Profile
- Click Create profile