Forum Discussion

oldhamuk's avatar
oldhamuk
Copper Contributor
Jun 26, 2020

Reconnecting Exchange Online Mailbox

Hi,   So I currently have a hybrid Exchange setup. As a test I deleted an on-prem user which in turn deleted the mailbox in exchange online.   I then created a new account in Azure/O365 and tried...
  • PeterRising's avatar
    Jun 26, 2020

    oldhamuk 

     

    Easiest way to go completely cloud only is to disable directory sync tenant wide using PowerShell as per the following link;

     

    https://docs.microsoft.com/en-us/office365/enterprise/turn-off-directory-synchronization

     

    This is only suitable if you are completely prepared for cloud only identity for all of your O365 objects however.

     

    If you needed to do this on a per user basis, then the simplest way is to do what you did and delete the on-prem account, then wait for the sync.  The O365 account will move from Active Users to Deleted Users.  You may then choose the option to restore the user which will recreate it as a cloud only object.

     

    If you have Exchange Hybrid, be careful of your mail flow though.  Make sure you take this into consideration too.

Resources