Can't removed shared mailbox on user's outlook account

Gee Cee 106 Reputation points
2021-11-24T21:17:41.8+00:00

Hello,

I'm trying to remove shared mailbox in user's outlook account. Initially, it was there by automapping.
I already set the automapping to false and I removed all permissions of the user to the shared mailbox.

But the shared mailbox is still in User's outlook. I tried to manually close it but it still can't be removed.

Hope you can help me.

Thank you.

Regards,
Gee

Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,928 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,381 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andy David - MVP 142.6K Reputation points MVP
    2021-11-24T21:42:16.557+00:00

    Is this in Exchange Online?

    If so try:

    https://learn.microsoft.com/en-us/powershell/module/exchange/remove-mailboxpermission?view=exchange-ps

    Remove-MailboxPermission <user>  -ResetDefault  
    

    Then re-add any other mailboxes that may have full access (check with get-mailboxpermission first)

    This parameter is available or functional only in the cloud-based service.

    The ResetDefault switch resets the default security descriptor of the mailbox. Permissions on the mailbox are reset so only the mailbox owner has FullAccess permission to the mailbox. The following types of permissions are not affected:

    Recipient permissions (for example, SendAs, SendOnBehalf and delegates).
    Mailbox folder permissions assigned using the MailboxFolderPermission cmdlets.
    Mailbox folder permissions assigned using Outlook or other MAPI clients.
    Also, because this switch removes FullAccess permission from other users on the mailbox, the mailbox is no longer auto-mapped by Autodiscover into the Outlook profiles of other users.