Hybrid Exchange and shared mailboxes

Steel Contributor

Hi all

 

Needed some advice please. I have an Exchange 2010 hybrid setup. On my onprem environment I had mailboxes that were essentially shared with a number of staff. In order for me to migrate those mailboxes I had to assign an office 365 license to it. Now that they are in the cloud I would like to convert them to actual shared mailboxes in office 365. So I converted them to a shared mailbox and removed the license. Problem is I now want to remove the onprem AD object but if I delete the AD account the shared mailbox in office 365 gets deleted. How can I work around this?

 

Any appreciate any advice...

5 Replies

Hi@Navishkar Sadheo 

 

Convert a user's mailbox in a hybrid environment

"If this shared mailbox is in a hybrid environment, we strongly recommend (almost require!) that you move the user mailbox back to on-premises, convert the user mailbox to a shared mailbox, and then move the shared mailbox back to the cloud.

Here's why: if you convert the mailbox in the cloud, it can get converted, but on-premises still thinks the mailbox is the user mailbox, because the new reality does not sync back to on-premises.

Usually this is not a problem, but there are some scenarios where the on-premises attributes (which think that the mailbox is the user mailbox) can overwrite the new cloud versions of those attributes, and as a result, the mailbox might convert back. This is a problem because user mailboxes require licenses or they are soft deleted after 30 days!

We've addressed most of the reasons why this happens but it still CAN happen, although infrequently. It's best to be safe and move the mailbox back to on-premises."

 

Source https://docs.microsoft.com/en-gb/office365/admin/email/convert-user-mailbox-to-shared-mailbox?redire...

 

Thank you 

Dav,

@Deleted 

 

Thanks Dav. I really don't want to migrate these mailboxes back to onprem. Surely there must be a another way. If I move them back to onprem, convert them to shared and move them to Office 365 would I then be able to delete the onprem AD accounts?

@Deleted 

 

Also what happens to all the permissions currently set on this mailbox?

@Navishkar Sadheo Hi, that is the official way to tackle this issue. There are some unsupported ways to tackle this problem, which are of course not recommended.

 

In response to if you could remove the AD-Account associated with that "new" shared mailbox, the answer is no. Not without removing the shared mailbox in itself. The account however will be disabled when converted to a shared mailbox instead.

 

As for permissions, there should not be any problems regarding this after the conversion has taken place. I´ve done it multiple times on-prem.

 

Regards,

 

Viktor

Remove AD object from on prem AD.
Object will be deleted from O365 as well.
Go to "Deleted Users" and recover the deleted user in O365, it will be a cloud only identity now.