Managing mailbox permissions using Powershell and defining if the delegated mailbox should not be auto mapped.
Command List※
Import the Exchange Online Management Module and Connect to Exchange Online
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnlineRemove Mailbox Permissions (If user has existing permissions)
Remove-MailboxPermission -Identity [email protected] -User [email protected] -AccessRights FullAccessAdd Mailbox Permissions without Auto map Enabled
Add-MailboxPermission -Identity sharedmailbox@domain.com -User sampleuser@domain.com -AccessRights FullAccess -AutoMapping $falseChecking Access List of Who Has Access for a Mailbox
Get-MailboxPermission -Identity sharedmailbox@domain.comChecking Access List of What Mailboxes a User Has Access To
Get-MailboxPermission -Identity sampleuser@domain.com | Format-List