One mail user is consistently showing only in Contacts in O365 portal

SY_MSO 161 Reputation points
2021-10-11T19:45:59.613+00:00

We have run below commands to assign a mailbox to user.

Enable-RemoteMailbox –Identity UPN/SamAccountName –PrimarySMTPAddress Email address is removed for privacy –RemoteRoutingAddress Email address is removed for privacy

Set-RemoteMailbox –Identity Email address is removed for privacy –EmailAddresses @{add=Email address is removed for privacy }

But after assigning mailbox ,user is showing up in Contacts lists instead of mailbox Recipient list .

Unable to delete the contact .It gives me error "user is not in valid server write scope" if i try to delete contact of that user

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,326 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andy David - MVP 140.8K Reputation points MVP
    2021-10-11T19:48:51.493+00:00

    its probably not syncing correctly.

    From on-prem EAC, check to see if the Remote Routing Address is set correctly.
    If not, add it there and then set it as the remote routing address in EAC.

    should be something like: user@Company portal .mail.onmicrosoft.com

    0 comments No comments

  2. Lucas Liu-MSFT 6,161 Reputation points
    2021-10-12T02:35:19.413+00:00

    Hi @SY_MSO ,
    Check the mailbox in the EAC of on-premises Exchange. Is the displayed mailbox type Office 365?

    1.Agree with what Andy said. First, please check whether the RemoteRoutingAddress you have set is correct, usually the format is "user@tenant .mail.onmicrosoft.com".

    2.Please open Active Directory Users and Computers in DC, and check "Advanced Features" in "View". Then find the AD account associated with the remote mailbox. Check the value of "MSExchMailboxGuid" in the attribute, which is empty by default. If it is not empty, please try to clear the "MSExchMailboxGuid" and "targetAddress" attributes, and run the following command line to force AAD connect to synchronize, and then check whether the remote mailbox appears under "Mailboxes".

    Start-ADSyncSyncCycle  
    

    If the response is helpful, please click "Accept Answer" and upvote it.
    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.