Connect a worker to Microsoft Teams
This setup requires access to Microsoft app registration, Azure Bot creation, Microsoft Graph admin consent, and Teams app installation. Ask the relevant Microsoft administrator to complete steps you are not authorized to perform. In Odella, add a Microsoft Teams channel to the intended worker and keep its generated setup guide open.1. Register the Microsoft app
- In the Azure portal, open App registrations → New registration.
- Use a recognizable worker name and choose Accounts in this organizational directory only.
- Register the app.
- Copy the Application (client) ID and Directory (tenant) ID into Odella.
- Under Certificates & secrets → Client secrets, create a secret and copy its Value into Odella’s Client Secret field before leaving the page.
2. Create the Azure Bot
Create an Azure Bot with the values shown by Odella’s guide:- Type of App: Single Tenant.
- Creation type: Use existing app registration.
- App ID: The Application (client) ID from the previous step.
- App tenant ID: The Directory (tenant) ID.
3. Configure the endpoint and Teams channel
- In the Azure Bot, open Settings → Configuration.
- Paste the Messaging endpoint generated by the Odella channel and select Apply.
- Open Channels → Microsoft Teams, review and accept the terms, then apply.
- Confirm the client ID, tenant ID, and client secret in Odella, then create the channel.
4. Enable member matching
In the app registration, open API permissions → Add a permission → Microsoft Graph → Application permissions. Add User.Read.All and have an authorized administrator grant consent. Review this directory-read permission with your Microsoft administrator. It supports member matching; it is not a grant of unrestricted Odella access.5. Install the Teams app package
- Enter a valid Application (client) ID in Odella.
- Select Download Teams app package in the setup guide.
- In Teams admin center, open Teams apps → Manage apps → Actions → Upload new app.
- Upload the package and allow it as required by your policies.
- In Teams, find the worker under Apps → Built for your org and add it.
6. Test a direct message
Send a low-risk direct message from an allowed member before adding the app to a team channel. Verify the reply and related Activity in Odella.Troubleshooting
- Cannot create the bot/resource group: Ask the Azure subscription owner to review your creation permissions.
- Cannot download the package: Check that the client ID is valid and present in the editor.
- App unavailable in Teams: Check upload/allow policy and installation in the correct tenant.
- Member not recognized: Check tenant ID, Graph permission/admin consent, and the worker’s inbound policy.
- Messages fail after a previously working setup: Check secret expiry and the bot endpoint before recreating resources.