Hybrid Exchange: Mailbox in cloud, but not On-Prem

 In an Exchange Hybrid Environment, you can run into an issue where an On-Prem AD account is assigned an o365 license and  creates a Cloud mailbox before its migrated. This will leave you in a situation where there is a mailbox in the cloud and no mailbox On-Prem.

Fixing this is very easy: All you need to do is run this command in your On-Prem instance

Enable-RemoteMailbox "user identity" -RemoteRoutingAddress "user@contoso.mail.onmicrosoft.com"

That's It! Told you it was easy.


Reference: How to recover when a mailbox exists in both Exchange Online and on-premises - Exchange | Microsoft Learn

Comments

Popular posts from this blog

Create Profiles for Managing Microsoft Exchange using Windows Terminal (Online and On-Prem)

Give a User 'SendAs' permssions to a Mail-Enabled AD Group in Exchange Online

Get a User's Active Directory Groups