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 / Download folder from S...
Power Automate
Answered

Download folder from Sharepoint

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Is there a way to download a folder from Sharepoint using Power Automate Desktop?

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    There are a couple of ways to do it.

     

    The easiest way is if you have the OneDrive app installed on your machine, you can use it to sync a directory to your local machine. You can then simply use the Copy folder action under the "Folder" actions group in PAD to download the entire folder. This is because when the OneDrive app syncs a directory locally, it will essentially make it look as if the folder was already in the file system. So, you can use the "Folder" actions. But this relies to the OneDrive app running properly.

     

    Another alternative is using the "SharePoint" actions group. If you know the specific folder you want to copy, you can use List folder to list all files in it. And then you would need to use a loop to process each of them individually and then use Get file content or Get file content using path. This will give you the contents of the current file. The contents will be binary data that you can use to create a file on your local file system using the Convert binary data to file action. This will essentially let you copy all files within a SharePoint folder to a local folder.

     

    If you want to do this dynamically for folders, you will need to use List folder on the parent directory and process folders first. You can use the .IsFolder property of an element in the response from List folder to check if the current item is a file or a folder. If it's a folder, you can create a folder with the same name dynamically on the local file system using Create folder.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 259 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 134 Super User 2026 Season 2

Last 30 days Overall leaderboard