web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Copy a folder from a s...
Power Automate
Answered

Copy a folder from a sharepoint document library to a onedrive for business

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello

 

I am writing a flow to copy a folder from sharepoint to onedrive for business for archiving reasons.

 

However I notice that there is no copy folder, create folder action or any of the kind for onedrive for business. Is there a way to do this?

If no: I notice that there is a way to download folders from sharepoint to a local file system:

PieterGoossens_0-1632406449472.png

I am wondering if it is possible to download the folder in the local onedrive folder on a system which then in turn syncs to the cloud.

 

Kind regards

Pieter

Categories:
I have the same question (0)
  • Verified answer
    v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous 

    According to your description, you want to copy a folder from SharePoint to OneDrive.

    You can take a try with the screenshots below to see if it helps.

    Assume I want to copy Move files folder to OneDrive.

    vLilyWmsft_0-1632707221813.png

    Flow in details:

    vLilyWmsft_1-1632707258864.png

    vLilyWmsft_2-1632707287051.png

    No need to manually create a folder in OneDrive, Flow will automatically create a folder according to the Folder Path if the Folder is not in OneDrive.

    vLilyWmsft_3-1632707313791.png

    After Flow runs, the Move files folder will be copied in OneDrive.

    vLilyWmsft_4-1632707616644.png

    vLilyWmsft_5-1632707629239.png

    Hope the content above may help you.

    Best Regards

    If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello

     

    Thank you for the reply, however this does not seem to work because the files are in subfolders of the folder I am trying to copy so the get files (properties only) does not get any values (even when nested items are included):

    PieterGoossens_1-1632731645758.png

    So as a result the apply to each does not run either:

     

    PieterGoossens_0-1632731457383.png

     

    Any suggestions?

     

    Kind regards.

  • v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous 

    What is the output of your Path here?Is it the parent folder name of the folder you want to copy?

    vLilyWmsft_0-1632813313881.png

    Please provide the screenshot of the output like this.

    vLilyWmsft_1-1632813804043.png

    Best Regards.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard