Automatically Apply Retention Labels to Microsoft 365 Documents
Question details
The administrator needs a way to identify or manage documents that remain unlabeled when uploaded to Microsoft 365.

- Product
- Microsoft Purview and Microsoft 365
- Device & OS
- not provided
- Scenario
- Documents are uploaded to Microsoft 365, and the administrator wants retention labels applied or unlabeled documents identified.
- Observed behavior
- Standard document properties and a No label value do not provide the required detection method.
Confirm that you have permission to manage retention labels and policies in Microsoft Purview. Check the current licensing requirements for automatic labeling, the target locations, and whether the documents can be labeled.
Create an automatic retention label policy in Microsoft Purview
Use this method to label content that matches defined conditions, such as sensitive information types or a keyword query.
An automatic labeling policy matches content against its configured conditions; it is not a general detector for every unlabeled or unlabelable document. Appropriate Microsoft 365 licensing is required, and requirements can vary by feature and scenario.
Sign in to the Microsoft Purview portal, open Data Lifecycle Management, and find Retention label policies.
Select the option to create an auto-apply label policy. Choose the retention label to apply, or create a suitable label first if one is not available.
Choose a supported condition, such as a sensitive information type or a query containing relevant keywords. Configure the condition to match the documents that need the label.
Select the applicable Microsoft 365 locations, review the policy settings, and use simulation if it is offered to check the matches before turning on the policy.
Turn on the policy and return to Retention label policies to review its status and results. Investigate documents that do not match the conditions or cannot receive the label.

Set a default retention label for a SharePoint document library
Use a library default when documents uploaded to a specific SharePoint library should generally receive the same retention label.
Edit Office Documents with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Office documents. Its format compatibility makes it easier to move existing files into your workflow. Microsoft Purview remains necessary to manage Microsoft 365 retention labels.

Frequently Asked Questions
Can an automatic retention policy find every unlabeled document?
No. An auto-apply policy in Microsoft Purview matches the conditions you configure, such as sensitive information types or keywords. It is not a universal test for whether a document has no label.
Do I need an E5 license for automatic retention labeling?
Some automatic labeling scenarios require an eligible E5 license. Check Microsoft's current licensing guidance for the specific feature, users, and locations before enabling the policy.
Can I apply a retention label to all new files in one SharePoint library?
You can set a published label as the library default. In the library, open Settings, then Library settings, and choose Apply label to items in this list or library. Check supported item types and existing label behavior.
What should I do if a document does not receive an automatic label?
Review the policy's selected locations, matching conditions, status, and simulation results in Microsoft Purview. Also check whether the document is supported and whether it already has a retention label.
Can WPS Office manage Microsoft Purview retention policies?
No. Use the Microsoft Purview portal to create and manage Microsoft 365 retention labels and policies. WPS Office can be used to edit compatible Office documents before uploading them.




