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 / 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

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard