Forum Discussion
SMTP-addresses not in sync with AD
- Feb 28, 2018
You should be able to use the -WindowsEmailAddress parameter for this. The new address you specify should be set as the Primary SMTP, while the old primary one will be kept as secondary. The cmdlet will also work against synced users.
If that's not a viable solution for your scenario, you can force-delete the mailbox in O365 and provision the object anew. Use the method outlined here for fastest resolution: https://blogs.technet.microsoft.com/exchange/2018/01/17/permanently-clear-previous-mailbox-info/
How about the Set-MsolUserPrincipalName command?
- Jonathan Klein-WieleMar 06, 2018Copper Contributor
Thanks for your feedback, I tried all your hints but none worked... But we will move in the next weeks to hybrid and I hope problems are gone then.
- Pablo R. OrtizMar 06, 2018Steel Contributor
if you don't comnpletely remove the EXO created mailboxes, Hybrid/Migration won't work for those