Back to Admin Workflows

How to Tame Microsoft Teams Sprawl: Inactive Teams, Guest Access, and Channel Cleanup with PowerShell

Identify inactive teams, ownerless channels, and risky guest access — then act on them — with one repeatable governance workflow.

Microsoft Teams adoption usually moves quickly. Teams get created for short-term projects, channels multiply, guests get invited, and ownership gets unclear.

Six months later, admins are looking at hundreds of teams, many of which are inactive, ownerless, or holding onto external access that no one tracks anymore.

Manually reviewing all of that is impractical. PowerShell makes it possible — and PSForge makes it repeatable.

Where Teams sprawl shows up

Common pain points include:

  • Teams with no recent activity
  • Teams with no owner or only one owner
  • Channels that were never used
  • Guest users that should no longer have access
  • External access enabled beyond the original intent

Why this is hard manually

Teams data lives across multiple Microsoft 365 services — the Teams admin center, Entra ID, and the underlying Microsoft 365 groups. Pulling a complete picture by hand means switching between portals and reconciling exports.

A workflow approach is faster and far easier to repeat on a schedule.

How PSForge helps

PSForge brings together the tasks needed to inventory teams, review activity, audit ownership, and clean up guest access into a single PowerShell workflow you can run on a cadence.

Example Teams governance workflow

  1. Export all teams and their owners
  2. Identify teams with no recent message activity
  3. Flag teams with zero or one owner
  4. Export guest users by team
  5. Identify channels with no recent activity
  6. Archive or delete teams marked for cleanup
  7. Generate a governance report for the change record

Final thoughts

Teams sprawl is rarely intentional — it just happens. The fix is structure, not discipline.

PSForge helps you turn the cleanup into a repeatable PowerShell workflow so Teams stays useful instead of overwhelming.

Related guides