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 followed your steps but Unfortunately ,not working .!!!!!!!!
Adam Ochs
Aug 14, 2018Iron Contributor
If 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
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