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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow to download Excel...
Power Automate
Suggested Answer

Flow to download Excel file from MS Forms to Sharepoint folder

(1) ShareShare
ReportReport
Posted on by 23
Hi,
I'm new here. I'm trying to use Power Automate to download an entire Excel file from MS Forms, which I am not the owner of (my colleague shared it with me), and save this Excel file to SharePoint. However, when I use the flow below, I cannot open the file due to the file format. Can someone help me with this?
 
Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    Have you considered utilizing the built-in functionality in MS Forms that syncs responses to a workbook that you can access via OneDrive or SharePoint (depending on the type of form you've created)? 

     

     

     

    In the meantime, you may be interested in these YT Tutorials: 


    In this Microsoft Power Automate tutorial, I’ll show you how to get your Microsoft Form responses into SharePoint. I’ll cover how to build a Microsoft form with conditional fields by using branching. You’ll learn how to format your multiple choice responses for a SharePoint multi-choice column as well as converting it to text. I’ll also show you how to take a text response and convert it to a number with a switch action and with an expression. 

    After adding the response to SharePoint, we’ll send the user an email confirmation with all the details of their form submission.
    At the end of the video I’ll show you a few tips and tricks on working with a SharePoint list.

    IN THIS VIDEO:
    ✓ How to get a Microsoft Form Response into SharePoint
    ✓ How to get a Microsoft Form ID
    ✓ How to get a Microsoft Form response
    ✓ How to Build a Microsoft Form with Conditional Fields
    ✓ How to used Branching in Microsoft Forms
    ✓ How to format Microsoft Form multiple choice responses for a SharePoint multi-choice column
    ✓ How to parse a Microsoft Form multiple choice response as string of text
    ✓ How to convert a text response to a number
    ✓ How to use the Switch action
    ✓ How to create a custom email confirmation for a Microsoft Form submission
    ✓ How to Create a Custom View in a SharePoint list
    ✓ How to use the Compose Action
    ✓ How to write Power Automate Expressions
     

    ----

    How to Get Microsoft Form File Uploads Attached to an Email 📧


    Are you stumped when it comes to handling a response without any file uploads?


    In this Microsoft Power Automate Tutorial I’m going to cover where file uploads from your Microsoft Forms are saved. I’ll also show you how attach the uploaded files to an email and how to dynamically name the files and customize the recipient of the email based on the selections made in your Microsoft Form. I will also cover how to handle responses that don’t include any file uploads.


    IN THIS VIDEO:
    ✓ Two types of MS Forms
    ✓ Where Microsoft Personal (OneDrive) Form File Uploads are Saved
    ✓ Where Microsoft Group Form File Uploads are Saved
    ✓ How to Add a File Upload Question to an MS Form
    ✓ How to get a Microsoft Form ID
    ✓ How to get a Microsoft Form Response
    ✓ How to Get the Dynamic Content Microsoft Form File Upload Content
    ✓ How to handle Single and Multiple Microsoft Form File Uploads
    ✓ How to use a Scope action to Organize and Group Your Flow Actions
    ✓ How to Get the File Content from an MS Form File Upload
    ✓ How to Collect All Files Uploaded to a MS Form and Attach to an Email
    ✓ How to Handle MS Form Response When a File Isn’t Uploaded
    ✓ How to Create an Email Key
    ✓ How to Send an Email to a Specific Recipient Based on Form Selection
    ✓ How to Create a Dynamic Output Based on Form Selection

  • CU12091103-0 Profile Picture
    23 on at
    Hi @creativeon (sorry, I did not find the reply button on your comment)

    It seems that the form my colleague shared with me is on her OneDrive, and I don't have access to it. The Forms I have shared look quite different from yours. I honestly do not know which type of Forms my colleague used, as she is currently on a long vacation.


    I can download this Excel file manually, but I need to automate the download and upload it to another SharePoint folder in order to create the report.
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,429 Super User 2025 Season 2 on at
    HI,
     
    Can you please share the flow Run, with the error.
     
    To me you are trying to download the contents of an attached file, to a MS Forms Question.
     
    To do that you need to get the Contents after you do the Get Response Details, which requires that your use a json(questiongoeshereformat)
     
    Can you share your Inputs and outputs of the Flow Action please for Create File. My guess is you are trying to create an excel file,but you aren't copying the right data to it, hence it thinks its corrupted.
  • CU12091103-0 Profile Picture
    23 on at
    Hi @FLMike,
     
    Based on your suggestion, I checked the input and output, and I was able to solve the issue myself.

    In my previous flow, I used the 'body' output from Get Response Details in the Create file step with the extension .xlsx. However, the output looked like this:

    I believe the issue was caused by this format because the created file wasn’t recognized as a valid .xlsx file. It seems I needed to use the json method, as you suggested, to parse the content or something similar. However, the content of this output wasn't what I wanted - it differed from what I get when I manually download the Excel file from Forms. 

    So, I tried another way, without using json or get response details, just simply using Send an HTTP request to SharePoint to download whole file and solved it.

    Your suggestion of checking the input and output really helped me a lot, thanks!

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard