Exchange Hybrid - Allow Enable-Mailbox & Disable-Mailbox for Synced Users
We maintain PowerShell scripts to manage the enabling/disable recipients in Exchange on-premises and Exchange Online. Often we have operations that require a change in recipient type from MailUser to UserMailbox or we need to delete a mailbox and provision a new mailbox for the same user.
The current tools available for administrators running an Exchange Hybrid with Azure AD Connect aren't sufficient. If we want to provision a new mailbox we have to use Remove-MsolUser or unlicense the user and wait for a sync to run.
It would be so much simpler if we could just take an existing mail disabled user in Exchange Online and run Enable-Mailbox against them and on-premises run Enable-RemoteMailbox.
Alternatively it would be amazing if we could disable a mailbox without removing a users SharePoint data.
Christian Grannes commented
We also need to have the possibility to enable-mailuser for cloud only accounts. This to ensure mailflow for certain applications. Also it is not possible to assign a license if you create a separate contact object that contains the UPN of the user as Office 365 for some strange reason tries to update the proxy addresses attribute of the user.