Automapping issue

Glenn Maxwell 12,876 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 "******@contoso.com" -ClearAutoMapping

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,175 questions
Exchange | Exchange Server | Management
Exchange | Hybrid management
0 comments No comments
{count} votes

Accepted answer
  1. Jame Xu-MSFT 4,191 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.