Commands › Exchange Online
Get-MessageClassification
View existing message classifications in your organization.
App-only limitation executed read-only 20 Oct 2026 · module v3.10.1 — A server side error has occurred because of which the operation could not be completed. Please try again after some...
Quick start script
# Get-MessageClassification — 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-MessageClassification | Format-List
# 3. Export for evidence / drift tracking
Get-MessageClassification | Export-Clixml .\MessageClassification-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-MessageClassification [[-Identity] <MessageClassificationIdParameter>]
[-DomainController <Fqdn>]
[-IncludeLocales]
[<CommonParameters>]
Parameters (3)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.