Forum Discussion
Walid Fawzy
Aug 14, 2018Brass Contributor
Change alias name to new user
An user has mailbox on office 365 with exchange online license , I Changed user name and all data of that user to other user , but after sync with on-premise server all data changed except alias name...
- Aug 16, 2018
Do you actually need that alias? If so, then delete this smtp value and create new one using your real domain. Not onmicrosoft.com
Walid Fawzy
Aug 14, 2018Brass Contributor
I applied that step but not changed .
if you can , any other method ....
if you can , any other method ....
Adam Ochs
Aug 14, 2018Iron Contributor
Check the Alias, Mail, proxyaddresses... You will need to make sure "Advanced Features" is checked.
Make sure under proxyaddresses you have an SMTP infront of the one you want.
If it still doesnt work, I would move that user account out of scope, run a dir sync, move it back in scope and run another one.
It will temporarily delete the mailbox, but restore everything as soon as the second dir sync is run.
Adam
- Walid FawzyAug 14, 2018Brass ContributorI followed your steps but Unfortunately ,not working .!!!!!!!!
- Adam OchsAug 14, 2018Iron ContributorIf that is the case, I would think there is clearly some value that is dictating that to your account (although I am unsure which one it is).
If I were in your shoes, i would do an export of the get-msolUser and get-mailbox attributes.
Get-Mailbox "User@domain.com" | fl
Get-MsolUser -Userprincipalname "User@domain.com" | fl
Then go through the output and look for values that match the alias you are seeing (or the email address).
From there, knowing the attributes that still have the alias should give you more information on how to solve this through edits in AD.
Sorry it is not a direct solution, but that is the steps I would take to troubleshoot the issue.
Adam- Walid FawzyAug 15, 2018Brass ContributorHi Adam , kindly be informed that when run those commands occurred the following error
Get-Mailbox : The term 'Get-Mailbox' is not recognized as the name of a cmdlet, function, script file, or operable