Data Protection Issues

How OneDrive Retention Policies Delete Old Documents

Elise WilliamsElise Williams Nov 14, 2026 868 views

Question details

Understand which date a OneDrive retention policy uses to determine when an uploaded document is eligible for deletion.

How OneDrive Retention Policies Delete Old Documents
Product
Microsoft OneDrive and Microsoft Purview
Device & OS
not provided
Scenario
A user uploads a document that was originally created or modified many years ago and wants to know when a retention policy may delete it.
Observed behavior
The deletion date depends on the applicable policy settings and the file dates recorded in OneDrive.
Before you start

Identify the affected OneDrive account and document, and ask a Microsoft 365 administrator for access to the applicable retention policy if needed. Check the document's Created and Modified dates in OneDrive rather than relying only on dates shown on the original device.

Solution 1Recommended

Check the retention trigger and dates recorded in OneDrive

Use this method to determine whether an old document is already eligible for deletion under an applicable policy.

A retention policy can calculate its period from a supported event such as the item's creation or last modification date. The relevant date is the one recorded for the item in Microsoft 365; an upload or migration may not preserve the original file dates.

Eligibility does not necessarily mean immediate deletion. Other applicable retention settings, labels, or holds can affect the outcome.

1
Inspect the document dates

In OneDrive on the web, locate the document and open its Details pane to check its Created and Modified dates. Add those columns to the file view if needed.

2
Find the applicable policy

In the Microsoft Purview portal, go to Data Lifecycle Management > Microsoft 365 > Retention policies. Open policies that include the user's OneDrive account and check their scope.

3
Review the retention settings

Open the applicable policy's settings and check the retention period, whether the policy retains or deletes content, and whether the period starts from creation or last modification.

4
Compare the dates

Compare the date selected by the policy with the document's corresponding OneDrive date. For example, a seven-year period based on a Modified date more than seven years ago can make the file eligible for deletion, even if it was uploaded recently.

Check the retention trigger and dates recorded in OneDrive
Check labels and holds too: If the result is unexpected, ask your administrator to check for applicable retention labels, other policies, and holds. These can change whether content is retained or deleted.
Free Microsoft Office alternative

Work with your documents in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Office documents. Its format compatibility makes it easy to move your work between apps, but it does not administer or change Microsoft Purview retention policies.

Open and edit documents before uploading them to OneDriveCompatible with Microsoft Word DOC and DOCX formatsFamiliar editing tools for an easier transition from Microsoft OfficeFree and lightweight office suite
QA img-9

Frequently Asked Questions

Can a newly uploaded file be deleted because it was last modified years ago?

It can be eligible if the applicable policy uses the last modification date and OneDrive records a Modified date older than the policy period. Check the file's Details pane and the policy settings in Microsoft Purview.

Does OneDrive always use the file's original creation date?

No. A creation-based policy uses the creation date recorded for the item in Microsoft 365. Upload or migration methods may result in a different date from the one on the original device.

Will an eligible document disappear immediately?

Not necessarily. Deletion is processed after the retention period expires, and other policies, retention labels, or holds can affect the outcome. An administrator can review these settings in Microsoft Purview.

Where can I see which OneDrive accounts a policy covers?

An administrator can open Microsoft Purview and go to Data Lifecycle Management > Microsoft 365 > Retention policies, then open the policy and review its OneDrive scope and exclusions.