This article discusses how to remove automapping for shared mailboxes in Microsoft Outlook for Microsoft Office 365.
In Microsoft Outlook 2010 and in Microsoft Office Outlook 2007, Autodiscover automatically maps to any mailbox for which a user has full access permissions. Autodiscover automatically loads all mailboxes for which the user has full access permissions in the following scenarios:
- An administrator grants full access permissions for a user to access another user's mailbox.
- The user has full access permissions to a shared mailbox.
If the user has many mailboxes to which he or she has full access, this behavior may cause performance issues when Outlook starts. For example, in some organizations, administrators have full access to all users' mailboxes in their organization. If this is the case, Outlook tries to open all mailboxes in the organization.
To disable automapping, use Windows PowerShell to remove full access permissions from the user for the mailbox, and then add back full access permissions to the user. When you add back full access permissions to the user, use the
AutoMapping:$false parameter.
To do this, follow these steps:
- Connect to Exchange Online by using remote PowerShell. For more info about how to do this, go to the following Microsoft website:
- Remove full access permissions for the user from the mailbox. This removes automapping. To do this, at the command prompt, type the following command, and then press Enter:
Remove-MailboxPermission -Identity <Mailbox ID1> -User <Mailbox ID2> -AccessRights FullAccess
Note In this command, <Mailbox ID1> represents the mailbox to which the user is granted permissions, and <Mailbox ID 2> is the mailbox of the user from whom you want to remove full access permissions.
For example, to remove full access permissions for an administrator from John Smith's mailbox, use the following command:
Remove-MailboxPermission -Identity johnsmith@contoso.onmicrosoft.com -User admin@contoso.onmicrosoft.com -AccessRights FullAccess
After you run this command, you're prompted to confirm the action:
Confirm
Are you sure you want to perform this action?
Removing mailbox permission "johnsmith@contoso.onmicrosoft.com" for user "admin@contoso.onmicrosoft.com" with access rights 'FullAccess'".
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): y
- Grant full access permissions back to the user for the mailbox, but don't enable automapping. To do this, at the command prompt, type the following command, and then press Enter:
Add-MailboxPermission -Identity <Mailbox ID1> -User <Mailbox ID2>-AccessRights FullAccess -AutoMapping:$false
Note In this command, <Mailbox ID 1> represents the mailbox to which the user is granted permission and <Mailbox ID 2> is the mailbox of the user to whom you want to add full access permissions.
For example, to add full access permissions for an administrator to John Smith's mailbox, type the following command, and then press Enter:
Add-MailboxPermission -Identity johnsmith@contoso.onmicrosoft.com -User admin@contoso.onmicrosoft.com -AccessRights FullAccess -AutoMapping:$false
After you run this command, the following output is displayed.
Collapse this tableExpand this table
| Identity | User | Access Rights | IsInherited | Deny |
| John Smith | <Domain>\<UserName> | Full access | False | False |
For more info, see the following Microsoft TechNet article:
Still need help? Go to the
Office 365 Community
(http://community.office365.com/)
website.
Article ID: 2646504 - Last Review: May 16, 2013 - Revision: 11.0
Applies to
- Microsoft Office 365 for enterprises (pre-upgrade)
- Microsoft Office 365 for education (pre-upgrade)
- Microsoft Office 365 for small businesses (pre-upgrade)
- Microsoft Exchange Online
| o365 o365a o365e o365p o365m o365062011 pre-upgrade o365022013 after upgrade KB2646504 |