Skip to Content
Communication Square LLC Help Center

Flow which will Delete files from library After 10 years

Written September 2022. Microsoft changes these admin screens often, so the screenshots below may not match what you see today. The sequence of steps is usually still correct — if something looks wrong, tell us and we'll update it.

Flow which will Delete files from library After 10 years

Requirement: Anything that has not been accessed in over 10 years will be deleted automatically.

Step 1: Sign into Power Automate

Step 2: click on +New flow 

Step 3: Scheduled Cloud flow

Step 3: Name a flow like here I would say Delete After 10 years (HR)

Step 4: Set the starting time and select when you want this flow to trigger automatically. 

Step 5: click on new step

Select Get files (properties only)

Step 6: click New step And choose apply to each

Set the settings accordingly

Last Step: Click Save.

Last updated on