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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to delete sharepoi...
Power Automate
Unanswered

How to delete sharepoint folder with power automate desktop?

(2) ShareShare
ReportReport
Posted on by 43
I know how to delete files in sharepoint folder with power automate desktop but how delete any folder and the files inside the folder, how to do that, thanks a lot.
 
The main question is how delete the folder?, after delete the files inside the folder
 
Regards 
Roberth
Categories:
I have the same question (0)
  • Verified answer
    bscarlavai33 Profile Picture
    738 Super User 2025 Season 2 on at
    Use the "List folder" action to retrieve files in a folder. Then loop through the results. You can then check if the CurrenItem "IsFolder" is set to true and if so, you can List folders again for any sub folders.
     
    Otherwise if IsFolder is false then you can delete the file.
     
    Screenshot of the final flow.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard