How to check who has access to other mailboxes in Exchange Online?
+
To access other mailboxes, a Microsoft 365 user should have the necessary mailbox permissions assigned. Since these permissions can grant other users access to sensitive mailbox information, admins should review these permissions regularly to prevent data leakages.
Run the below PowerShell cmdlet to see various permissions assigned to a mailbox.
Get-MailboxPermission âIdentity <Userâs ID>
If you notice any unwanted permissions, remove them immediately by running the below PowerShell cmdlet.
Remove-MailboxPermission -Identity <Mailbox Ownerâs Display Name> -User <Delegateâs Display Name> -AccessRights<Permission> -InheritanceType All
Be proactive in getting the various permissions assigned to a mailbox using AdminDroid to ensure that the delegated users are legitimate ones for those mailboxes.
You can get the entire details of the mailbox, user with access, access status, etc.