Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Purview on-demand classification identifies and classifies sensitive content in historical data stored in SharePoint and OneDrive. This extends the classification capabilities to files that haven't been classified or modified for a long time, have never been classified or need updated classification on previously classified files.
As data volumes grow and AI tools become more deeply integrated into daily work, the risk of exposing unlabeled or unprotected information increases—especially when that data sits untouched in SharePoint or OneDrive. To help close these gaps, Microsoft Purview now offers on-demand classification: a targeted way to scan and label files at rest, using your latest sensitive information types and classification policies. This gives admins more control to protect inactive content that might otherwise be missed by real-time systems.
When combined with Information Protection’s continuous classification, which automatically reclassifies files whenever they’re created or modified, this two-pronged approach helps organizations keep content more closely aligned with the latest security policies:
- Continuous classification keeps active files up to date by automatically reevaluating them when they’re created, accessed, or edited
- On-demand classification brings older or inactive files into scope by allowing admins to scan stored data at rest on their own schedule
With on-demand classification, organizations can:
- Extend protection to previously unclassified or inactive files, increasing overall coverage
- Strengthen data protection across your environment without relying on end-user actions
- Reduce the risk of AI tools surfacing unlabeled or unprotected information and do it all natively, without exporting your data or relying on fragmented tools
Permissions
To run a scan, you must be a member of the following role group:
- Compliance Administrator
To view classification results, you must be a member of one of these role groups:
- Content Explorer Content Viewer
- Content Explorer List Viewer
Create an on-demand classification scan
Sign in to the Microsoft Purview portal
Navigate to Data loss prevention > Classifiers > On-demand classification or Information Protection > Classifiers > On-demand classification
Select New scan.
Following the instructions of the wizard. During this process, you'll define the following:
- Name and description
- Scope and location - You can choose to scan all SharePoint sites and OneDrive accounts, only specific ones, or skip certain sites and accounts from the scan.
- Classifiers for which you want to scan the content in scope
- File last modified date range you want to scan
- File extentions you want to scan
After you complete the wizard, the estimation process begins. The duration will depend on the scope of the scan.
Note
By default, items created or modified in the last year are selected and all supported file extensions. By default, all available classifiers in the tenant are included. If you choose to scan for specific classifiers, you can select up to 50 classifiers at once.
From the On-demand classification list view, select the scan you created.
Select View estimation.
Note
After reviewing the estimates, you can edit the scan to narrow or expand the scope. Select Edit scan and rerun simulation.
Select Start classification.
Analyze on-demand classification results
- From the on-demand classification page, select a scan from the list.
- Select View Scan.
- On the Scan overview tab, review scan results, including progress, match found, failed locations, skipped locations and incurred cost. Optionally, you can cancel in-progress scans by selecting Cancel Scan.
- On the Items for review tab, review specific items found during the scan. You can filter and export the result.
Additional considerations
- Classification can begin up to 30 days after estimation, but minimizing the gap ensures greater accuracy in final counts and costs.
- Each scan for files on SharePoint online and OneDrive for business can process up to 50,000 locations and 20 million files. These limits are enforced based on scan estimation results.
- If specific classifiers are selected during a scan, only those classifiers will have their classification results updated for the scanned files. Other classifiers present in the files may remain unevaluated and might not trigger their associated policies.
- Each file, once scanned, is evaluated against Data Loss Prevention (DLP), Information Protection (MIP), Data Lifecycle Management (DLM), and Insider Risk Management (IRM) policies, triggering appropriate actions such as alerts, applied labels, or auto-labeling policies.
- Content Explorer updates within seven days to reflect newly classified content.
See Also
Learn about trainable classifiers
Learn about sensitive information types
Deploy an information protection solution with Microsoft Purview