Skip to content

Mailbox still visible in Outlook after removing permission

You did remove full access permission from a user or shared mailbox, which is automapped. The problem is that the mailbox is still visible in Outlook after removing the permission. You tried a lot of things, but the additional mailbox is still showing in Outlook. This article will teach you how to fix mailbox not disappearing in Outlook after removing permission.

Mailbox still visible in Outlook

The user Christopher has access to the Info shared mailbox. At the moment, there is no permission on the mailbox, but it’s still showing in Outlook. The shared mailbox is not disappearing when the mailbox permission is removed. Clicking on the mailbox will not show any data.

Mailbox still visible in Outlook after removing permissions before

Before we start

To follow the below steps, we need to connect to PowerShell. Good to know is that it will work for Office 365 and Exchange on-premises. Unfortunately, you can’t follow the steps in Exchange Admin Center.

Remove full access mailbox permission

Remove full access mailbox permission to the mailbox if you have access. Make use of the Remove-MailboxPermission cmdlet. If you already removed full access permission, go to the next step.

[PS] C:\>Remove-MailboxPermission -Identity "info@exoip.com" -User "christopher.payne@exoip.com" -AccessRights FullAccess

Confirm
Are you sure you want to perform this action?
Removing mailbox permission "info@exoip.com" for user "christopher.payne@exoip.com" with access rights "'FullAccess'".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): Y

Read more: Get mailbox permissions with PowerShell »

Add full access mailbox permission automapping false

The -AutoMapping parameter specifies whether to enable or disable the auto-mapping feature in Microsoft Outlook. It uses Autodiscover to open other mailboxes for the user. Valid values are:

  • $true: Outlook automatically opens the mailbox where the user is assigned Full Access permission. This is the default value.
  • $false: Outlook doesn’t automatically open the mailbox where the user is assigned Full Access permission.

Make use of Add-MailboxPermission cmdlet to add full access mailbox permission. Only this time append the -AutoMapping parameter, including the false value. It will prevent Outlook from opening the Info mailbox when Christopher opens Outlook.

[PS] C:\>Add-MailboxPermission -Identity "info@exoip.com" -User "christopher.payne@exoip.com" -AccessRights FullAccess -AutoMapping $false

Identity             User                 AccessRights  IsInherited Deny
--------             ----                 ------------  ----------- ----
exoip.local/Compa... EXOIP\Christopher... {FullAccess}  False       False

Remove full access mailbox permission

Again, remove full access mailbox permission.

[PS] C:\>Remove-MailboxPermission -Identity "info@exoip.com" -User "christopher.payne@exoip.com" -AccessRights FullAccess

Confirm
Are you sure you want to perform this action?
Removing mailbox permission "info@exoip.com" for user "christopher.payne@exoip.com" with access rights "'FullAccess'".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): Y

Verify mailbox not visible in Outlook

After the above change, please give it a maximum of one hour. You will see that the mailbox is not appearing anymore.

Mailbox still visible in Outlook after removing permissions after

The additional mailbox is not showing in Outlook. Did this help you?

Keep reading: List all mailboxes user has access to with PowerShell »

Conclusion

You learned how to fix mailbox still visible in Outlook after removing permission. It can happen both in Exchange on-premises or Office 365. Follow the steps as shown. Make use of the -AutoMapping parameter, including the false value.

Did you enjoy this article? You may also like Export mailbox permissions to CSV file. Don’t forget to follow us and share this article.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Read more »

This Post Has 13 Comments

  1. How to remove disabled shared mailboxes from Outlook profile which was added with automapping earlier. Now shared mailbox is no longer available. Is there any possible to remove departed users shared mailboxes from another user Outlook profile?

  2. I have this issue with one user. But it is Office 365 exchange hosted by Microsoft with no on premises Server.
    Is there any way to fix it using Exchange Admin Center?

  3. Hi,
    Even if this works i want to know why it’s happening? I am using full access permission tab to make it appear in users Outlook. Removing the person should remove the resource/shared mailbox no?

    Anyone know?

    /Jonas

Leave a Reply

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