Get-UnifiedGroup
SafeMicrosoft 365 Groups
Get-UnifiedGroup [-Identity <name>]
Inspects the groups beneath Teams/Planner — audit Public/Private and guest settings here.
Examples
Get-UnifiedGroup | ? AccessType -eq 'Public' | ft DisplayNameList public groups
Syntax
Get-UnifiedGroup [id] / Set-UnifiedGroup id -AccessType Private
Before you run it
Reads are safe; Sets have reach.
Related commands
- Get-MgGroupQuery Entra groups
- Get-TeamInspect Teams
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store