Office 365 Audit records

Finding Obsolete Office 365 Groups with PowerShell

by Tony Redmond

Office 365 Groups (and Teams) can quickly become obsolete, but administrators need some help to find the underused groups. PowerShell comes to the rescue through a mixture of checks against the group mailbox, Office 365 audit log, and Teams compliance records. A nice HTML report is the result - and isn't that always welcome.