Data Protection Issues

Fix a Missing Preservation Hold Library in OneDrive

Steve KSteve K Nov 25, 2026 868 views

Question details

The user needs to determine why a OneDrive retention policy is not creating a Preservation Hold library for deleted files.

Fix a Missing Preservation Hold Library in OneDrive
Product
Microsoft 365 OneDrive and Microsoft Purview retention policies
Device & OS
not provided
Scenario
A Microsoft 365 administrator configured a retention policy for a OneDrive account and expects deleted files to be retained.
Observed behavior
Deleted files do not appear to trigger creation of a Preservation Hold library, and the library URL cannot be found.
Before you start

Sign in with an account that can view retention policies in the Microsoft Purview portal, and obtain the affected user's OneDrive site URL. Confirm that the policy is configured to retain content, not only delete it.

Solution 1Recommended

Check the retention policy status and OneDrive targeting

Use this approach to identify deployment errors or an incorrect OneDrive site assignment.

1
Open the policy

In the Microsoft Purview portal, go to Data lifecycle management > Microsoft 365 > Retention policies and select the policy that should cover the OneDrive account.

2
Review the status

Check the policy status and any available error details. If deployment is pending, allow time for the policy to apply; if it shows an error, record the details for troubleshooting.

3
Verify the location

Open the policy's locations or edit settings and confirm that OneDrive accounts are included and that the affected account is not excluded. If specific accounts are selected, verify the user's OneDrive site URL rather than a file or page URL.

4
Correct or escalate the error

Edit the policy to correct an incorrect location if needed. If the policy remains in error, contact Microsoft Support with the policy name, status, error details, and affected OneDrive site URL.

Check the retention policy status and OneDrive targeting
Before recreating a policy: If appropriate, an administrator can consider recreating the policy after reviewing the error and retention requirements. Deleting or replacing a policy can affect retention coverage, so check the impact before making changes.
Free Microsoft Office alternative

Work with Office files using WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with Microsoft Office files. Its format support makes it easy to move existing documents into WPS, although it does not administer or repair OneDrive retention policies.

Open and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse a familiar interface for a smoother transition from Microsoft OfficeWork with documents, spreadsheets, and presentations in one lightweight suiteReview Office files separately while an administrator resolves the OneDrive retention issue
microsoft office alternative - wps office

Frequently Asked Questions

Does a Preservation Hold library appear as soon as I create a policy?

Not necessarily. The library is created when needed to preserve content subject to retention. First check that the policy has successfully applied to the OneDrive account.

Why does my retention policy show an error?

An error can indicate that the policy did not deploy successfully. Open the policy in Microsoft Purview under Data lifecycle management > Microsoft 365 > Retention policies, review its status and location settings, and contact Microsoft Support if the error persists.

Which OneDrive URL should I check in the policy?

Check the affected user's OneDrive site URL, not the full URL of an individual file or page. Also confirm that the account is included and not excluded in the policy's OneDrive location settings.

Will a delete-only policy preserve deleted files?

No. A policy configured only to delete content is not a retention policy that preserves deleted files. Review the policy's retention settings in Microsoft Purview.

Why can't I find the Preservation Hold library URL?

The library may not have been created yet, or your account may not have the necessary access to see it. Confirm successful policy deployment and ask a OneDrive site administrator to check the hidden library.