I have Agent created in Studio. Intially i can able to upload Excel files for some validation and produce an output based on that. however, after some days i am getting error like " abc.xlsx was not accepted because this conversation has reached its 20-file upload limit.".
I tried to delete some old files and remove chat histroy and uninstall app then replush all task are done but still having same issue. attaching SS for the same.
That 20-file cap is per conversation, and it's cumulative , every file uploaded across the whole thread counts toward it, including ones you deleted from the chat view. That's why your cleanup didn't help: deleting files, clearing history, and reinstalling the app all leave you in the same underlying Teams conversation, so the server-side counter never resets.
Two fixes:
Quick (end user): Start a genuinely new conversation with the agent rather than clearing the visible history , the counter only resets on a fresh session, not on a cleared thread.
Durable (maker side): In the topic that handles the upload, add a Clear variable values node and select the option to clear the conversation history for the current session, ideally right after each file is processed. This releases the accumulated file content so later uploads don't keep stacking toward the limit. This is Microsoft's documented remedy for exactly this "processes several large files in one conversation" scenario.
Reference: Allow file input from users, https://learn.microsoft.com/en-us/microsoft-copilot-studio/image-input-analysis (see the guidance on the Clear variable values node).
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.