Commands › Exchange Online
Get-UnifiedGroup
View Microsoft 365 Groups in your cloud-based organization. To view members, owners and subscribers for Microsoft 365 Groups, use the Get-UnifiedGroupLinks cmdlet.
Quick start script
# Get-UnifiedGroup — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Run and inspect
Get-UnifiedGroup | Format-List
# 3. Export for evidence / drift tracking
Get-UnifiedGroup | Export-Clixml .\UnifiedGroup-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
Identity (Default)
Get-UnifiedGroup [[-Identity] <UnifiedGroupIdParameter>]
[-Filter <String>]
[-IncludeAcceptMessagesOnlyFromSendersOrMembersWithDisplayNames]
[-IncludeAllProperties]
[-IncludeBypassModerationFromSendersOrMembersWithDisplayNames]
[-IncludeGrantSendOnBehalfToWithDisplayNames]
[-IncludeModeratedByWithDisplayNames]
[-IncludeRejectMessagesFromSendersOrMembersWithDisplayNames]
[-IncludeSoftDeletedGroups]
[-ResultSize <Unlimited>]
[-SortBy <String>]
[<CommonParameters>]
AnrSet
Get-UnifiedGroup [-Anr <String>]
[-Filter <String>]
[-IncludeAcceptMessagesOnlyFromSendersOrMembersWithDisplayNames]
[-IncludeAllProperties]
[-IncludeBypassModerationFromSendersOrMembersWithDisplayNames]
[-IncludeGrantSendOnBehalfToWithDisplayNames]
[-IncludeModeratedByWithDisplayNames]
[-IncludeRejectMessagesFromSendersOrMembersWithDisplayNames]
[-IncludeSoftDeletedGroups]
[-ResultSize <Unlimited>]
[-SortBy <String>]
[<CommonParameters>]
Parameters (12)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.