An Engineers Notebook

Get list of Full mailbox, Send As, Send on Behalf of Permissions in Office 365


You need to list all full, send as and send on behalf of mailbox permissions for a user in Office 365

$user = "username"
$Mailboxes = Get-Mailbox
#List mailboxes with full access
$Mailboxes | Get-MailboxPermission -User $user
#List mailboxes with Send As right
$Mailboxes | Get-RecipientPermission -Trustee $user
#List mailboxes with Send On Behalf Permission
$Mailboxes | ? {$_.GrantSendOnBehalfTo -match $user }
Reference, Links and Imges

Leave a Reply

Your email address will not be published.