Question with regards to Files upload

Lefteris Georgoulias 0 Reputation points
2026-12-01T07:23:40.1566667+00:00

I have developed an agent in M365 copilot studio, that when I'm trying to upload some files I'm receiving the following attached error. Kindly note that neither of the below options worked:

  1. type start over
  2. type reset conversation
  3. /reset

Can you please assist ? Many thanksimage.jpg

Microsoft Teams | Microsoft Teams for business | Files | Other
0 comments No comments

2 answers

Sort by: Most helpful
  1. Lefteris Georgoulias 0 Reputation points
    2026-12-01T09:27:50.1933333+00:00

    Hello @Julie Huynh

    Thank you for your response. This is not the first time I am uploading data. All the previous data has been accurately uploaded, regardless of the file type. This error right now appears in every file type.

    Thank you in advance for your time!

    Was this answer helpful?


  2. AI answer

    2026-12-01T07:26:08.93+00:00

    Revenue.zip cannot be analyzed directly by the published Teams agent: extract it, then upload only supported files—such as PDF, DOCX, CSV, or TXT—with each file no larger than 15 MB. ZIP is not among the supported input types, and the 35.1 MB archive exceeds the per-file limit regardless of the conversation’s reported 200 MB total limit.^1^

    Process the files now

    1. Extract Revenue.zip on your device.
    2. Select only the documents needed for the current question.
    3. Ensure each extracted file:
      • Is a supported type: DOCX, CSV, PDF, TXT, JPG, PNG, WebP, or nonanimated GIF.
      • Is no larger than 15 MB.
      • For PDF, contains no more than 40 pages.
    4. If a document exceeds the limit, split it into smaller files and upload them separately.
    5. Upload fewer files per message and wait for the agent to finish processing before sending the next group.^1^

    The larger 512 MB limit shown elsewhere in Copilot Studio applies to files added by the maker as agent knowledge sources, not files attached by a user during a Teams conversation.^2^

    Fix reset behavior in the agent

    The commands already attempted do not necessarily remove earlier attachments from the Teams session. By default, Copilot Studio’s Reset Conversation topic clears variable values but does not clear conversation history; Teams also retains extensive conversation history.^3^

    As the agent maker:

    1. Open the agent in Copilot Studio.
    2. Open Topics and select the Reset Conversation system topic.
    3. Add another Clear variable values node.
    4. Configure that node to clear Conversation history for the current session.
    5. Save and publish the updated agent to Teams.
    6. Invoke the reset topic in Teams, then upload the extracted, supported files.

    Clearing the current session’s conversation history releases accumulated file content that otherwise continues counting after the agent has answered questions about earlier uploads.^4^

    For agents that routinely process multiple large files, place the same history-clearing node at a deliberate point after each file or batch has been processed. Warn users before clearing it, because the agent will no longer be able to answer follow-up questions about those earlier attachments.

    Validate before republishing

    In Copilot Studio:

    1. Go to Settings → Generative AI → File processing capabilities.
    2. Confirm File uploads is enabled and save the setting.^1^
    3. Open Test your agent and reset the test conversation.
    4. Upload one extracted supported file under 15 MB.
    5. Ask a question that requires information from that file.
    6. Test the reset topic, then verify that the agent no longer references the earlier file.
    7. Publish and test the same sequence in Teams.

    If the updated Teams agent still reports the 200 MB conversation limit after its reset topic explicitly clears Conversation history for the current session, open a Microsoft support case and include the conversation ID, UTC timestamp, screenshot, and confirmation that the same upload succeeds or fails in the Copilot Studio test pane. A Teams conversation that remains stuck after an explicit history clear requires service-side investigation.^5^


    References

    1. Allow file input from users
    2. Use uploaded files with generative answers nodes
    3. Use system topics
    4. Orchestrate agent behavior with generative AI
    5. Error ContextTokenLimitExceeded in Microsoft Teams - Microsoft Q&A
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.