How to Identify Obsolete SharePoint Online Sites with PowerShell

Find obsolete sites with PowerShell.

Microsoft 365 has been around for many years, and it’s likely that a tenant has some obsolete SharePoint Online sites. This article explains how to identify obsolete sites based on usage data extracted from the Microsoft Graph. Combining the usage data with basic site properties taken from SharePoint creates a report that should help administrators to figure out what sites they should consider removing.