Commands › Exchange Online
Get-EXOCasMailbox
For more information, see About the Exchange Online PowerShell module. Use the Get-EXOCasMailbox cmdlet to view the Client Access settings that are configured on mailboxes.
Quick start script
# Get-EXOCasMailbox — 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-EXOCasMailbox | Format-List
# 3. Export for evidence / drift tracking
Get-EXOCasMailbox | Export-Clixml .\EXOCasMailbox-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
Identity (Default)
Get-EXOCasMailbox [[-Identity] <String>]
[-ActiveSyncDebugLogging]
[-ExternalDirectoryObjectId <Guid>]
[-Filter <String>]
[-GetImapProtocolLog]
[-GetPopProtocolLog]
[-IgnoreDefaultScope]
[-OrganizationalUnit <String>]
[-PrimarySmtpAddress <String>]
[-Properties <String[]>]
[-PropertySets <PropertySet[]>]
[-ProtocolSettings]
[-ReadIsOptimizedForAccessibility]
[-ResultSize <Unlimited>]
[-SendLogsTo <String[]>]
[-UserPrincipalName <String>]
[<CommonParameters>]
Anr
Get-EXOCasMailbox [-Anr <String>]
[-ActiveSyncDebugLogging]
[-Filter <String>]
[-GetImapProtocolLog]
[-GetPopProtocolLog]
[-IgnoreDefaultScope]
[-OrganizationalUnit <String>]
[-Properties <String[]>]
[-PropertySets <PropertySet[]>]
[-ProtocolSettings]
[-ReadIsOptimizedForAccessibility]
[-ResultSize <Unlimited>]
[-SendLogsTo <String[]>]
[<CommonParameters>]
Parameters (17)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.