Remove Full Access Permission Office 365 Powershell

We can remove full access permission from an Exchange Online mailbox using the powershell cmdlet Remove-MailboxPermission.

Note: Before proceed, Connect Exchange Online Remote PowerShell.

Run the following command to remove the user Morgan‘s full access permission from Kevin’s mailbox.

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

Identity – The name of the user on which the full access permission to be removed.
User – The mailbox that has the full access permission.

List mailbox permissions

Use the below command to list permissions of a mailbox.

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

Use the below command to list permissions of all the mailboxes.

Get-Mailbox -ResultSize Unlimited | Get-MailboxPermission | Select Identity, User, AccessRights, Deny
Advertisement

Leave a Comment