Commands › Exchange Online
Get-ManagementRoleEntry
Retrieve management role entries that have been configured on management roles.
Quick start script
# Get-ManagementRoleEntry — 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-ManagementRoleEntry -Identity <RoleEntryIdParameter> | Format-List
# 3. Export for evidence / drift tracking
Get-ManagementRoleEntry | Export-Clixml .\ManagementRoleEntry-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-ManagementRoleEntry [-Identity] <RoleEntryIdParameter>
[-DomainController <Fqdn>]
[-Parameters <String[]>]
[-PSSnapinName <String>]
[-ResultSize <Unlimited>]
[-Type <ManagementRoleEntryType[]>]
[<CommonParameters>]
Parameters (6)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.