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 / Only move files and no...
Power Automate
Answered

Only move files and not folders

(1) ShareShare
ReportReport
Posted on by 15

Hi All,

 

I've created a PA flow to automaticaly move files from a SharePoint General folder to another folder within the same site. The goal is that when someone Posts a file in this site it will automaticaly will be moved to a sub folder. After testing the created test flow below it had moved alle folders as well. What am I doing wrong? (sorry that it's in Dutch Language)

 

tomsnelders_0-1651480658236.png

tomsnelders_1-1651480752581.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    Heartholme Profile Picture
    1,278 Super User 2024 Season 1 on at

    Hi @tomsnelders ,

     

    Please try this, instead of having a recurrance as the trigger, use the following 'When a file is created in a folder' (I don't know what this is in Dutch 😅 )

     

    Heartholme_0-1651484493527.png

    1. Select the folder from where you want to move files.

    2. In the move file action put the ID in the file to move and find the subfolder within destination folder.

     

    Please let me know if you have any futher questions!

    { If I have answered your question, please Accept the post as a solution. ✅ }
    { If you like my response, please give it a Thumbs Up. 👍}

    Best Regards
    Heartholme

     

  • tomsnelders Profile Picture
    15 on at

    Hi @Heartholme ,

     

    The file is moving to the destination folder nicely, but only when I manualy trigger the flow.

     

    Should I maybe start with a reacurrence step?

     

    Regards,

    Tom

  • Heartholme Profile Picture
    1,278 Super User 2024 Season 1 on at

    Hi again @tomsnelders ,

     

    Try placing a new file in your first folder. It should trigger every time a new file is put into the folder (and that will be the trigger of the flow instead of a timely reccurrance.)

     

    Let me know how it goes 🙂

     

    If this solves your issue, please mark my answear as solved, so other people can find the solution easier.

  • tomsnelders Profile Picture
    15 on at

    Hi @Heartholme,

     

    I've tested it on a test site within my company and it worked great! Next step is to implement it with a client of us!

     

    Thanks for the help!

  • Heartholme Profile Picture
    1,278 Super User 2024 Season 1 on at

    Perfect. No problem!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard