Forum Discussion

gu_sta_vo_6's avatar
gu_sta_vo_6
Copper Contributor
Aug 11, 2022
Solved

Mailbox in M365 EXO delete

Hello,   how is it possible to remove (deactivate) the mailbox and not remove the entire user account in m365 as other services such as teams, sharepoint, onedrive already contain data.   it shou...
  • oliwer_sundgren's avatar
    Aug 11, 2022
    Hi there!
    If you have a hybrid you could use Exchange management shell to deactivate the remote mailbox of the user and then remove the Exchange Online service in the license.

    Otherwise, removing the Exchange Online service from the license should be enough. Note that per default the retention of Exchangbe Online mailboxes is 30 days, so before 30 days has passed you could still see the mailbox in the admin portal.

    Let me know if this helps you or if you need further guidance!

    Kind Regards
    Oliwer

Resources