Will a Microsoft 365 Container Retention Policy Delete All Content?
Question details
The user needs to know if a Microsoft 365 container-level retention policy configured to retain and then delete content will permanently remove all files within that container, especially when the organization lacks an E5 license for auto-labeling.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Configuring data lifecycle rules in Microsoft Purview to manage document retention without causing unintended permanent deletion of critical files.
- Observed behavior
- There is uncertainty regarding whether a broad container-level policy applies global deletion to all content within SharePoint, OneDrive, or Groups at the end of the retention period.
Before modifying retention policies in the Microsoft Purview compliance portal, review your organization's legal compliance requirements and ensure critical documents are backed up, as retention policy deletions are permanent and irreversible.
Review Container-Level Policy Disposition Settings
Verify the exact scope and disposition actions of your container-level policy in Microsoft Purview to determine if it is set to automatically delete all content.
Container-level policies apply broadly to entire locations such as SharePoint sites, OneDrive accounts, or Microsoft 365 Groups. If a policy is explicitly configured to 'Retain items for a specific period' and the action afterward is set to 'Delete items automatically', it will generally delete all content within that container once the retention period expires based on the file's age (creation or last modified date).
Log into the Microsoft Purview compliance portal using an account with compliance administrator permissions, then navigate to Data lifecycle management > Microsoft 365.
Click on the 'Retention policies' tab and select the specific container-level policy you want to review.
Click 'Edit policy' and navigate to the retention settings page. Look at the section defining what happens after the retention period ends to see if 'Delete items automatically' is selected.
Check the 'Locations' tab to confirm exactly which containers (e.g., specific SharePoint sites or all OneDrive accounts) are subjected to this broad deletion rule.

Apply Manual Retention Labels to Override the Policy
Use manual retention labels to protect specific documents from being deleted by the broader container-level policy, which is especially useful without an E5 license.
Manage Local Documents Safely with WPS Office
If you are concerned about server-side retention policies automatically deleting your important cloud files, maintaining local backups is a safe strategy. WPS Office is a robust, lightweight suite that allows you to seamlessly manage, edit, and store your critical documents locally without server-imposed deletion risks.

Frequently Asked Questions
What takes precedence: a retention label or a container-level policy?
According to Microsoft's principles of retention, an explicit retention label applied directly to an individual file or email always takes precedence over a broad container-level retention policy.
Can I recover files deleted by a Microsoft 365 retention policy?
Once a retention policy permanently deletes a file at the end of its retention period, and it is cleared from the Preservation Hold library and the final stage recycle bins, it cannot be recovered. Always verify your disposition settings.
Do I need an E5 license to use retention policies?
No, basic container-level retention policies and the ability to apply manual retention labels are included with Microsoft 365 E3 licenses. However, automatically applying retention labels based on keywords or sensitive information types typically requires an E5 license.




