Microsoft Teams
Teams adapter using Bot Framework Webhook mode.
Prerequisites
- Create a Bot Service (Azure Bot resource) in Azure Portal.
- Obtain Microsoft App ID and Client Secret (Certificates & Secrets).
- In Teams Developer Portal, create an App manifest bound to the Bot.
- Messaging endpoint:
https://<your-public-host>/msteams.
Environment
export MSTEAMS_APP_ID=...export MSTEAMS_APP_SECRET=...export MSTEAMS_WEBHOOK_HOST=0.0.0.0export MSTEAMS_WEBHOOK_PORT=16669export MSTEAMS_WEBHOOK_PATH=/msteamsThread semantics
Teams conversation.id is thread key. Reply-chains stay in the same thread.
Troubleshooting
- 401 Unauthorized: Azure App ID / Secret mismatch with manifest.
- AccessDenied on tenant: the Bot has not been approved for sideloading by that tenant’s administrator.