PHPKB Knowledge Base Software Logo  
Guru Corner
Online Knowledgebase System  
Knowledge Base Home Knowledge Base Home
Home > All Categories > Microsoft > Exchange > Office 365 > Add and remove access permissions on mailboxes on Office 365
Question Title Add and remove access permissions on mailboxes on Office 365

There will be times where you want to give an administrator or another user access to another userís mailbox. This post will describe how to add and remove access permissions on one or more mailboxes with PowerShell.

Add access permissions to a mailbox


1. Add-MailboxPermission -Identity user@company.com -User admin@company.com -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.

1. Remove-MailboxPermission -Identity user@company.com -User admin@company.com -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.

1. Get-Mailbox -ResultSize unlimited -Filter {RecipientTypeDetails -eq 'UserMailbox'} | Add-Mailboxpermission -User admin@company.com -AccessRights fullaccess -InheritanceType all

List mailbox permissions
If you want to see permissions of a mailbox, use this cmdlet.

1. Get-MailboxPermission -Identity user@company.com | Select User, AccessRights, Deny
Authored by: Guru Corner
Click Here to View all the questions in Office 365 category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
Article Information Additional Information
Article Number: 243
Created: 2012-10-06 11:06 PM
Rating: No Rating
 
Article Options Article Options
Print Question Print this Question
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
 
Search Knowledge Base Search Knowledge Base
 
 

Powered by Guru Corner