Teams can be configured to send messages directly from Oleria. Follow the pre-requisites and the steps below to set up the Teams messaging integration.
The setup involves three parts:
- Entra ID App Registration — for Oleria to discover your teams, channels, and users
- Oleria Bot App Deployment — for delivering notifications to channels and direct messages
- Oleria Console Configuration — connecting everything together
Prerequisites
Part 1: Entra ID App Registration
Choose the path that matches your situation:
- Option A — Create a new dedicated App Registration for Oleria (Recommended)
- Option B — Use an existing App Registration
Option A: Create a New App Registration (Recommended)
Who: Azure/Entra ID Admin
Why this is recommended: A dedicated App Registration follows the principle of least privilege. It only has the 5 read-only permissions Oleria needs, making it easy to audit, rotate secrets independently, and revoke access cleanly if needed.
Step 1: Register the application
- Sign in to the Azure Portal
- Navigate to Microsoft Entra ID → App registrations → New registration
- Configure the following:
- Click Register
Step 2: Generate a client secret
- In the new App Registration, navigate to Certificates & secrets
- Click Client secrets → New client secret
- Configure:
- Click Add
- Copy the secret Value immediately — it will not be displayed again after you leave this page
Important: The secret value is only visible at the time of creation. If you lose it, you will need to generate a new one.
Step 3: Add API permissions
- Navigate to API permissions → Add a permission
- Select Microsoft Graph → Application permissions
- Search for and add each of the following permissions:
- After adding all 5 permissions, click Grant admin consent for [Your Organization]
- Confirm by clicking Yes
- Verify all 5 permissions show a green checkmark under the Status column
Step 4: Record your credentials
Collect the following values — you will need them in Part 3:
Proceed to Part 2.
Option B: Use an Existing App Registration
Who: Azure/Entra ID Admin
When to use this: If your organization already has an Entra App Registration (for example, for another Oleria integration or a shared integration app) and you prefer to reuse it rather than create a new one.
Important: Ensure the existing App Registration is not shared with services that have conflicting lifecycle requirements (e.g., different secret rotation schedules or different decommissioning timelines).
Step 1: Verify the App Registration type
- Sign in to the Azure Portal
- Navigate to Microsoft Entra ID → App registrations
- Find and select your existing App Registration
- On the Overview page, confirm:
Step 2: Verify or add API permissions
- Navigate to API permissions
- Check if the following Application permissions are already granted:
- If any permission is missing:
- Click Add a permission → Microsoft Graph → Application permissions
- Search for and add the missing permission(s)
- Click Grant admin consent for [Your Organization]
- Verify all required permissions show a green checkmark
Step 3: Verify or create a client secret
- Navigate to Certificates & secrets → Client secrets
- You may either:
- Use an existing secret — if you have the value and it has sufficient remaining validity (at least 3 months recommended)
- Create a new secret — click New client secret, set description to Oleria integration, choose an expiry, click Add, and copy the value immediately
Note: If the existing App Registration already has other permissions beyond the 5 listed above, those extra permissions are not used by Oleria's Teams messaging integration. They will not interfere, but you may want to review them for your own security posture.
Step 4: Record your credentials
Collect the following values — you will need them in Part 3:
Proceed to Part 2.
Part 2: Deploy the Oleria Bot App
Who: Microsoft Teams Admin
The Oleria bot app is a pre-built Teams application provided by Oleria. It is separate from the Entra App Registration configured in Part 1. The bot handles the delivery of notification messages to your Teams channels and direct messages.
Step 1: Obtain the Oleria Teams app package
- Your Oleria account team will provide the bot app package as a .zip file
- If you have not received this, contact your Oleria representative
Step 2: Upload the app to Teams Admin Center
- Sign in to the Teams Admin Center
- Navigate to Teams apps → Manage apps
- Click Upload new app → Upload
- Select the Oleria .zip package and confirm the upload
- The app will appear in the app list once uploaded
Step 3: Allow the app
- In Manage apps, search for the Oleria app
- Click on the app name to open its details
- Ensure the Status is set to Allowed
Step 4: Configure app availability
Choose one of the following deployment strategies based on your organization's needs:
Important for Direct Messages: The bot can send direct messages to any user who has access to the app via the setup policy. Users do not need to manually install the app — the bot creates conversations automatically.
Step 5: Verify deployment
- Open Microsoft Teams as a user covered by the setup policy
- Go to Apps in the left sidebar
- Search for "Oleria" — the app should appear and show as available
Part 3: Configure in Oleria Console
Who: Oleria Workspace Admin
Step 1: Enter Teams credentials
- Log in to the Oleria management console
- Navigate to Settings → Messaging → Add Messaging System
- Select Microsoft Teams
- Enter the credentials collected in Part 1:
- Click Authenticate
- Oleria will validate the credentials against your Azure AD tenant
Step 2: Select your team and default channel
- After successful authentication, a list of your teams will appear
- Select the team where Oleria should deliver notifications
- Select the default channel for notifications (e.g., General or a dedicated channel like #oleria-alerts)
- Click Save
Step 3: Test the integration
- Use the Send Test Message option in the Oleria console
- Verify the test message appears in the selected Teams channel
- Optionally, test a direct message by entering a user email address
Contact us
For questions about this integration, please contact us at support@oleria.com.