Share via

Disabling In-Place Archive Mailboxes - Office 365

Andrew 0 Reputation points
2026-06-02T12:09:19.84+00:00

Hi everyone,

I have a number of shared mailboxes that have In Place archives attached to them. These mailboxes have a retention policy applied to them to move any email older than 6 months from the primary mailbox to the archive mailbox, then to delete any email older than 12 months from the archive mailbox, so nothing complicated.

I have been asked to remove the In-Place archive on a number of these mailboxes.

I have removed the retention policy from the mailbox, so its basically set to no policy, I have moved emails from the archive mailbox back into the primary mailbox, but when I try and disable archiving for the mailbox in exchange admin centre, it returns an error saying "Error executing cmdlet". If I run a Powershell command to do the same it errors and tells me there is an In-Place hold on the mailbox so it cannot be deleted.

I have checked all the possible "hold" scenarios ie: LitigationHold, etc etc.. but all the results I am getting back say there are no holds in place, but I am still unable to disable the archiving.

Been going round in circles with this for hours, does anyone have any idea how I can remove an In-Place hold from a mailbox, that isn't really there, according to everything I am seeing.

Thanks in advance

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

2 answers

Sort by: Most helpful
  1. Vasil Michev 127K Reputation points MVP Volunteer Moderator
    2026-06-02T13:14:46.4266667+00:00

    You might have an org-wide policy affecting the mailbox. So apart from what the AI assistant mentioned above, also check the tenant-wide settings:

    Get-OrganizationConfig | select -ExpandProperty InPlaceHolds
    

    and share the results here.

    Was this answer helpful?


  2. AI answer

    2026-06-02T12:09:59.5033333+00:00

    Disabling the archive fails when any kind of hold is still applied to the mailbox, including In-Place Holds that may not show up in the basic LitigationHold/retention properties. The key is to identify and clear all holds before disabling the archive.

    Use these steps to troubleshoot and remove hidden holds:

    1. Check for In-Place Holds explicitly
      • Run this command to list all InPlaceHolds on the mailbox:
             Get-Mailbox -Identity <MailboxID> | Select-Object -ExpandProperty InPlaceHolds
        
      • If any GUIDs are returned, those represent In-Place Holds that must be removed (for example, from eDiscovery cases or compliance searches).
    2. Check for retention policies with Preservation Lock
      • If a Microsoft 365 or Office 365 retention policy with Preservation Lock is applied to the mailbox, the Managed Folder Assistant cannot be disabled and the ElcProcessingDisabled setting is ignored.
      • In that case, the hold cannot be removed until the locked retention policy is addressed. As long as such a policy applies, the archive cannot be disabled.
    3. Verify RetentionHold and ELC processing flags
      • Confirm that the mailbox is not on retention hold and that ELC processing is enabled:
             Get-Mailbox <MailboxID> | fl *Retention*,ElcProcessingDisabled
        
      • If RetentionHoldEnabled is True, set it to False.
      • If ElcProcessingDisabled is True, set it to False.
    4. After all holds are cleared
      • Once all InPlaceHolds and any locked retention policies are removed, retry disabling the archive from the Exchange admin center or via PowerShell, for example:
             Disable-Mailbox -Identity <MailboxID> -Archive
        
      • If successful, Get-Mailbox <MailboxID> | fl *Archive* should show ArchiveState : None and no active ArchiveDatabase.

    If an In-Place Hold or locked retention policy still applies (even if not obvious from LitigationHold/standard retention settings), Exchange Online will continue to block archive deletion until that hold is removed.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

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.