ENVIRONMENT
- Product: Microsoft Copilot Studio
- Channel affected: Microsoft Teams
- Channels NOT affected: copilot.microsoft.com, Copilot Studio test panel
---
ISSUE DESCRIPTION
After publishing the agent to the Teams channel, the bot works correctly for a period of time. Then, at some point during usage, every message returns the following error regardless of the question asked:
"Sorry, something unexpected happened. We're looking into it. Error code: SystemError. Conversation ID:XXXXXX"
Key observations:
1. The Conversation ID remains IDENTICAL across all subsequent errors, even after clearing chat history, uninstalling/reinstalling the Teams app, and restarting Teams.
2. When inspecting the session in Copilot Studio → Activity → session detail, the agent shows the CORRECT and COMPLETE answer — meaning the agent processed the request successfully, but the response was never delivered to Teams.
3. The error persists indefinitely — it does not resolve by itself, not even the following day.
4. The ONLY workaround is to re-publish the agent from Copilot Studio with the option "Force newer version for persistent channels" enabled.
5. After re-publishing, the bot works correctly again for a period, then the same issue reappears.
6. All connector connections (Dataverse, SharePoint, Excel) show green/healthy status on make.powerapps.com.
7. The issue affects a specific user session — other users may not be affected at the same time.
It seems that the agent processes the request correctly on the Copilot Studio side, but the response delivery to the Teams channel fails silently. The persistent Conversation ID suggests the Teams-side session becomes corrupted and is never regenerated, even after client-side resets.
Why may the Teams session become corrupted and stop working for that Conversation ID?
Thanks!