Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to copy OneDrive for Business files from multiple folders to multiple SharePoint sites

I have a folder strucure in OneDrive for Business that looks like the following:


FolderA - file1

FolderB - file2

FolderC - file3

and so on for ~50 folders


I want to create (ideally) a single Flow that would copy the new file dropped in FolderA to sharepoint/sites/FolderA and FolderB to sharepoint/sites/FolderB and so on.


Anyone have a quick and efficient way of doing this rather than create a flow for each folder?

Community Support
Community Support

Hi @Anonymous,


Your scenario will not work in Microsoft Flow, at least currently.

For a new file created in different folders in OneDrive for business, there is no proper trigger available which could be used to get the newly added file from different folders.


In addition, OneDrive for Business folder input box will not accept the dynamic content:



A possible workaround would be, run flow on a schedule, then list each folder, and each files in each folder (nested) to see if there are any newly added files (compared with the destination folder).




Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (57,151)