Commands › Exchange Online
Get-MailboxIRMAccess
View delegate access to IRM-protected messages in other mailboxes (shared mailboxes or user mailboxes where delegates have Full Access permission).
Quick start script
# Get-MailboxIRMAccess — 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-MailboxIRMAccess | Format-List
# 3. Export for evidence / drift tracking
Get-MailboxIRMAccess | Export-Clixml .\MailboxIRMAccess-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-MailboxIRMAccess [[-Identity] <MailboxIdParameter>]
[-User <SecurityPrincipalIdParameter>]
[<CommonParameters>]
Parameters (2)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.