Saturday, 12 September 2015

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 "" -User "" -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 '' | 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


No comments:

Post a Comment