Exchange Online and Automapping

You have seen that exchange 2010 has introduced the feature called auto-mapping where mailboxes

get auto mapped to outlook when full mailbox permissions are granted.

We have seen issues with this feature & that’s why in the past I have written the post on

how to disable the auto-mapping for all mailboxes in the environment.

Things have come a long way since than but some administrators are still not comfortable with this feature.

This feature is also part of Exchange online but needs to be disabled differently than what we have done on On-premise.

Exchange On-premise Uses Autodiscover & also “msExchDelegateListLink” attribute for Automapping , In the above blog post ,

We have fetched all mailboxes in the environment & set the “msExchDelegateListLink” attribute to null  where applicable via Powershell script.

This can also be accomplished by using below powershell command as well by removing the permissions first & than adding the permissions

by setting -automapping parameter as false.


Add-MailboxPermission -Identity Mailboxname  -User Username -AccessRight FullAccess  -Automapping $false


In Exchange online environment where you are maintaining Hybrid , attribute msExchDelegateListLink doesn’t gets updated.

So how you can mass disable this without removing/re-adding permissions ??????????????????

This is possible as Microsoft has provided a good powershell way to accomplish it 🙂


Remove-MailboxPermission mailboxname -ClearAutoMapping


You can fetch all mailboxes & schedule this command to remove it from all users.(you can just

filter it on shared mailboxes as generally those are ones used for mapping)

I will also check if there is other way to do it where we can detect which all mailboxes are using this feature & just act on those ones,

till than stay tuned 🙂

Thanks for Reading

Sukhija Vikas


4 thoughts on “Exchange Online and Automapping

  1. Hi Sukhija, thank you for your blog. Have you already found a way to detect which shared mailboxes are using the automapping feature?

  2. Do you how I can query for this automapping property in Exchange Online?
    I can set it, remove it but not get current status?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s