Share via

stuck orphaned soft-deleted MailUser

nettech 176 Reputation points
2026-02-24T17:00:46.7866667+00:00

Hello,

We have a soft-deleted MailUser in Exchange Online that cannot be permanently removed. The object was originally synced from an on-prem Exchange Server 2019 environment and was on Litigation Hold.

Observations / Evidence

  1. The object is listed as a soft-deleted MailUser:
Get-MailUser -SoftDeletedMailUser | FL Name,InPlaceHolds,LitigationHoldEnabled

LitigationHoldEnabled: False

InPlaceHolds: Contains legacy -mbx<GUID> values from on-premises Litigation Hold

There are no cloud retention policies in the tenant:

Get-RetentionCompliancePolicy | Select Name,ExchangeLocation,Guid

Command returns blank

Attempts to remove the object fail:

Remove-MailUser -Identity <SoftDeletedMailUser> -Permanent

Error: “Unable to permanently delete mail enabled user. The mail enabled user has litigation hold or In-Place hold applied on it.”

Attempts to restore the object as a mailbox in Exchange Online also fail:

Enable-Mailbox -Identity <SoftDeletedMailUser>

Error: Object not found


Analysis

The InPlaceHolds are legacy metadata from the on-prem Litigation Hold

Exchange Online does not allow deletion of soft-deleted mail-enabled users with these orphaned holds

There are no cloud retention policies, so normal bypass methods don’t apply

The object cannot be restored as a mailbox because it never existed in Exchange Online as a full mailbox


Request / Question

Has anyone encountered a similar scenario with orphaned soft-deleted MailUsers with legacy on-prem holds?

What is the supported method to permanently remove these objects from Exchange Online?

Is contacting Microsoft Support for backend deletion the only solution?

Thank you for any guidance or suggestions.

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 125.2K Reputation points MVP Volunteer Moderator
    2026-02-24T17:20:29.0033333+00:00

    Simply remove it from Entra side, either via the admin portal or via Remove-MgUser.

    Of course, make sure any resources associated with said account are properly backed up/accounted for first.


  2. Q&A Assist
    2026-02-24T17:01:01.64+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    In your scenario with the orphaned soft-deleted MailUser that has legacy on-premises Litigation Hold metadata, it appears that Exchange Online does not allow the deletion of such users due to the existing holds, even if they are not actively enabled. Since the object cannot be restored as a mailbox and normal deletion methods are failing, the situation is indeed complex.

    The recommended approach in this case would be to contact Microsoft Support for assistance. They have the capability to perform backend operations that may not be available through standard administrative commands, especially when dealing with legacy metadata and holds from on-premises environments.

    It's important to provide Microsoft Support with all relevant details, including the errors you are encountering and the current state of the MailUser, to expedite the resolution process.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.