A unified data governance solution that helps manage, protect, and discover data across your organization
A practical validation checklist for a Windows File Server with the Microsoft Purview Information Protection scanner is:
- Validate onboarding and scanner readiness
- Confirm the scanner is installed on Windows Server and is targeting supported repositories such as UNC paths for network shares.
- Confirm the scanner service account meets the required permissions for the repository:
- Read, Write, and Modify for classification/protection
- Read only if running discovery mode only
- Confirm the service account is synchronized to Microsoft Entra ID and is used to authenticate the scanner.
- If authentication issues are suspected, use
Set-Authenticationwith a token for the same service account that runs the scanner service.
- Confirm discovery scans completed successfully
- Run
Get-ScanStatusto verify cluster status, start time, and participating nodes. - Review
NodesInfofromGet-ScanStatusto confirm each node status and whether it is actively scanning. - Drill into node summary details to review values such as:
-
ScannedFiles -
FailedFiles -
ScannedBytes -
Classified -
Labeled
-
- Use
Get-ScanStatus -Verbosefor additional details about the current scan. - If a scan must be stopped during testing, use Stop scan in the Microsoft Purview portal or run
Stop-Scan.
- Run
- Verify sensitive information detection and classification
- During initial validation, the scanner configuration commonly uses Info types to be discovered = Policy only. In that mode, only files that meet the conditions configured for automatic classification are included in detailed reports.
- If expected classifications are missing, verify that label configuration includes automatic classification rather than only recommended classification.
- If needed, enable Treat recommended labeling as automatic when using scanner version 2.7.x.x and above.
- If results are still incorrect, reconfigure the label conditions and repeat the discovery procedure until the expected matches appear.
- Validate sensitivity labeling is being applied
- To move from discovery-only validation to actual enforcement, update the content scan job by using
Set-ScannerContentScanso the scheduling is set to always and the sensitivity policy is enforced. - If labels are not being applied, verify that the policy includes automatic labeling conditions. A missing automatic labeling configuration can cause the scanner to detect content without applying labels as expected.
- For scenarios where the error is Policy is missing labeling conditions, validate both:
- Content scan job settings: set Info types to be discovered to All and define a default label to be applied when scanning
- Labeling policy settings: define a default sensitivity label and configure automatic or recommended labeling
- To move from discovery-only validation to actual enforcement, update the content scan job by using
- Review reports, logs, and status outputs
- Use the scanner reports generated during discovery and scan execution to validate which files matched policy conditions.
- Increase logging detail with the
ReportLevelparameter ofSet-ScannerConfigurationwhen deeper validation is needed. - The report folder location or name cannot be changed directly. If reports must be stored elsewhere, use a directory junction.
- Use
Get-ScanStatusoutput as the primary operational validation for scan progress and per-node results.
- Troubleshooting checklist when classifications or labels do not appear
- Verify the scanner authenticated successfully with the correct service account token.
- Check whether the sensitivity policy file exists at:
%localappdata%\Microsoft\MSIP\mip\MSIP.Scanner.exe\mip\mip.policies.sqlite3 - If the error is Policy is missing, verify the policy file is present.
- If the error is Policy is missing labeling conditions, configure automatic labeling conditions and related default label settings.
- If no labels are applied after a successful scan, verify the label uses automatic classification, or enable Treat recommended labeling as automatic if supported by the scanner version.
- If scan results are incomplete or unexpected, review per-node status and counters with
Get-ScanStatus, then adjust label conditions and rerun the scan.
Best-practice validation flow
- Confirm repository access and service account permissions.
- Confirm authentication for the scanner service account.
- Run a discovery scan.
- Use
Get-ScanStatusand node summaries to confirm files were scanned and whether files were classified or labeled. - Review scanner reports for files matching automatic labeling conditions.
- If matches are missing, adjust label conditions or automatic labeling settings and rerun discovery.
- After discovery results are correct, enforce classification and protection with
Set-ScannerContentScan. - Re-run validation and confirm
ClassifiedandLabeledcounters increase as expected.
- Running the information protection scanner
- Learn about the information protection scanner
- Configure and install the information protection scanner
- Resolve issues with information protection scanner deployment
- Resolve issues with information protection scanner deployment
- Get started with the information protection scanner