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 / How to delete a ShareP...
Power Automate
Suggested Answer

How to delete a SharePoint folder in Power Automate Desktop?

(0) ShareShare
ReportReport
Posted on by 45
I can't find an action to delete a SharePoint folder and its contents in PAD, how can I do it?
 
Thanks
I have the same question (0)
  • Power Platform 1919 Profile Picture
    2,254 Super User 2026 Season 1 on at
    Hi @rcardenasb,

    You can try this :

    First get the folder metadata,
     
    then use delete item action:
     
    to know more, check this link : Delete SharePoint Folders Using Power Automate

    , just replicate the steps in desktop flow
  • Suggested answer
    Riyaz_riz11 Profile Picture
    4,204 Super User 2026 Season 1 on at
    Hi,
     
    In Power Automate Desktop, use "Delete Files in Folder" action.
     
    Drag folder path from SharePoint connector get via List Folders, set "Include Subfolders" to Yes if needed, then run.
     
    If folder has files, first use "Delete All Files in Folder" action to empty it.
     
    Alternative: "Invoke Web Service" with SharePoint REST API DELETE call to _api/web/GetFolderByServerRelativeUrl('/path/to/folder').
    Always check "Folder Exists" first to avoid errors.
     
    If I have answered your question, please mark it as the preferred solution ✅ . If you like my response, please give it a Thumbs Up 👍.
    Regards,
    Riyaz

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard