I'm trying to get messages from a specific channel in Teams using the Get Messages connector. I have no problems creating a Connection to Teams and adding the connector as a tool to my agent. The drop down to choose the Team and Channel are populated with correct values, which verifies that the connection to Teams is working. However, evert time I ask a question of the chat bot, it returns a generic "Error code: SystemError" message. I have enabled app insights logging and the same generic log appears there with no further details. I enabled logging in MS Graph to a Log Analytics workspace, and all of the requests logged there show a status of 200.
Can anyone suggest what might be causing the generic "systemerror" message, or where I can get more details about the internal error?
Hello,
The “SystemError” when using the Teams Get messages action in Copilot Studio is usually caused by connector or runtime limitations rather than authentication or permission issues. The most common cause is using Private or Shared channels, which Copilot Studio can list but often cannot reliably retrieve messages from. Other frequent causes include large message payloads, delegated user-context access issues, and unsupported message types such as meeting system messages, Loop/Fluid content, Adaptive Cards, or rich previews, which may break the connector’s internal schema processing.
Even though Microsoft Graph logs show successful 200 responses, the failure occurs inside the Copilot Studio runtime layer, which currently does not expose detailed diagnostics. Troubleshooting typically involves testing with a new standard channel containing only a few plain text messages, reducing the number of retrieved messages, verifying user access, or validating the same action in Power Automate to determine if the issue is Copilot Studio–specific. In many production scenarios, teams work around this limitation by using Microsoft Graph via a custom connector or Power Automate flow to retrieve and sanitize messages before returning them to the Copilot agent
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.