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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store