Commands › Exchange Online
Get-AdaptiveScopeMembers
Retrieve current and past members of adaptive scopes in your organization. Adaptive scopes are used in retention policies, Insider Risk Management policies and retention label policies.
Quick start script
# Get-AdaptiveScopeMembers — 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-AdaptiveScopeMembers -Identity <ComplianceRuleIdParameter> -AdaptiveReportQuery <String> -PageCookie <string> | Format-List
# 3. Export for evidence / drift tracking
Get-AdaptiveScopeMembers | Export-Clixml .\AdaptiveScopeMembers-$(Get-Date -Format yyyyMMdd).xml
Syntax — 4 parameter sets
Identity (Default)
Get-AdaptiveScopeMembers [-Identity] <ComplianceRuleIdParameter> [<CommonParameters>]
Default
Get-AdaptiveScopeMembers [-Identity] <ComplianceRuleIdParameter>
[-AdaptiveReportFilters <PswsHashtable>]
[-EndDateTime <DateTimeOffset>]
[-PageResultSize <UnlimitedInt>]
[-StartDateTime <DateTimeOffset>]
[-State <LocationState>]
[<CommonParameters>]
AdaptiveReportQuery
Get-AdaptiveScopeMembers [-Identity] <ComplianceRuleIdParameter> -AdaptiveReportQuery <String> [<CommonParameters>]
AdaptiveReportPagination
Get-AdaptiveScopeMembers [-Identity] <ComplianceRuleIdParameter> -PageCookie <string> [<CommonParameters>]
Parameters (8)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.