Data Protection Issues

How to Find InPlaceHolds and Remove OneDrive Files Under Retention

Phi Hung VoPhi Hung Vo Nov 3, 2026 872 views

Question details

The user is unable to delete files in OneDrive due to organizational holds or retention policies and needs a way to locate these policies to remove the restrictions.

How to Find InPlaceHolds and Remove OneDrive Files Under Retention
Product
Microsoft OneDrive
Device & OS
not provided
Scenario
Attempting to delete files from a Microsoft OneDrive account that is governed by an organization-wide retention policy or In-Place Hold.
Observed behavior
The system prevents file deletion, returning an error because the site or files are subject to a hold or Microsoft Purview retention policy.
Before you start

Ensure you have Microsoft 365 global administrator or compliance administrator permissions, as viewing and modifying Purview retention policies requires administrative access.

Solution 1Recommended

Review Purview Policies and Exclude the User

Identify the Microsoft Purview retention policy blocking the deletion and exclude the affected OneDrive account.

When an organization-wide retention policy applies to OneDrive, SharePoint, or Teams, users cannot permanently delete protected files. Excluding the user from the specific policy removes this restriction.

1
Access Microsoft Purview

Log in to the Microsoft Purview compliance portal using your administrator credentials.

2
Locate Retention Policies

Navigate to Data lifecycle management > Microsoft 365 > Retention policies in the left-hand menu.

3
Edit the Blocking Policy

Select the policy affecting the user's data and choose the 'Edit policy' option.

4
Exclude the OneDrive Account

Under the Locations section, add the user's specific OneDrive account to the 'Excluded' list and save your changes.

Review Purview Policies and Exclude the User
Propagation Time: Changes to Microsoft 365 retention policies typically take at least 24 hours to propagate. Wait for this period before having the user attempt to delete the files again.
Free Microsoft Office alternative

Switch to WPS Office for Flexible File Management

If enterprise retention policies in Microsoft 365 are too restrictive for your personal or small business needs, consider switching to WPS Office. It provides a lightweight, free, and straightforward suite for creating and managing your documents without being blocked by complex server-side holds.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the installer and follow the on-screen instructions to set up WPS Office on your computer.
  3. 3. Manage Files Freely: Open, edit, and save your existing Office documents locally or on your preferred cloud storage without enterprise hold restrictions.
Seamlessly compatible with Microsoft Office formats (.docx, .xlsx, .pptx)No forced enterprise retention policies hindering local file deletionLightweight software that runs smoothly on all devicesFree to use with a familiar user interface for instant productivity
microsoft office alternative - wps office

Frequently Asked Questions

Why am I unable to delete files from OneDrive?

File deletion in OneDrive is often blocked if your organization has an active Microsoft 365 retention policy, an eDiscovery hold, or an In-Place Hold applied to your account. These compliance features ensure data is preserved for a specific period.

What does an InPlaceHolds value with an 'mbx' prefix mean?

An InPlaceHolds value starting with an 'mbx' prefix indicates that a mailbox is specifically excluded from an organization-wide Microsoft 365 retention policy, rather than being subject to a direct In-Place Hold.

How long does it take for a retention policy exclusion to work?

After a Microsoft 365 administrator adds your account to a retention policy's exclusion list, you must typically wait at least 24 hours for the backend synchronization to complete before you can successfully delete files.

Can I bypass a retention policy without admin rights?

No, Microsoft Purview retention policies are enforced at the organization level. Only an administrator with appropriate compliance management permissions can modify the policies or add exclusions for specific users.