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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (48,960)