Skip to content

Commit e732385

Browse files
authored
teams troubleshooting (#1234)
1 parent f6c1d4c commit e732385

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/integrations/teams.mdx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,30 @@ Instance-wide critical alerts are only visible to users with the [superadmin](..
402402
/>
403403
</div>
404404

405+
## Troubleshooting
406+
407+
### "The bot is not part of the conversation roster" error
408+
409+
This error occurs when Windmill tries to send a message to a Teams channel but the Bot Framework rejects the request. Common causes:
410+
411+
1. **Channel moderation rules**: If the Teams channel has posting restrictions (channel moderation enabled), the bot may not be allowed to post. Check your Teams channel settings and either:
412+
- Disable channel moderation
413+
- Add the Windmill bot to the list of users allowed to post
414+
415+
2. **Bot not installed in the team**: The Windmill Teams app must be installed in the team where you want to send messages. Verify the app appears in the team's "Apps" section.
416+
417+
3. **Bot ID mismatch** (self-hosted): For self-hosted instances, ensure your Azure AD App Registration client ID matches:
418+
- The Microsoft App ID in your Azure Bot Service
419+
- The `botId` in your Teams app manifest
420+
421+
### Messages not being delivered
422+
423+
If the bot appears to be connected but messages aren't being delivered, check the service URL region. The default service URL is for the Americas region. If your Teams tenant is in a different region, set the `TEAMS_SERVICE_URL` environment variable:
424+
- Americas: `https://smba.trafficmanager.net/amer/` (default)
425+
- EMEA: `https://smba.trafficmanager.net/emea/`
426+
- APAC: `https://smba.trafficmanager.net/apac/`
427+
- US Government (GCC): `https://smba.infra.gcc.teams.microsoft.com/`
428+
405429
<!-- Links -->
406430

407431
[hub-teams]: https://hub.windmill.dev/integrations/teams

0 commit comments

Comments
 (0)