This article will explore how to remove user access to mailboxes, utilizing PowerShell and CoreView.
1. Using PowerShell
To remove permissions from a user's mailbox, or from an Exchange Server 2016, Exchange Server 2019, or Exchange Online mail user, use the “Remove-MailboxPermission” cmdlet.
This cmdlet allows you to revoke permissions from a user's mailbox. For instance, you can remove another user's full access to a mailbox.
Before you can execute this cmdlet, you must have the appropriate permissions assigned to you.
To find out what permissions are required to run any cmdlet or parameter in your organization, please refer to Find the permissions required to run any Exchange cmdlet.
Syntax
Remove-MailboxPermission
Example:
Remove-MailboxPermission -Identity "CoreView Demo" -User "Test User" -AccessRights FullAccess -InheritanceType All
This example shows how to remove Test User's full access permission to CoreView Demo mailbox.
To learn more about the “Remove-MailboxPermission” cmdlet, please consult the following Microsoft documentation.
2. Using CoreView
With CoreView, you can revoke mailbox permission rights, including “Send as” permissions, that a selected user has on other mailboxes.
- Go to the CoreView portal.
- Under “ACTIONS” click on “Management actions” and choose “Mailbox”. From the various mailbox action items, choose “Remove user access to mailbox”.
- You will see the “Remove user access to mailboxes” screen.
- Choose the delegate from whom you want to remove mailbox access.
- On the following screen, select the mailboxes from which you want to remove user access. Press “Submit”.
There is another action available in CoreView to remove user access to mailboxes. For more details, please refer to the following link: How to remove delegates from mailbox.