Commands › Exchange Online

Get-UnifiedGroupLinks

Exchange Online ExchangeOnlineManagement Get-*

View membership and ownership information for Microsoft 365 Groups in your cloud-based organization. To view other properties for Microsoft 365 Groups, use the Get-UnifiedGroup cmdlet.

Quick start script

# Get-UnifiedGroupLinks — 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-UnifiedGroupLinks -Identity <UnifiedGroupIdParameter> -LinkType <LinkType> | Format-List

# 3. Export for evidence / drift tracking
Get-UnifiedGroupLinks | Export-Clixml .\UnifiedGroupLinks-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-UnifiedGroupLinks [-Identity] <UnifiedGroupIdParameter> -LinkType <LinkType>
 [-ResultSize <Unlimited>]
 [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Identity UnifiedGroupIdParameter yes The Identity parameter specifies the Microsoft 365 Group that you want to view. You can use any value that uniquely identifies the Microsoft 365 Group. For example:
-LinkType LinkType yes The LinkType parameter filters the results by recipient roles in the Microsoft 365 Group. Valid values are:
-ResultSize Unlimited The ResultSize parameter specifies the maximum number of results to return. If you want to return all requests that match the query, use unlimited for the value of this parameter. The default value is 1000.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.