An Engineers Notebook

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

Problem

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

Solution
$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

 https://www.michev.info/Blog/Post/1516/quickly-list-all-mailboxes-to-which-a-particular-user-has-access

Leave a Reply

Your email address will not be published.