

It is used to assign permissions to specific users to provide them access to a particular mailbox. This cmdlet is common for both user mailboxes and shared mailboxes. Add-MailboxPermission -AccessRights -User.This cmdlet gives you the list of permissions configured for a particular shared mailbox. PowerShell cmdlets to view and add shared mailbox permissions

To ensure that a shared mailbox is not accessed by an unintended user, it is important to monitor the users who can access a mailbox along with the type of permissions that users have on that shared mailbox. But for users to access a shared mailbox, they must be granted permissions such as full access, send as, or send on behalf of. Shared mailboxes, like shared folders, can be accessed by multiple users.
