02-27-2018 06:50 AM
02-27-2018 06:50 AM
We have an AADSync enabled tenant syncing the users to Office 365 and have ADFS running. We have NO Exchange hybrid setup. Mailboxes are on-premises Exchange.
I accidently created for some users a Mailbox and deleted it again. With this, the primary SMTP-address changed from the right mailadress, which was synced from AD, to the tenants xxx.onmicrosoft.com
I just want to change it back to the primary SMTP-address of the on-premises Mailbox which worked well until i created the mailboxes.
I tried to temporary change the primary SMTP on-premises and change it back. But the first change worked, the change back not. Some ideas? Is it possible to change the SMTP-addresses in O365 or is it possible to "force" a sync from AD?
02-27-2018 07:47 AM
02-27-2018 07:50 AM
How did you remove the online mailbox? Please refer to the following:
Then you can add SMTP:firstname.lastname@example.org in ProxyAddresses property of local AD. Note that it can take some time to appear in the online user (more tan a sync cycle)
02-27-2018 08:34 AM
02-27-2018 09:49 AM
By disabling the license you are not removing the mailbox
Please refer to the article I posted in order to permanently delete EXO mailbox
02-28-2018 05:04 AMSolution
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/
03-06-2018 09:38 AM
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.
03-06-2018 11:17 AM
if you don't comnpletely remove the EXO created mailboxes, Hybrid/Migration won't work for those
03-07-2018 09:24 AM
Ok, thanks guys, seems that the reply from Vasil worked. It needed some time but now I got the mails and could fix the issue!
Thanks also for all the other hints!