Remove Automatically Mapped Shared Mailboxes from Outlook
Question details
Remove shared mailboxes that appear automatically in Outlook desktop while retaining access to them.

- Product
- Microsoft Outlook for Microsoft 365 and Exchange Online
- Device & OS
- not provided
- Scenario
- After a migration to Microsoft 365, a user wants occasional access to shared mailboxes through Outlook on the web instead of having them in the desktop folder pane.
- Observed behavior
- Shared mailboxes with Full Access permissions are automatically added to the Outlook desktop folder pane.
Ask an Exchange administrator to confirm the shared mailbox address, the affected user's address, and whether Full Access is assigned directly or through a group. The steps below apply to a direct Full Access assignment in Exchange Online.
Disable automapping for the user's Full Access assignment
An Exchange administrator can remove and re-add the direct permission with automapping disabled, so the user retains Full Access without the mailbox being added automatically.
This procedure briefly removes Full Access before restoring it. Repeat it for each shared mailbox that should no longer be automatically mapped.
Do not use these commands blindly for inherited, group-based, or denied permissions. An Exchange administrator should review those assignments separately.
Open PowerShell with the ExchangeOnlineManagement module installed. Run `Connect-ExchangeOnline` and sign in with an account authorized to manage mailbox permissions. If the module is missing, install it with `Install-Module ExchangeOnlineManagement` first.
Run `Get-MailboxPermission -Identity "shared@contoso.com" -User "user@contoso.com"` and confirm that the user has a direct, non-denied FullAccess assignment. Replace both example addresses with the actual addresses.
Run `Remove-MailboxPermission -Identity "shared@contoso.com" -User "user@contoso.com" -AccessRights FullAccess -InheritanceType All -Confirm:$false` using the actual mailbox and user addresses.
Immediately run `Add-MailboxPermission -Identity "shared@contoso.com" -User "user@contoso.com" -AccessRights FullAccess -InheritanceType All -AutoMapping $false` with the same addresses. If the command fails, resolve the error and restore the permission before proceeding.
Wait for the permission change to propagate, then close and reopen Outlook. If the mailbox remains, have the user or administrator create a new Outlook profile or review the existing profile settings.
Open the shared mailbox in Outlook on the web
Use this option for occasional access after automapping has been disabled.
Use WPS Office for documents alongside Outlook
WPS Office is a free, lightweight Office alternative with a familiar interface for working with documents, spreadsheets, and presentations. Its Microsoft Office format compatibility helps you move existing files into WPS while continuing to use Outlook for email.

Frequently Asked Questions
Will disabling automapping remove my access to the shared mailbox?
No, provided the administrator successfully re-adds Full Access with `-AutoMapping $false`. The user can then open the mailbox through Outlook on the web.
Why is the shared mailbox still showing in Outlook?
The permission change may need time to propagate. Close and reopen Outlook; if it remains, review the Outlook profile or create a new one. Also check whether the mailbox was added manually.
Can I open the mailbox without adding it to Outlook desktop?
Yes. In Outlook on the web, select your profile menu, choose Open another mailbox, and enter the shared mailbox address. Your account must have the required access.
What if my Full Access permission comes from a group?
The remove-and-re-add commands above are intended for a direct user assignment. Ask an Exchange administrator to review the group-based permission before making changes.




