Automapping issue

Glenn Maxwell 10,146 Reputation points
2023-03-30T20:25:53.1433333+00:00

Hi All

I am using exchange 2016 hybrid environment. we create users in onprem and migrate to online. We create remote room mailboxes from onprem. One of my user is having access to Room mailboxes, i have removed the access to the room mailboxes but still user is able to see room mailboxes in outlook. i have checked onprem AD Attribute msExchDelegateListLink on room mailboxes and i dont see any user in it. i have used the below syntax to clear automapping but same issue. please guide me.

Remove-MailboxPermission -Identity "user1@contoso.com" -ClearAutoMapping

Microsoft Exchange Online
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,195 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,359 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,896 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jame Xu-MSFT 4,166 Reputation points
    2023-03-31T07:07:57.04+00:00

    Hi @Glenn Maxwell ,

    To disable automapping on a mailbox, use Exchange Online PowerShell to remove the user's full access permissions from the mailbox, and then add the user's full access permissions back to the mailbox, but with automapping disabled.

    To remove the user's full access permission from the mailbox, run the following command:

    Remove-MailboxPermission -Identity <MailboxIdentity> -User <UserIdentity> -AccessRights FullAccess
    

    To grant full access permissions back to the user on the mailbox with automapping disabled, run the following command:

    Add-MailboxPermission -Identity <MailboxIdentity> -User <UserIdentity> -AccessRights FullAccess -AutoMapping $false
    

    For details: https://learn.microsoft.com/en-us/outlook/troubleshoot/profiles-and-accounts/remove-automapping-for-shared-mailbox


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful