cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Vontovius
Frequent Visitor

Moving sub-folder from onedrive for business to sharepoint

Hi all

 

I want a flow that can auto copy the whole sub-folder and its item on One-drive for business then move it to Sharepoint but I cannot find any action to do this. Only file create on Onedrive, there is no choice to copy the whole folder.
In example: If my Onedrive has sub-folder "Test" and items on this folder were created, in sharepoint, it should create a "Test" Document Library also and its own files

 

Please help me

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @Vontovius ,

 

You could use List files in folder to get the files in the specified folder.

Then use Create file action to copy files from OneDrive to SharePoint Library.

 

It is noted that we could not get the files contained in subfolders. We could only get the metadata of the subfolder in Parent folder. This is a known limitation.

Image reference:

6.PNG7.PNG

Hope this helps.

 

Best Regards,

Community Support Team _ Barry
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

1 REPLY 1
v-bacao-msft
Community Support
Community Support

 

Hi @Vontovius ,

 

You could use List files in folder to get the files in the specified folder.

Then use Create file action to copy files from OneDrive to SharePoint Library.

 

It is noted that we could not get the files contained in subfolders. We could only get the metadata of the subfolder in Parent folder. This is a known limitation.

Image reference:

6.PNG7.PNG

Hope this helps.

 

Best Regards,

Community Support Team _ Barry
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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,735)