Commands › Exchange Online
Test-IRMConfiguration
Test Information Rights Management (IRM) configuration and functionality.
Quick start script
# Test-IRMConfiguration — 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
Test-IRMConfiguration -Sender <SmtpAddress> | Format-List
# 3. Export for evidence / drift tracking
Test-IRMConfiguration | Export-Clixml .\IRMConfiguration-$(Get-Date -Format yyyyMMdd).xml
Syntax
Test-IRMConfiguration [[-Identity] <OrganizationIdParameter>] -Sender <SmtpAddress>
[-Confirm]
[-DomainController <Fqdn>]
[-Recipient <SmtpAddress[]>]
[-RMSOnline]
[-WhatIf]
[<CommonParameters>]
Parameters (7)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.