How to change primary email address for hybrid Azure/Local AD

Mike CoL 15 Reputation points
2023-01-24T16:20:45.9966667+00:00

We have a local AD environment and it syncs only one way up to our Azure AD environment. I created a user account locally and used an extention attribute value "O365" which causes the record to be created in our Azure AD environment. This is the normal process and has worked fine for 1000+ user acounts. The problem I am experiencing is this new user account I created shows the username@colgov.onmicrosoft.com address as the Primary email address in their Azure AD record. It should be username@lynchburgva.gov, which is our local/network domain, the colgov.onmicrosoft.com should be an alias and this address has always been created automatically when the record is created and synced for the 1st time to Azure.

I cannot change this in the Azure record because it is synced to our local AD, there is a small print note at the top of the user record window displaying this:
"This user is synchronized with your local ‎Active Directory‎. Some details can be edited only through your local ‎Active Directory‎." But the local AD record shows only one email address, username@lynchburgva.gov, which is the proper value and format.

Do you know why this is occurring for only this user and how I can reconfigure the account so the primary email address is the one with our domain name?

I apprecate your help.

primary email address Azure vs local AD

Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,097 questions
Microsoft Entra
{count} votes

11 answers

Sort by: Most helpful
  1. Abuubakry Ali 0 Reputation points
    2024-05-16T13:47:34.47+00:00

    You can make this change in the Exchange admin center. Go to https://admin.exchange.microsoft.com, search for the user mailbox, then open it. Navigate to General > Manage email address types and add the email address type.

    0 comments No comments

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.