Skip to content

[Bug]: msteams messages with attachments misthreaded #88836

Description

@cmc099

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

In Microsoft Teams, reply messages with attachments should arrive in a thread but are arriving as new top-level messages.

Steps to reproduce

  1. Create Teams channel with Threads style layout
  2. Set channels.msteams.replyStyle = thread
  3. Ask agent to create a file and send it

Expected behavior

Reply message should arrive in-thread

Actual behavior

Message arrives as a top-level message

OpenClaw version

2026.5.27

Operating system

Ubuntu 24.04.4

Install method

npm global

Model

grok-4.3

Provider / routing chain

MS Teams app > devtunnel > OpenClaw

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Video Demo

https://innercoreit-my.sharepoint.com/:v:/p/chris_mcfarling/IQBTmcGVefv9SLPOzMSs-X3sAZntJ7Ecs2KNUXzKfMlvMjo?nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJPbmVEcml2ZUZvckJ1c2luZXNzIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXciLCJyZWZlcnJhbFZpZXciOiJNeUZpbGVzTGlua0NvcHkifX0&e=8kWVEn

Impact and severity

Affected; Microsoft Teams users
Severity: Annoying, time consuming
Frequency: 100%
Consequence: Attachments lose relationship to threads

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.bugSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions