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

Community site session details

Session Id : fO2U1q4H333RqPIRnqRic2
Power Automate - Building Flows
Unanswered

How to save MS Form attachment to Sharepoint directly?

Like (0) ShareShare
ReportReport
Posted on 23 May 2021 12:26:09 by 10

HI there

Previously i have created a flow that save MS Form attachment into Sharepoint directly without going through OneDrive. But now i looked back at the code, there isnt anything that change the attachment directory to Sharepoint. 

 

To be frank, i also dont know how i do it... So now i want to create a new flow that do the same thing without going through OneDrive but i cant seems to do that and i did some research, the attachment will always go to OneDrive and we need to use certain flow function to pick that up and put it in Sharepoint.

 

1) Is there anyone that can help to guide a way for me to save my attachment to Sharepoint directly without going through OneDrive?

2) If there's no way to do it then can share how to get the MS Form attachment and send it out using email without busting my OneDrive space (if i not wrong, there shld be a limit to the space)?

3) Also, i always cant get the file extension in my email attachment. Is there a site where i can see how to get the extension for my email attachment?

 

This is the Flow for my previous Flow which can save to Sharepoint directly (in condition 2, its just email without attachment) but i used first(body('Parse_JSON'))?['link'] for a link in email to substitute my deficiency in attachment with extension)

:

LeoApril_0-1621772351546.png

 

Sorry for the long post but its really baffling me for a long time.. Also thanks in advanced for any reply. 

  • Pstork1 Profile Picture
    67,170 Most Valuable Professional on 23 May 2021 at 12:59:02
    Re: How to save MS Form attachment to Sharepoint directly?

    1) MS Forms saves the attachment files to OneDrive, so there is no way for Power Automate to get the files without going through OneDrive.

     

    2) First, can we clarify are you on OneDrive or OneDrive for Business?  Normally this would be OneDrive for Business and that has 1TB of space by default so space won't be an issue.  Also if you don't need the file after emailing it you can have the flow delete it and free up the space.

     

    3) The name of the file in OneDrive will include the extension.  You can retrieve it by using a split on '.' and then retrieving the Last() entry of the array.

     

    You might find the blog post I did on creating approvals for files submitted through MS Forms would be useful.

    What Me Pa..Panic? – A BLOG about SharePoint & O365 Administration, Design, Development, and Customization . . . (dontpapanic.com)

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2