web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Microsoft Forms (Teams...
Power Automate
Suggested Answer

Microsoft Forms (Teams) File Uploads – Error When Getting File Content in Power Automate

(2) ShareShare
ReportReport
Posted on by 33

Hello,

I have a Microsoft Form with a File Upload question that allows up to five attachments, and I’m trying to save the responses (including the files) to a SharePoint list using Power Automate. The Form was created within a Teams channel.

I followed an online tutorial to build the flow, but I keep getting an error when trying to Get file content. The tutorial uses OneDrive for Business – Get file content, but since this Form was created in Teams, I believe the uploaded files are stored in the Team’s SharePoint site, not OneDrive.

I’ve tried switching to SharePoint – Get file content / Get file content using path, but I’m still running into errors and can’t get the attachments to save correctly.

Has anyone successfully handled file uploads from a Teams-based Microsoft Form and saved them to a SharePoint list?

Any guidance on the correct connector, file path, or approach would be greatly appreciated.

Thank you for your help!

 

Categories:
I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    69,556 Most Valuable Professional on at
    If you look at the details of one of the responses to the form you can click on the file and it will show you exactly where the files are stored.  Forms created inside Teams are Shared Forms, so the files are stored in SharePoint already.  Here's a screenshot of a flow I used for testing that reads the file from where it is stored in SharePoint and creates it in my OneDrive.  Just replace the OneDrive action with an add attachment action.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • Suggested answer
    Valantis Profile Picture
    6,735 on at

    Because the Form was created in Teams, the uploaded files are stored in the Team’s SharePoint site, not OneDrive, so OneDrive – Get file content is not the right action here.

    The recommended approach is:

    • Get response details

    • Parse JSON for the file upload question

    • loop through each file

    • use SharePoint to get the file content

    • create the list item first, then use Add attachment for each file
      (or Create file if you want to save them in a document library instead)

    Also, use Get file content if you have a file identifier, and Get file content using path if you have a file path.

    If it still fails after that, check the Team’s SharePoint/library settings, because those can also block file handling.

     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

     

  • Valantis Profile Picture
    6,735 on at

    Hi @DM-30101910-0,

    Just wanted to check in and see if everything is working now. If you still need any help, feel free to let me know.

    Also, if the issue is resolved, it would be great if you could mark the answer as solved so others with the same question can find it easily.

     

    Thanks and have a great day!

     
  • Suggested answer
    Ellis Karim Profile Picture
    12,163 Super User 2026 Season 1 on at
     
    If you’re seeing a File Not Found error (or similar) in the Get file content using path action, see: Microsoft Group Forms: How to Handle File Uploads and Email Them Using Power Automate
     
     
    Ellis Karim
    Ellis Karim
    elliskarim.com  |  LinkedIn  |  Bluesky
    If this solved your issue, please mark it as ✅ Accepted Answer. If it helped, feel free to give it a 🩷 Like!

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard