Remove automapping for a shared mailbox in Office 365

In short, there is no simple way to remove automapping from a shared mailbox in Office 365 unfortunately. But there is a more tedious way 😉

First remove the user from the mailbox, then re-add the user without automapping enabled.

Fire up PowerShell and connect to your Office 365 tenant with:

Connect-ExchangeOnline -UserPrincipalName -ShowProgress $true

Remove the user from the shared mailbox delegation:

Remove-MailboxPermission -Identity -User -AccessRights FullAccess

Then add the user to the shared mailbox delegation again, without automapping:

Add-MailboxPermission -Identity -User -AccessRight FullAccess -InheritanceType All -Automapping $false

If you need to give the user send as permission too you can do:

Add-RecipientPermission -AccessRights SendAs -Trustee


Leave a Reply

Your email address will not be published. Required fields are marked *