Forum Discussion

Carlos Gomez's avatar
Carlos Gomez
Brass Contributor
Aug 12, 2017
Solved

Migrated user mailbox was disabled on-premises

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.

  • You 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...

     

6 Replies

  • You 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...

     

    • CraigTodd23's avatar
      CraigTodd23
      Copper Contributor

      Massive thanks for this Andy, saved me a lot of heartache and investigation over internet.

    • Carlos Gomez's avatar
      Carlos Gomez
      Brass Contributor
      Thanks Andy,

      Looks that we are good now after follow your suggestion.

      regards.
    • Carlos Gomez's avatar
      Carlos Gomez
      Brass Contributor

      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.

Resources