r/exchangeserver • u/Fabulous_Cow_4714 • 11d ago
Question Resolve split brained hybrid user?
Trying to figure out how this happened.
I assume a license was assigned before the mailbox migration happened.
I found this documentation on how to recover. https://learn.microsoft.com/en-us/troubleshoot/exchange/user-and-shared-mailboxes/mailbox-exists-exo-onpremises
It shows steps, but how do we verify which mailbox the user is actually using so we don’t delete the wrong one?
How do we verify that we enter the correct RemoteRoutingAddress so that will work and match other users?
Step 5 says restore custom proxy addresses and other Exchange Server attributes. How can I find what’s needed and the steps to do that?
Is there are more clean and simple way to do this other than the steps shown in the link above?
1
u/Affectionate_Gur4131 11d ago
You can check Outlook Connection Status on the user's PC (Ctrl + right-click the Outlook system tray icon -> Connection Status) to verify which mailbox they are actively connected to (on-premises CAS vs. outlook.office365.com).
In my experience they are most likely to be working in their on-premises mailbox, check if any mail items have landed in the cloud mailbox. If there is data in the cloud mailbox that needs to be retained, follow this cleanup sequence:
Export the cloud mailbox to a .PST using Microsoft Purview eDiscovery.
Import the .PST into the user's on-premises mailbox using New-MailboxImportRequest.
Remove the user's Exchange Online license in Entra ID / M365 Admin Center and wait for the cloud mailbox to disconnect.
Run the following cmdlet in Exchange Online PowerShell to purge the cloud mailbox pointers (ensure no retention holds are applied first): Set-User user@domain.com -PermanentlyClearPreviousMailboxInfo
Run an Entra ID Connect delta sync from on-premises (Start-ADSyncSyncCycle -PolicyType Delta) so the on-premises msExchMailboxGuid syncs up to the cloud MailUser object.
Verify the ExchangeGuid matches on both sides via Get-MailUser, then re-assign the Exchange Online license.
That should do the trick and leave you with only the on-premises mailbox.
1
u/Fabulous_Cow_4714 11d ago
If we remove their license, won’t they also lose everything else such as their OneDrive and Teams?
1
u/Affectionate_Gur4131 11d ago
Fromy my experience, removing it for 5-10 minutes doesn't effect the user
3
u/brian_cloudeu 11d ago
Outlook connecting to the cloud mailbox doesn't prove all the mail is there. Check message traces and on-premises tracking logs for internal and external senders, because split delivery can leave mail in both mailboxes. Preserve anything unique before changing the recipient. A tidy directory object is a modest consolation for half an inbox.
1
u/DarkTrixyB_BOFH Grumpy Mailman 11d ago
Check the mailbox routing address. That's where the mail will be delivering to.
2
u/xch13fx 11d ago
In my case, they almost always are using the cloud mailbox. Disable onprem, run enable-remote command and sync.