Fix a Missing Preservation Hold Library in OneDrive
Question details
The user needs to determine why a OneDrive retention policy is not creating a Preservation Hold library for deleted files.

- 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.
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.
Check the retention policy status and OneDrive targeting
Use this approach to identify deployment errors or an incorrect OneDrive site assignment.
In the Microsoft Purview portal, go to Data lifecycle management > Microsoft 365 > Retention policies and select the policy that should cover the OneDrive account.
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.
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.
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.

Verify retention with a test file
After the policy has applied successfully, check whether a new deletion triggers preservation.
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.

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.




