How to Track Files Deleted with a SharePoint Folder in Power Automate
Question details
The user needs to track specific files and subfolders that are deleted when an entire SharePoint folder is removed.

- Product
- SharePoint and Power Automate
- Device & OS
- not provided
- Scenario
- Creating a Power Automate flow to monitor deletions, where the standard trigger fails to list the contents of the deleted folder.
- Observed behavior
- The Power Automate trigger provides only folder-level deletion information, omitting the individual files and subfolders contained within the parent folder.
Ensure you have active login credentials for your Microsoft Power Automate environment and the necessary permissions to view custom flows for your target SharePoint site.
Consult the Microsoft Power Automate Community for Custom Flows
Because standard triggers only capture folder-level events, you will need a custom flow solution best sourced from Microsoft Power Automate experts.
Standard SharePoint triggers in Power Automate typically recognize the deletion of a folder as a single event, rather than individually listing every child item inside it. To extract data about nested files and subfolders, advanced custom flows utilizing SharePoint HTTP requests or recursive logic are required.
Open your web browser and navigate to the official Microsoft Power Automate Community at powerusers.microsoft.com.
Use the forum search bar to look for queries like 'track deleted files in SharePoint folder' or 'get deleted subfolders SharePoint trigger'.
If you cannot find an exact match, create a new post detailing your current folder-level trigger and ask the community for guidance on extracting the deleted child items.

Review the SharePoint Recycle Bin Manually
If your automated flow only gives you the folder name, you can manually inspect the SharePoint site's recycle bin to see what files were inside.
Manage Your Daily Documents Effortlessly with WPS Office
While tracking SharePoint folder deletions requires complex Microsoft Power Automate flows, your everyday document editing shouldn't be complicated. WPS Office is a powerful, lightweight suite that handles all your standard office files seamlessly.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button.
- 2. Install the Software: Run the downloaded installation file and follow the on-screen prompts to set up the suite.
- 3. Open Your Documents: Launch WPS Office and instantly open your existing .docx, .xlsx, or .pptx files with perfect formatting compatibility.

Frequently Asked Questions
Why does Power Automate only show the deleted SharePoint folder and not the files?
The standard 'When a file is deleted' trigger in Power Automate fires a single event for the exact object that was removed. If a parent folder is deleted, the event corresponds to that folder as a whole, not the individual child items inside it.
Can I recover files that were deleted within a SharePoint folder?
Yes, deleted folders and their contents are automatically moved to the SharePoint site's Recycle Bin. They are typically retained there for 93 days before being permanently deleted.
Is it natively possible to trigger a flow for every file inside a deleted folder?
Not natively with the basic Power Automate triggers. Achieving this requires complex custom flows, often utilizing SharePoint REST API calls to parse the recycle bin, which is why consulting the Microsoft Power Automate community is highly recommended.




