Change username in azure while using aad sync

Nikola Pavlovic 0 Reputation points
2023-03-15T11:04:10.86+00:00

Im testing Azure AD sync and have successfully managed to install it and connect it. When i add a new user on my on prem AD after a few minutes it appears on AAD but it has wrong username. For example: all my users have a AAD username in format ******@teams.company.com but when i add a user on my on prem ad it appears on AAD with ******@company.onmicrosoft.com username. How do i change this so that it appears as my old users?

Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JimmySalian-2011 42,486 Reputation points
    2023-03-15T11:10:10.16+00:00

    Hi Nikola,

    Do you have verified custom domain name in Azure AD? If yes you can use the configuration of UPN in the AAD Connect and check the settings over here - https://learn.microsoft.com/en-us/azure/active-directory/hybrid/plan-connect-userprincipalname

    Hope this helps.

    JS

    ==

    Please Accept the answer if the information helped you. This will help us and others in the community as well.


  2. Nikola Pavlovic 0 Reputation points
    2023-03-16T08:58:56.4333333+00:00

    due to compliance issues with some internal procedures im forced to stop testing. Admins can close this post

    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.