In copilot i have a question step with File identifier, deployed the agent to SharePoint and From SharePoint when i access copilot chat and upload the file, the question keeps repeating but the same is working fine in Teams channel

Roop Kumar Yarasi 0 Reputation points
2025-07-10T09:17:57.81+00:00

In copilot studio, i have created a topic and in it created a step Question to capture file from Chat. I have deployed this in both Teams and SharePoint channel.

In teams channel once the question is answered by uploading a pdf file, it moves on to next step but in SharePoint channel after uploading the pdf the question keeps repeating and asking to upload the document

Microsoft Copilot | Microsoft 365 Copilot | Development
{count} votes

1 answer

Sort by: Most helpful
  1. Karan Shewale 1,125 Reputation points Microsoft External Staff
    2025-07-11T05:35:19.8+00:00

    Hi Roop,

    What you’re seeing is actually a known behavior difference between Teams and SharePoint channels in Copilot Studio. Teams has built-in support for handling file uploads in conversations, but SharePoint doesn’t always confirm back when a file is successfully uploaded. Because of that, the agent in SharePoint ends up re-asking the file upload question instead of moving forward.

    A few workarounds you can try:

    • Add a confirmation step: After the file question, add a message that shows the uploaded file name (e.g., “File received: {filename}”). This helps confirm whether SharePoint is passing the file correctly.

    Channel-specific logic: Add conditions in your topic to detect if the user is in SharePoint, and add an extra confirmation step for that channel.

    Alternative handling: Instead of uploading directly in chat, ask SharePoint users to upload files to a document library first and then provide the file URL. You could also use Power Automate to process files uploaded through SharePoint.

    If this is critical to your scenario, I recommend opening a support ticket with Microsoft so the engineering team can confirm if an update is planned for SharePoint file upload support.

    For reference, you can check:

    In the meantime, Teams will be the more reliable option for file-based interactions.

    Hope this helps!

    Thanks,  

    Karan Shewale. 

    *************************************************************************  

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 

    0 comments No comments

Your answer

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