PHPKB Knowledge Base Software Logo  
Guru Corner
Online Knowledgebase System  
Knowledge Base Home Knowledge Base Home
Home > All Categories > Microsoft > Exchange > Office 365 > How to remove automapping for a shared mailbox in Office 365
Question Title How to remove automapping for a shared mailbox in Office 365

Summary

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.

More information

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:
  1. Connect to Exchange Online by using Windows PowerShell. For more information about how to do this, visit the following Microsoft website:
  2. 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 
    								-User
    									 -AccessRights FullAccess
    Note In this command, represents the mailbox to which the user is granted permissions, and 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 are 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

  3. Grant full access permissions back to the user for the mailbox, but do not enable automapping. To do this, at the command prompt, type the following command, and then press Enter:
    Add-MailboxPermission -Identity 
    								-User 
    									-AccessRights FullAccess -AutoMapping:$false
    Note In this command, represents the mailbox to which the user is granted permission and 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.

    Identity User Access Rights IsInherited Deny
    John Smith \ Full access False False
Authored by: Guru Corner
Click Here to View all the questions in Office 365 category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
Article Information Additional Information
Article Number: 270
Created: 2013-01-13 1:05 AM
Rating: No Rating
 
Article Options Article Options
Print Question Print this Question
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
 
Search Knowledge Base Search Knowledge Base
 
 

Powered by Guru Corner