How to Validate SharePoint Migration with Library Comparison
A technical guide to using SPO Scout's Compare Libraries feature to verify folder structure after SharePoint migration.

The Migration Validation Challenge
After completing a SharePoint migration, validating that all content transferred correctly is critical but time-consuming. Manual verification of folder structures across dozens or hundreds of libraries is impractical for most teams.
Common validation challenges include:
- Scale: Thousands of folders across multiple libraries
- Structure complexity: Deep folder hierarchies with nested subfolders
- Time constraints: Need to verify quickly before go-live
- Limited tools: SharePoint has no built-in folder comparison feature
- PowerShell limitations: Scripts work for single libraries but are slow for bulk operations
Solution: Compare Libraries Feature
SPO Scout's Compare Libraries feature (Pro) compares folder structures between two document libraries at any depth level, identifying missing or extra folders.
Key Capabilities
- Cross-site comparison: Compare libraries on different sites or site collections
- Deep folder analysis: Scans full folder hierarchy, not just top level
- Clear difference report: Shows exactly what's missing or extra
Use Case: Post-Migration Validation
A manufacturing company migrated 80 document libraries (15 years of content) from SharePoint 2013 to SharePoint Online. Using Compare Libraries, they validated the folder structure of the entire migration:
Migration Validation Results:
- 80 libraries compared
- 2,473 total folders scanned
- 23 missing folders identified
- 8 extra folders detected (migration tool created duplicates)
- Total validation time: 6 hours
- Issues fixed before go-live
Step-by-Step Process
1. Prepare Source and Target Libraries
Identify which libraries need comparison. For migrations, you'll typically compare:
- Source: The original library, or a migration staging copy of it
- Target: New SharePoint Online library
SPO Scout runs on SharePoint Online, so both libraries must be there. It can't read a library on an on-premises SharePoint server directly, so for an on-premises source, compare against a staging copy in SharePoint Online.
2. Run Comparison
- Navigate to the target library (SharePoint Online)
- Open SPO Scout extension
- Open the Compare tab and the Folders card (Pro)
- Choose Load from Current Page
- Go to the second library in the same browser tab and choose Load from Current Page
- Choose Run Comparison
SPO Scout compares the two and displays:
- Folder totals: How many folders each library has, and how many they have in common
- Missing: Folder paths in the other library that this one doesn't have
- Extra: Folder paths in this library that the other one doesn't have
3. Document and Remediate
Results appear in the panel and in History. Use the list of folder paths to create a remediation plan. Common fixes:
- Re-run migration tool for specific missing folders
- Manual copy if only a few folders are missing
- Investigate extra folder paths and remove unintended duplicates only after verifying their contents are not needed
- Investigate permissions if folders were skipped
Real-World Metrics
| Method | Time for 80 Libraries | Labor Cost |
|---|---|---|
| Manual spot-checking | 120 hours | $11,400 |
| PowerShell scripts | 40 hours (write + run) | $3,800 |
| SPO Scout Pro | 6 hours | $869 (labor + license) |
Savings: $10,531 in labor costs + caught 23 missing folders before users complained.
Additional Use Cases
Duplicate Library Structure
If you maintain duplicate libraries (e.g., production and DR site), run the comparison from time to time to catch folders added or removed on one side. It compares folders only, so it doesn't show whether the files match.
Template Compliance
Compare a standardized template library against team sites to ensure everyone follows the same folder structure. Identify teams that added unauthorized folders or skipped required ones.
Archive Folder Check
After copying content to an archive, compare the archive library against production to confirm the folder structure came across. This doesn't check the files, so verify them another way before deleting anything.
Technical Notes
Permissions Requirements
- Must have Read access to both libraries
- Works across different site collections
- Works with external sharing (if you have access)
Limitations
- Compares folder structure only, not individual files
- Does not compare metadata or permissions
- Does not compare file content or versions
- Folder comparison requires SPO Scout Pro; comparing columns, content types and views is free
Getting Started
Folder comparison is included in SPO Scout Pro (licensed per tenant for one year). Comparing columns, content types and views between two libraries is free.
Validate Your Migration
Compare columns, content types and views free, then upgrade to Pro to compare folder structures during your migration window.
Install SPO Scout→