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 :
Power Platform Community / Forums / Power Automate / MS Form : save attachm...
Power Automate
Unanswered

MS Form : save attachments on Sharepoint in Folders per submisson

(0) ShareShare
ReportReport
Posted on by 22

Hi, after looking at multiple youtube videos, reading the community blog, reddit, etc. I can't find this answer, so I'm asking here. 

 

Here's the flow we're trying to do : 

  1. user fill out the MS Form and upload attachments : working
  2. the attachments are uploaded on our team Sharepoint: working
  3. Now, we want the attachments to be inside a folder. There will be a new folder created per submisson and including all attachments for that submission. 

We don't want to use the Sharepoint library or list, just having folders per submisson.

The folder name should be the ID of the submission form (and not the user that filled out the form) 

 

Something like this 

Screenshot 2024-04-04 161106.png

 

It seems so simple, but I can't find the answer. I hope someone here can. Thank you in advance!

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,690 Moderator on at
    Re: MS Form : save attachments on Sharepoint in Folders per submisson

    Hi there, 

     

    Well, after your form is submitted, you'll want to grab the Response ID and make a folder, using "Create Folder". 

     

    Rhiassuring_0-1712280407800.png

     

    Then, for each file, you'll just move them into that folder like this:

     

    Rhiassuring_1-1712280508524.png

    This will be inside of an "Apply to Each", where you've retrieved each of your "Files To Move" (and your File ID will be in the "File To Move" above.) 

     

    Is this what you're looking for?

  • JVM2020 Profile Picture
    22 on at
    Re: MS Form : save attachments on Sharepoint in Folders per submisson

    Hi, thank you for the fast reply. Yes it is. I'll try it and get back to you if I have any issues, thanks!

  • JVM2020 Profile Picture
    22 on at
    Re: MS Form : save attachments on Sharepoint in Folders per submisson

    Hi again, 

    so the folder is created, that's good. 

    It's the files that are not moving.

     

    On the Apply to each, I select the Dynamic content from "Get response details" Upload files documents. I think I'm not using the right output... Screenshot 2024-04-05 113616.png

     

  • Verified answer
    JVM2020 Profile Picture
    22 on at
    Re: MS Form : save attachments on Sharepoint in Folders per submisson

    I finally solved it ! I suddendly got this error : 

    You cannot copy or move files between the Forms directory and a document library. First copy the file outside of the site and then upload from that location.

     

    so when I switch to create folder inside the forms Upload documents path, it all worked ! 

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard