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 / Save Microsoft Forms ...
Power Automate
Suggested Answer

Save Microsoft Forms Responses (with Attachments) to a List

(0) ShareShare
ReportReport
Posted on by 33

I have a Microsoft Form that includes one question allowing up to five attachments, and I want to save the responses to a SharePoint list. I followed an online tutorial to build the flow, but I keep getting an error. I am not familiar with coding, so I’m not sure what the error means. I’ve checked the flow several times, and the steps match the tutorial exactly.

What might I be doing wrong? Thank you for your help!

 
 
 
 
 
 
 
thank you!!
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    14,956 Super User 2026 Season 1 on at
    Since you didn't include the link to what you tried, I can only say I have seen numerous ways online to do this. Below is what works for me. Note: this assumes the files are stored in OneDrive of the owner of the form. If the form is associated with a SharePoint site, you will need to adapt these steps.
     
    1. First, use a condition to check if files were attached otherwise the flow will fail. You can use this expression to get the number of files attached, which obviously you want to be greater than zero: length(outputs('Get_response_details')?['body/yourquestionfromdynamiccontent'])
      1. Replace the output in the expression with the question that contains the attachments.
    2. Use the JSON code below for the scheme of the Paarse JSON action. The content of the Parse JSON action will be the question that contains the attachments:
    3. The Apply to each action is configured to the Output of the Parse JSON action.
    4. I have had some problems with bad attachments, so I use a condition to make sure the size is greater than 0.
    5. If it is, use the OneDrive for Business Get file content (or SharePoint get file content if stored in SharePoint) based on the id in the JSON:
    6. I am adding my files to an Azure DevOps item. You will use the Add attachment item to add it to a SharePoint list item.
    7. The second Parse JSON and the second Azure DevOps HTTP request will not be needed by your process. In my process, it just adds a comment about the attachment in Azure DevOps:
    One issue I see with what you are doing is you seem to be wrapping the question that contains the attachments in a json() expression. In the apply to each, just insert the question with the attachments there as I have done above. If my steps do not help you, post the link to what you followed.
  • Suggested answer
    Ellis Karim Profile Picture
    12,163 Super User 2026 Season 1 on at
     
    And here is another way to get the forms attachments:

     
     
    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