Set Full Access Permissions Office 365 Powershell

We can set or grant full access permission for an office 365 mailbox using the powershell cmdlet Add-MailboxPermission .

Note: Before proceed, Connect Exchange Online Remote PowerShell.

Run the following command to grant full access permission to Morgan on the user Kevin’s mailbox.

Add-MailboxPermission -Identity "[email protected]" -User "[email protected]" -AccessRights FullAccess

Identity – The name of the user on which the full access permission should be added.
User – The mailbox that should be granted the full access permission.

Grant Full Access to all Mailboxes in Office 365

Use the below powershell script to configure full access permission for all the mailbox users in your Office 365.

Get-Mailbox -ResultSize Unlimited | Add-MailboxPermission -User "[email protected]" -AccessRights FullAccess

List mailbox permissions

If you want to list permissions of a mailbox, use the below command.

Get-MailboxPermission -Identity '[email protected]' | Select User, AccessRights, Deny
Advertisement

Leave a Comment