Did you run Exchange Server in the past, but you have since uninstalled all Exchange…
We see a mailbox with a different mailbox type in Exchange on-premises and Exchange Online. However, the mailbox type should be the same between both organizations in an Exchange hybrid deployment. Why is that happening, and how to correct this mailbox inconsistency?
Table of contents
Exchange mailbox type
Let’s look at the info mailbox (email@example.com) in both Exchange on-premises and Exchange Online.
The mailbox shows up in Exchange on-premises as a user mailbox.
The mailbox shows up in Exchange Online – Office 365 as a shared mailbox.
Why is there an inconsistency between the mailbox in both organizations? Shouldn’t they be the same? Let’s find out more.
Why this happens
The Exchange on-premises server is the authority server. The mailboxes are created from the on-premises organization. That’s why you need to keep at least one Exchange Server on-premises in a hybrid deployment.
In an Exchange hybrid deployment, you create or edit a mailbox on the Exchange Server on-premises with the options:
- New-RemoteMailbox (Exchange Management Shell)
- Enable-RemoteMailbox (Exchange Management Shell)
- Set-RemoteMailbox (Exchange Management Shell)
- Create Office 365 mailbox (Exchange Admin Center)
If, for example, the info mailbox needs to change from user mailbox to shared mailbox in Exchange hybrid, you need to convert the mailbox from Exchange Management Shell on-premises. It’s not possible to do that from Exchange admin center on-premises. You set the remote mailbox type to shared. Do you want to set it from shared to a user mailbox? That’s possible. The only difference is that you choose the regular value.
In this case, they didn’t do it as the above steps. What did happen is that they converted the mailbox from user to shared in Exchange Online. That’s not correct as it will not write the changes back to Exchange on-premises.
So how do you fix it and make the info mailbox in both Exchange organizations the same mailbox type? Let’s look at that in the next step.
Solution for mailbox type difference in Exchange hybrid
Start Exchange Management Shell as administrator, which is on the on-premises Exchange server or on a Management server where you have the Exchange management tools installed.
Run the Get-RemoteMailbox cmdlet and verify the RecipientTypeDetails for the mailbox. The info mailbox shows as a RemoteuserMailbox.
[PS] C:\>Get-RemoteMailbox "firstname.lastname@example.org" Name RecipientTypeDetails RemoteRecipientType ---- -------------------- ------------------- Info RemoteUserMailbox ProvisionMailbox
Run the Set-RemoteMailbox cmdlet. Add the Type parameter with the value Shared. It will convert the remote mailbox to a shared mailbox.
[PS] C:\>Set-RemoteMailbox "email@example.com" -Type Shared
Verify that everything is set and looks good with Get-RemoteMailbox cmdlet.
[PS] C:\>Get-RemoteMailbox "firstname.lastname@example.org" Name RecipientTypeDetails RemoteRecipientType ---- -------------------- ------------------- Info RemoteSharedMailbox ProvisionMailbox, SharedMailbox
Go back to Exchange admin center on-premises. The mailbox shows as shared. Just like in Exchange Online – Office 365.
Do you want to set the mailbox to a different type? The Type parameter specifies the type for the mailbox. Choose one of the valid values:
In this article, you learned why there is a mailbox type difference in Exchange hybrid. The solution to the mailbox inconsistency in both Exchange organizations is to set the remote mailbox type from Exchange on-premises.
Did you enjoy this article? You may also like Create Office 365 shared mailbox in Exchange hybrid. Don’t forget to follow us and share this article.