Forum Discussion

JasonYeung's avatar
JasonYeung
Brass Contributor
May 13, 2026

Bulk cleanup of content / documents in SharePoint

Hi,

We currently have a few SharePoint sites that have old content / documents in document libraries. These are outdated and some are more than 5 years old. To delete these, we currently need to go to each document library / page (and its subfolders), sort by the date created / modified and then manually delete, which would take some time.

Is there a way to bulk delete older content/  documents based on date, either within SharePoint admin or a third party program? (e.g. maybe run a query on a site to list any older content and then check off which page / document to delete).

 

Jason

1 Reply

  • Rob_Elliott's avatar
    Rob_Elliott
    Silver Contributor

    You could build a simple flow in Power Automate that would run once a week and get files from a library that were modified more than, for example, 2 years old and then delete them.

     

    Rob
    Los Gallardos
    Microsoft Power Platform Community Super User
    Principal Consultant, Power Platform, WSP Global (and classic 1967 Morris Traveller driver)