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 / How to move files betw...
Power Automate
Answered

How to move files between folders in OneDrive for Business

(0) ShareShare
ReportReport
Posted on by 10

 

I have a lot of files in a folder in OneDrive for Business. I'm trying to organize them using Flow. How should I do this? There are a few ways I would like to do it. 

 

Manually Trigger a Flow

Identify files created within a certain date to be organised into Folders in OneDrive for Business

For example:

- Files created from 01 January 2022 to 31 March 2022 to be in Folder 1

- Files created from 01 April 2022 to 30 June 2022 to be in Folder 2

 

Manually Trigger a Flow

Identify files create with a specific word organised into Folders

- Files with the word "Report" to be in Folder "Reports".

 

 

Grateful for any advice for me, thanks!

 

Categories:
I have the same question (0)
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @superbackhand  i havent done this before but you can try using Find files in folder action https://learn.microsoft.com/en-gb/connectors/onedriveforbusiness/#find-files-in-folder as starting point to find files with your query parameter.

     

  • Verified answer
    v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @superbackhand ,

    Do you want to classify files in Onedrive?
    We can use the list files in a folder action to get the following file information.
    Then we can classify them with switch action.
    vdezhilimsft_0-1669197471654.png

     

    I made a test for your reference.
    In my scenario I classify by file extension.
    vdezhilimsft_1-1669197471654.png

     

    vdezhilimsft_2-1669197471655.png

     

    split(item()?['Name'],'.')[1]

     

    vdezhilimsft_3-1669197471656.png

     


    Best Regards,
    Dezhi

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227

#2
David_MA Profile Picture

David_MA 204 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 177

Last 30 days Overall leaderboard