Commands › Exchange Online
Get-MailboxFolderPermission
View folder-level permissions in mailboxes. **Note**: In Exchange Online PowerShell, we recommend that you use the Get-EXOMailboxFolderPermission cmdlet instead of this cmdlet. For more information, see Connect to Exchange Online PowerShell.
Quick start script
# Get-MailboxFolderPermission — 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-MailboxFolderPermission -Identity <MailboxFolderIdParameter> | Format-List
# 3. Export for evidence / drift tracking
Get-MailboxFolderPermission | Export-Clixml .\MailboxFolderPermission-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-MailboxFolderPermission [-Identity] <MailboxFolderIdParameter>
[-DomainController <Fqdn>]
[-GroupMailbox]
[-ResultSize <Unlimited>]
[-SkipCount <Int32>]
[-UseCustomRouting]
[-User <MailboxFolderUserIdParameter>]
[<CommonParameters>]
Parameters (7)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.