There will be times where you want to give an administrator or another user access to another user’s mailbox. This blog post will describe how to add and remove access permissions on one or more mailboxes with PowerShell.
Add access permissions to a mailbox
Add-MailboxPermission -Identity [email protected] -User [email protected] -AccessRights FullAccess -InheritanceType All
Remove access permissions from a mailbox
When you want to remove the permissions again, just replace Add-MailboxPermission with Remove-MailboxPermission.
When you want to remove the permissions again, just replace Add-MailboxPermission with Remove-MailboxPermission.
Remove-MailboxPermission -Identity [email protected] -User [email protected] -AccessRights FullAccess -InheritanceType All
Add access permissions to all mailboxes
If you want to give access permissions to all mailboxes on Office 365, use the PowerShell cmdlet below.
If you want to give access permissions to all mailboxes on Office 365, use the PowerShell cmdlet below.
Get-Mailbox -ResultSize unlimited -Filter {RecipientTypeDetails -eq 'UserMailbox'} | Add-Mailboxpermission -User [email protected] -AccessRights fullaccess -InheritanceType all
List mailbox permissions
If you want to see permissions of a mailbox, use this cmdlet.
If you want to see permissions of a mailbox, use this cmdlet.
Get-MailboxPermission -Identity [email protected] | Select User, AccessRights, Deny
Thank you for the scripts.
Usually I don’t learn post on blogs, however I wish to say that this write-up very forced me to take a look at and do it!
Your writing taste haas been amazed me. Thanks, quitye nice post.
At this time it appears like Drupal is the best blogging platform out there
right now. (from what I’ve read) Is thyat what you are using on your blog?