
To perform a comprehensive comparison of files between your original SharePoint site and the migrated SharePoint site, you'll want to identify duplicates, missing files, and any discrepancies in metadata (like modified dates, file sizes, or authors).
Use PowerShell with the PnP PowerShell module to extract file metadata from both environments.
Example command:
# Connect to SharePoint
Connect-PnPOnline -Url "https://yourtenant.sharepoint.com/sites/YourSite" -Interactive
# Export file metadata
Get-PnPListItem -List "Documents" -PageSize 500 |
Select-Object -Property FileLeafRef, FileRef, Author, Editor, TimeCreated, TimeLastModified |
Export-Csv -Path "OriginalSiteFiles.csv" -NoTypeInformation
Once you have both CSVs, you can compare them using Excel, Power BI, or a script (Python or PowerShell).
Would you like me to help you:
If you already have the CSVs, feel free to upload them here, and I can help you analyze them directly.
🏷️ Tag me if you have any further questions or if the issue persists.
✅ Click "Accept as Solution" if my post helped resolve your issue—it helps others facing similar problems.
❤️ Give it a Like if you found the approach useful in any way.