Aug 11 2017 06:49 PM
Hi,
We have a hybrid environment and one collegue by mistake performed the disable action for a user mailbox on the exchange on-premises server, this user mailbox was already migrated to exchange online. We still see the mailbox in exchange online but the primary smtp address has change from user@domain.com to user@domain.onmicrosoft.com
The mailbox is no longer visible at the exchange server on premises.
Is there a way to role back the action performed?
regards.
Aug 12 2017 03:07 AM
Hi Carlos,
If you disable the mailbox you have to recover the user associate with that mailbox.
If you user source is AD you need to have Recicle Bin activated before that deletion, if you don't have the recicle bin, you have to create a new user and then reconnect the mailbox.
This article can help you https://technet.microsoft.com/en-us/library/dn186233(v=exchg.160).aspx
Aug 12 2017 05:49 AM - edited Aug 12 2017 07:48 AM
SolutionYou mean they disabled the remotemailbox on-prem, right? But the AD account is intact?
You can always re-enable it on-prem in that case.
Enable-RemoteMailbox <username> -RemoteRoutingAddress username@<tenant>.mail.onmicrosoft.com
Then set the SMTP addresses as required on the remote mailbox as required and wait or force the AADConnect sync to 365...
Aug 12 2017 07:54 AM
Hi Andy,
Correct, AD user is intact and mailbox data looks to be also intact in the cloud. I'll test your solution, our goal is to not loose data of the user mailbox and be able to see the remote-mailbox on the onpremises server.
I'll update soon.
Regards.
Aug 12 2017 08:46 AM
Sep 11 2018 02:42 AM
Thanks @Carlos Gomez I had the same issue.
Mar 12 2019 06:51 AM
Massive thanks for this Andy, saved me a lot of heartache and investigation over internet.
Aug 12 2017 05:49 AM - edited Aug 12 2017 07:48 AM
SolutionYou mean they disabled the remotemailbox on-prem, right? But the AD account is intact?
You can always re-enable it on-prem in that case.
Enable-RemoteMailbox <username> -RemoteRoutingAddress username@<tenant>.mail.onmicrosoft.com
Then set the SMTP addresses as required on the remote mailbox as required and wait or force the AADConnect sync to 365...