Forum Discussion

TonyRedmond's avatar
Aug 19, 2026

Cleaning Up Old Planner Tasks with PowerShell

Microsoft Purview supports retention policies for Planner tasks and that’s the supported way to remove old tasks from plans. But you can also remove old Planner tasks with PowerShell. Just for fun, we show how to find and delete old tasks using the Microsoft Graph PowerShell SDK. Cleaning out obsolete tasks that have been hanging around plans for years speeds up client access. It’s a form of colonic irrigation for plans!

https://office365itpros.com/2026/08/19/clean-up-planner-tasks/