cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pitchie
New Member

Copy files from a folder, including subfolders to another OneDrive

Hi,

 

I have a OneDrive Personal account. I sync some files to there whilst working mobile. I would like to copy these files to my OneDrive for Business account. I can see there is a template for this type of flow but it does not include subfolders and files.

 

Can anyone tell me if there is a way to modify this template to include subfolder and files? I'm new to flow and whilst I understand what is happening, I don't understand how to construct this (what seems simple) addition to the template.

 

I have seen some examples where people get a list of files and iterate over them but I found that very confussing being new on the scene. Any pointers or demonstrations would really be appreciated.

 

Thanks,

 

Paul.

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @pitchie ,

 

You could choose the "Whena  file is created" trigger of Onedrive connector as is refered in the link below:

https://powerusers.microsoft.com/t5/General-Flow-Discussion/How-to-sync-drives/m-p/342084#M28949

 

1.png2.png

 

Please let me know if your problem could be solved or let me know if you have any questions.

 

 

Best regards,

Alice       

 

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

View solution in original post

2 REPLIES 2
abm
Super User
Super User

Hi @pitchie ,

 

Please see below.

 

First flow step is the Onedrive Personal one when a file is created (Preview)  where you can set include subfolder to 'Yes'. Finally flow step is create file (Onedrive Business).

 

f2.png

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
v-alzhan-msft
Community Support
Community Support

Hi @pitchie ,

 

You could choose the "Whena  file is created" trigger of Onedrive connector as is refered in the link below:

https://powerusers.microsoft.com/t5/General-Flow-Discussion/How-to-sync-drives/m-p/342084#M28949

 

1.png2.png

 

Please let me know if your problem could be solved or let me know if you have any questions.

 

 

Best regards,

Alice       

 

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,796)