How to delete user mailbox in Exchange online?

Jonathan Priyaraj 120 Reputation points
2024-05-13T08:45:00.8233333+00:00

Hi. How can I delete a user's mailbox in Exchange online without deleting the user from the admin center ? Is there any way we can do that ? I know remove licensing and add it again restores the mailbox again.

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,243 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,389 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,913 questions
0 comments No comments
{count} votes

Accepted answer
  1. Mike Hu-MSFT 705 Reputation points Microsoft Vendor
    2024-05-14T08:58:40.4466667+00:00

    Hi @Jonathan Priyaraj,

    Welcome to the Microsoft forum.

    Based on your description, my understanding is that you want to delete a user's mailbox but retain its Azure AD account . Please point out any misunderstandings.

    In order to achieve this,you can disable the mailbox by  running  the command like

    Disable-Mailbox -Identity "John Woods" in Exchange Online PowerShell.

    The Disable-Mailbox cmdlet removes the mailbox's Exchange attributes from Azure AD. The mailbox isn't deleted and can be reconnected to its user at a later date by using the Connect-Mailbox cmdlet. For more information please refer to: Disable-Mailbox (ExchangePowerShell) | Microsoft Learn Also,when you disable a mailbox, the Exchange attributes are removed from the corresponding Azure AD user account, but the user account is retained. Disabled and deleted mailboxes are retained in the mailbox database until the deleted mailbox retention period expires, which is 30 days by default. After the retention period expires, the mailbox is permanently deleted (also called purged).You can refer to : Disconnected mailboxes | Microsoft Learn

    Hope this helps!


0 additional answers

Sort by: Most helpful