Building and customizing solutions using Microsoft 365 Copilot APIs and tools
Hello Zhao, Xiaoqiang ,
The 20-file limit appears to be tied to the server-side conversation/session state rather than the local Teams app installation. Therefore, deleting the visible chat history or reinstalling the agent may not reset the attachment counter if Teams continues using the same backend conversation ID.
Since the very first file in a newly started conversation is being rejected, this does not appear to be expected behavior and may indicate stale or incorrectly associated attachment state. Please test once in Teams web/InPrivate and with another user to rule out client caching.