{"id":4426,"date":"2024-10-07T07:30:52","date_gmt":"2024-10-07T07:30:52","guid":{"rendered":"https:\/\/www.systools.in\/blog\/?p=4426"},"modified":"2024-11-06T05:15:07","modified_gmt":"2024-11-06T05:15:07","slug":"find-duplicate-files-in-sharepoint-online","status":"publish","type":"post","link":"https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/","title":{"rendered":"How to Find Duplicate Files in SharePoint Online? A Comprehensive Guide"},"content":{"rendered":"<p style=\"text-align: justify;\"><em><strong>Summary:<\/strong> How to find duplicate files in SharePoint Online? If you are also searching for the same, this write-up will be fruitful for you. Here you will find out how to find and delete duplicate files in SharePoint Online.<\/em><\/p>\n<p style=\"text-align: justify;\">When SharePoint is used to track the ongoing progress of the project, then there might be a chance that multiple team members are accessing it. It is also possible that unintentionally team members can upload the same files to the document library.<\/p>\n<p style=\"text-align: justify;\">As a result, due to the duplicate files, your SharePoint Online environment becomes cluttered. It starts consuming valuable storage space. Also, you might face <a href=\"https:\/\/www.systools.in\/blog\/sharepoint-search-not-working\/\" target=\"_blank\" rel=\"noopener\"><strong>SharePoint search not working<\/strong><\/a>. It&#8217;s essential to regularly identify and remove these duplicate files to prepare a clean and organized workspace.<\/p>\n<div class=\"alert alert-warning\">\n<p><strong>Table of Content<\/strong><\/p>\n<ul>\n<li><a href=\"#1\"><strong>Methods to Find Duplicate Files<\/strong><\/a><\/li>\n<li><a href=\"#2\"><strong>Manual Method<\/strong><\/a><\/li>\n<li><a href=\"#3\"><strong>PowerShell Commands<\/strong><\/a><\/li>\n<li><a href=\"#4\"><strong>PnP PowerShell<\/strong><\/a><\/li>\n<li><a href=\"#5\"><strong>Delete Duplicate Files<\/strong><\/a><\/li>\n<li><a href=\"#6\"><strong>Transfer Duplicate Files to Another Folder<\/strong><\/a><\/li>\n<li><a href=\"#7\"><strong>Move Duplicate Data to Another Account<\/strong><\/a><\/li>\n<li><a href=\"#8\"><strong>Best Practices<\/strong><\/a><\/li>\n<li><a href=\"#9\"><strong>Final Words<\/strong><\/a><\/li>\n<\/ul>\n<\/div>\n<p style=\"text-align: justify;\">In this comprehensive guide, we&#8217;ll explore various methods to find and remove duplicate files in SharePoint Online. So, let\u2019s start from the beginning.<\/p>\n<h2 id=\"1\">Different Methods to Find Identical Files in SharePoint Online<\/h2>\n<p>To <a href=\"https:\/\/www.systools.in\/blog\/manage-lists-and-libraries-in-sharepoint\/\" target=\"_blank\" rel=\"noopener\"><strong>manage large lists and libraries in SharePoint Online<\/strong><\/a> efficiently, you need to find and delete duplicate files in SharePoint Online. Microsoft offers the DeDup SharePoint duplicate analysis tool. But to access it, you need to be good at technicalities. Although, you can find the duplicate files from SharePoint Online either by manual search or using the PowerShell scripts. The manual search requires so much time to filter out duplicate files. On the other hand, the PowerShell script is an automated way to search the duplicate files and folders.<\/p>\n<h2 id=\"2\">Manually Searching Duplicate Files in SharePoint Online<\/h2>\n<p>For manually identifying the SharePoint duplicate files-<\/p>\n<p style=\"text-align: justify;\">Open the document library and start reviewing the files thoroughly. Check the file name, size, and modified time, and then compare them with the other files. You can also open the documents to ensure content similarity.<\/p>\n<p style=\"text-align: justify;\">There is also an advanced search option in SharePoint to filter the files based on several factors. It includes file size, date, author, etc.<\/p>\n<h3 id=\"3\">PowerShell Script to Find Duplicate Files in SharePoint Online<\/h3>\n<p>Execute the below commands to search for the data duplication in SharePoint.<\/p>\n<pre>#Load SharePoint CSOM Assemblies\r\nAdd-Type -Path \"C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\16\\ISAPI\\Microsoft.SharePoint.Client.dll\"\r\nAdd-Type -Path \"C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\16\\ISAPI\\Microsoft.SharePoint.Client.Runtime.dll\"\r\n\r\n#Parameters\r\n$URLofSite = \"\"\r\n$CSVLoc = \"C:\\Temp\\Duplicates.csv\"\r\n$BatchSize = 1000\r\n#Array for Result Data\r\n$DataCollection = @()\r\n\r\n#Get credentials to connect\r\n$Credt = Get-Credential\r\n\r\nTry {\r\n#Setup the Context\r\n$Ctx = New-Object Microsoft.SharePoint.Client.ClientContext($URLofSite)\r\n$Ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Credt.UserName, $Credt.Password)\r\n\r\n#Get the Web\r\n$Web = $Ctx.Web\r\n$ListsContainer = $Web.Lists\r\n$Ctx.Load($Web)\r\n$Ctx.Load($ListsContainer)\r\n$Ctx.ExecuteQuery()\r\n\r\nForEach($List in $ListsContainer)\r\n{\r\n\r\nIf($List.BaseType -eq \"DocumentLibrary\" -and $List.Hidden -eq $False -and $List.ItemCount -gt 0 -and $List.Title -Notin(\"PagesofSite\",\"Style Library\", \"Preservation Hold Library\"))\r\n{\r\n\r\n$Query = New-Object Microsoft.SharePoint.Client.CamlQuery\r\n$Query.ViewXml = \"@\r\n\r\n$BatchSize\r\n\"\r\n\r\n$Count = 1\r\n\r\nDo {\r\n$ListItems = $List.GetItems($Query)\r\n$Ctx.Load($ListItems)\r\n$Ctx.ExecuteQuery()\r\n\r\nForEach($Item in $ListItems)\r\n{\r\n#Fiter Files\r\nIf($Item.FileSystemObjectType -eq \"File\")\r\n{\r\n#Get the File from Item\r\n$File = $Item.File\r\n$Ctx.Load($File)\r\n$Ctx.ExecuteQuery()\r\nWrite-Progress -PercentComplete ($Count \/ $List.ItemCount * 100) -Activity \"File Processing $Count of $($List.ItemCount) in $($List.Title) of $($Web.URL)\" -Status \"Scan Files '$($File.Name)'\"\r\n\r\n#Get The File Hash\r\n$Bytes = $File.OpenBinaryStream()\r\n$Ctx.ExecuteQuery()\r\n$MD5 = New-Object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider\r\n$HashCode = [System.BitConverter]::ToString($MD5.ComputeHash($Bytes.Value))\r\n\r\n#Collect data\r\n$Data = New-Object PSObject\r\n$Data | Add-Member -MemberType NoteProperty -name \"NameofFile\" -value $File.Name\r\n$Data | Add-Member -MemberType NoteProperty -Name \"FileHashCode\" -value $HashCode\r\n$Data | Add-Member -MemberType NoteProperty -Name \"URLoFile\" -value $File.ServerRelativeUrl\r\n$Data | Add-Member -MemberType NoteProperty -Name \"SizeofFile\" -value $File.Length\r\n$DataCollection += $Data\r\n}\r\n$Count++\r\n}\r\n#Update Position of the ListItemCollectionPosition\r\n$Query.ListItemCollectionPosition = $ListItems.ListItemCollectionPosition\r\n}While($Query.ListItemCollectionPosition -ne $null)\r\n}\r\n}\r\n#Export All Data to CSV\r\n$DataCollection | Export-Csv -Path $CSVLoc -NoTypeInformation\r\nWrite-host -f Green \"Files Inventory has been Exported to $CSVLoc\"\r\n\r\n$Duplicates = $DataCollection | Group-Object -Property HashCode | Where {$_.Count -gt 1} | Select -ExpandProperty Group\r\nWrite-host \"Duplicate files according to the Hashcode:\"\r\n$Duplicates | Format-table -AutoSize\r\n\r\n#Group Based on File Name\r\n$DuplicatesFileName = $DataCollection | Group-Object -Property FileName | Where {$_.Count -gt 1} | Select -ExpandProperty Group\r\nWrite-host \u201cDuplicates according to the File Name:\"\r\n$DuplicatesFileName| Format-table -AutoSize\r\n\r\n#Group Based on File Size\r\n$DuplicatesFileSize = $DataCollection | Group-Object -Property FileSize | Where {$_.Count -gt 1} | Select -ExpandProperty Group\r\nWrite-host \"Duplicates according to the File Size:\"\r\n$DuplicatesFileSize| Format-table -AutoSize\r\n}\r\nCatch {\r\nwrite-host -f Red \"Error:\" $_.Exception.Message\r\n}<\/pre>\n<h3 id=\"4\">PnP PowerShell Commands to Identify Duplicate Files in SharePoint Online<\/h3>\n<p>Find duplicate files in SharePoint Online using the below script.<\/p>\n<pre>#Parameters\r\n$SiteURL = \"\"\r\n$SizeofPage = 1000\r\n$ReportResult = \"C:\\Temp\\Duplicates.csv\"\r\n\r\n#Connect to SharePoint Online site\r\nConnect-PnPOnline $SiteURL -Interactive\r\n\r\n#Array to store results\r\n$DataCollection = @()\r\n\r\n#Get all Document libraries\r\n$DocumentLibraries = Get-PnPList | Where-Object {$_.BaseType -eq \"DocumentLibrary\" -and $_.Hidden -eq $false -and $_.ItemCount -gt 0 -and $_.Title -Notin(\"Site Pages\",\"Style Library\", \"Preservation Hold Library\")}\r\n\r\n#Iterate through each document library\r\nForEach($Library in $DocumentLibraries)\r\n{\r\n#Get All documents from the library\r\n$global:count = 0;\r\n$Documents = Get-PnPListItem -List $Library -SizeofPage $SizeofPage -Fields ID, File_x0020_Type -ScriptBlock `\r\n{ Param($items) $global:count += $items.Count; Write-Progress -PercentComplete ($global:Count \/ ($Library.ItemCount) * 100) -Activity `\r\n\"Getting Documents from Library '$($Library.Title)'\" -Status \"Getting Documents data $global:Count of $($Library.ItemCount)\";} | Where {$_.FileSystemObjectType -eq \"File\"}\r\n\r\n$CountItem = 0\r\n#Iterate through each document\r\nForeach($Document in $Documents)\r\n{\r\n#Get the File from Item\r\n$File = Get-PnPProperty -ClientObject $Document -Property File\r\n\r\n#Get The File Hash\r\n$Bytes = $File.OpenBinaryStream()\r\nInvoke-PnPQuery\r\n$MD5 = New-Object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider\r\n$HashCode = [System.BitConverter]::ToString($MD5.ComputeHash($Bytes.Value))\r\n\r\n#Collect data\r\n$Data = New-Object PSObject\r\n$Data | Add-Member -MemberType NoteProperty -name \"File-Name\" -value $File.Name\r\n$Data | Add-Member -MemberType NoteProperty -Name \"Hash-Code\" -value $HashCode\r\n$Data | Add-Member -MemberType NoteProperty -Name \"File-URL\" -value $File.ServerRelativeUrl\r\n$Data | Add-Member -MemberType NoteProperty -Name \"FileSize\" -value $File.Length\r\n$DataCollection += $Data\r\n$CountItem++\r\nWrite-Progress -PercentComplete ($CountItem \/ ($Library.ItemCount) * 100) -Activity \"gathering data from Documents $CountItem of $($Library.ItemCount) from $($Library.Title)\" `\r\n-Status \"Reading Document\u2019s data '$($Document['FileLeafRef']) at '$($Document['FileRef'])\"\r\n}\r\n}\r\n#Get Duplicate Files by Grouping Hash code\r\n$DuplicatesFiles = $DataCollection | Group-Object -Property HashCode | Where {$_.Count -gt 1} | Select -ExpandProperty Group\r\nWrite-host \"Duplicate Files Based on File Hashcode:\"\r\n$DuplicatesFiles | Format-table -AutoSize\r\n\r\n#Export the duplicate results to CSV\r\n$DuplicatesFiles | Export-Csv -Path $ReportResult -NoTypeInformation<\/pre>\n<h3 id=\"5\">How to Delete Duplicate Files in SharePoint Online Using PowerShell?<\/h3>\n<p>Go with these commands to delete the redundant or duplicate files from SharePoint.<\/p>\n<pre># Define the source path\r\n$sourceLoc = \"C:\\Temp\\New\"\r\n\r\n# Get all files with the same size\r\n$Files = Get-ChildItem -Path $sourceLoc -File -Recurse | Sort-Object LastWriteTime -Descending | Group-Object -Property Length | Where-Object {$_.Count -gt 1}\r\n\r\n# Group files by their hash and find duplicates\r\n$DuplicateFiles = $Files | Select -ExpandProperty Group | Get-FileHash | Group-Object -Property Hash | Where-Object {$_.Count -gt 1}\r\n\r\n#Delete the Duplicate files\r\nif ($duplicateFiles.Count -eq 0) {\r\nWrite-Output \"No duplicate files found.\"\r\n} else {\r\nWrite-Output \"Founded Duplicate files are deleted successfully:\"\r\n$duplicateFiles | ForEach-Object {\r\n$filesforDelete = $_.Group | Select-Object -Skip 1\r\n$filesforDelete | ForEach-Object {\r\nWrite-Output \"Deleting: $($_.Path)\"\r\nRemove-Item -Path $_.Path -Force\r\n}\r\n}\r\n}<\/pre>\n<h3 id=\"6\">Transfer Duplicate Files to Another Location<\/h3>\n<p style=\"text-align: justify;\">One of the alternative solutions is to move the duplicate files to another location if you are not sure whether you should remove duplicate files in SharePoint Online or not.<\/p>\n<pre>$FolderLoc = \"C:\\Temp1\\Logs\"\r\n\r\n# Find Duplicate Files\r\n$DuplicateFiles = Get-ChildItem -Path $FolderLoc -File |\r\nSort-Object LastWriteTime -Descending |\r\nGroup-Object -Property Length |\r\nWhere-Object {$_.count -gt 1} |\r\nSelect-Object -ExpandProperty Group |\r\nGet-FileHash |\r\nGroup-Object -Property Hash |\r\nWhere-Object { $_.Count -gt 1 }\r\n\r\n# Temporary location for duplicate files\r\n$TempLoc = \"C:\\Temp1\\DuplicateFiles\"\r\nNew-Item -ItemType Directory -Path $TempLoc -Force | Out-Null\r\n\r\n# Log File to store what's moved\r\n$Filelog = \"C:\\Temp1\\LogFile.txt\"\r\n\r\n# Move Duplicate Files to another folder\r\nForEach ($Group in $DuplicateFiles) {\r\n$Group.Group | Select-Object -Skip 1 | ForEach-Object {\r\n$filePath = $_.Path\r\nAdd-Content -Path $Filelog -Value $filePath\r\nMove-Item -Path $filePath -Destination $tempDir\r\nWrite-host \"Duplicate File Moved:\"$filePath\r\n}\r\n}<\/pre>\n<h4 id=\"7\">Relocate Your SharePoint Data Another SharePoint Account<\/h4>\n<p style=\"text-align: justify;\">One of the best practices that you should follow before going to find and delete duplicate files in SharePoint Online. You should store the SharePoint content in another location to prevent data loss. You can achieve it by using the <a href=\"https:\/\/www.systools.in\/products\/sharepoint-to-sharepoint\/\" target=\"_blank\" rel=\"noopener\"><strong>Expert\u2019s Recommended SharePoint Migration Tool<\/strong><\/a>.<\/p>\n<p class=\"text-center mr-2\"><a class=\"btn btn-lg btn-md-block text-white\" style=\"background: #28a745; color: #fff !important;\" href=\"https:\/\/systoolskart.com\/download\/SYS1S6P6O\/29\" rel=\"nofollow\"> Download Now<\/a> <a class=\"btn btn-lg btn-md-block text-white\" style=\"background: #ff6800; color: #fff !important;\" href=\"https:\/\/systoolskart.com\/buy\/SYS1S6P6O\/29\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">Purchase Now<\/a><\/p>\n<p style=\"text-align: justify;\">This is the first step before performing the deletion of the duplicate files. This tool is well-versed with the latest features and also does not require any technical expertise while operating it. Below are the basic steps of the tool.<\/p>\n<ul>\n<li><strong>Step 1.<\/strong> Download and Run the tool.<\/li>\n<li><strong>Step 2.<\/strong> Finalize O365 as Source &amp; Destination.<\/li>\n<li><strong>Step 3.<\/strong> Choose the Site option.<\/li>\n<li><strong>Step 4.<\/strong> Complete both platform details.<\/li>\n<li><strong>Step 5.<\/strong> Add Users and click on Start Migration.<\/li>\n<\/ul>\n<h4 id=\"8\">How to Reduce Chances of Data Duplicacy in SharePoint Online?<\/h4>\n<ul>\n<li>Perform a scheduled scan to identify the duplicate files to prevent data redundancy.<\/li>\n<li>Make use of SharePoint&#8217;s advanced search features to filter out duplicate files efficiently.<\/li>\n<li>Evaluate the metadata of the files such as file size, modified date, author, and content to identify files with similar characteristics.<\/li>\n<li>Before deleting files, make sure it is redundant and not required further.<\/li>\n<li>Inform your team members about the issues of creating data duplicacy in SharePoint.<\/li>\n<\/ul>\n<h4 id=\"9\">Final Words<\/h4>\n<p style=\"text-align: justify;\">There are a lot of disadvantages you might face because of data duplicacy in SharePoint Online. Because there is a need of good technical knowledge to use the DeDup SharePoint duplicate analysis tool offered by Microsoft. However, you can find duplicate files in SharePoint Online using manual search or executing the PowerShell commands. The manual search requires you to spend a lot of time, while the PowerShell commands can make your task easier.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary: How to find duplicate files in SharePoint Online? If you are also searching for the same, this write-up will be fruitful for you. Here you will find out how <\/p>\n","protected":false},"author":6,"featured_media":4427,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[360],"class_list":["post-4426","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sharepoint-online"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Find Duplicate Files in SharePoint Online? Let&#039;s Explore<\/title>\n<meta name=\"description\" content=\"Find duplicate files in SharePoint Online to optimize SharePoint. Let&#039;s find the PowerShell scripts to find and delete duplicate files in SharePoint Online.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Raj Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/find-duplicate-files-in-sharepoint-online\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/find-duplicate-files-in-sharepoint-online\\\/\"},\"author\":{\"name\":\"Raj Kumar\",\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/#\\\/schema\\\/person\\\/38995c504e8e559d45dd2c8b2bba176b\"},\"headline\":\"How to Find Duplicate Files in SharePoint Online? A Comprehensive Guide\",\"datePublished\":\"2024-10-07T07:30:52+00:00\",\"dateModified\":\"2024-11-06T05:15:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/find-duplicate-files-in-sharepoint-online\\\/\"},\"wordCount\":754,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/find-duplicate-files-in-sharepoint-online\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/find-duplicate-files-in-SharePoint-Online.webp\",\"articleSection\":[\"SharePoint Online\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.systools.in\\\/blog\\\/find-duplicate-files-in-sharepoint-online\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/find-duplicate-files-in-sharepoint-online\\\/\",\"url\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/find-duplicate-files-in-sharepoint-online\\\/\",\"name\":\"How to Find Duplicate Files in SharePoint Online? Let's Explore\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/find-duplicate-files-in-sharepoint-online\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/find-duplicate-files-in-sharepoint-online\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/find-duplicate-files-in-SharePoint-Online.webp\",\"datePublished\":\"2024-10-07T07:30:52+00:00\",\"dateModified\":\"2024-11-06T05:15:07+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/#\\\/schema\\\/person\\\/38995c504e8e559d45dd2c8b2bba176b\"},\"description\":\"Find duplicate files in SharePoint Online to optimize SharePoint. Let's find the PowerShell scripts to find and delete duplicate files in SharePoint Online.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/find-duplicate-files-in-sharepoint-online\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.systools.in\\\/blog\\\/find-duplicate-files-in-sharepoint-online\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/find-duplicate-files-in-sharepoint-online\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/find-duplicate-files-in-SharePoint-Online.webp\",\"contentUrl\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/find-duplicate-files-in-SharePoint-Online.webp\",\"width\":1280,\"height\":720,\"caption\":\"find duplicate files in SharePoint Online\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/find-duplicate-files-in-sharepoint-online\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Find Duplicate Files in SharePoint Online? A Comprehensive Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/\",\"name\":\"Informative Blogs Related To Technologies &amp; Data Recovery Solutions\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/#\\\/schema\\\/person\\\/38995c504e8e559d45dd2c8b2bba176b\",\"name\":\"Raj Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/39e1c57ad79e81fd7edc787ba298cbd8e96458e624c52e7a35bac32d1b3063f0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/39e1c57ad79e81fd7edc787ba298cbd8e96458e624c52e7a35bac32d1b3063f0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/39e1c57ad79e81fd7edc787ba298cbd8e96458e624c52e7a35bac32d1b3063f0?s=96&d=mm&r=g\",\"caption\":\"Raj Kumar\"},\"description\":\"A dynamic writer with extensive knowledge of technology aids in closing the gap between the user and technology. Provides simple and dependable solutions to a variety of technical challenges that customers face on a daily basis.\",\"url\":\"https:\\\/\\\/www.systools.in\\\/blog\\\/author\\\/raj\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Find Duplicate Files in SharePoint Online? Let's Explore","description":"Find duplicate files in SharePoint Online to optimize SharePoint. Let's find the PowerShell scripts to find and delete duplicate files in SharePoint Online.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/","twitter_misc":{"Written by":"Raj Kumar","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/#article","isPartOf":{"@id":"https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/"},"author":{"name":"Raj Kumar","@id":"https:\/\/www.systools.in\/blog\/#\/schema\/person\/38995c504e8e559d45dd2c8b2bba176b"},"headline":"How to Find Duplicate Files in SharePoint Online? A Comprehensive Guide","datePublished":"2024-10-07T07:30:52+00:00","dateModified":"2024-11-06T05:15:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/"},"wordCount":754,"commentCount":0,"image":{"@id":"https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/#primaryimage"},"thumbnailUrl":"https:\/\/www.systools.in\/blog\/wp-content\/uploads\/2024\/09\/find-duplicate-files-in-SharePoint-Online.webp","articleSection":["SharePoint Online"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/","url":"https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/","name":"How to Find Duplicate Files in SharePoint Online? Let's Explore","isPartOf":{"@id":"https:\/\/www.systools.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/#primaryimage"},"image":{"@id":"https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/#primaryimage"},"thumbnailUrl":"https:\/\/www.systools.in\/blog\/wp-content\/uploads\/2024\/09\/find-duplicate-files-in-SharePoint-Online.webp","datePublished":"2024-10-07T07:30:52+00:00","dateModified":"2024-11-06T05:15:07+00:00","author":{"@id":"https:\/\/www.systools.in\/blog\/#\/schema\/person\/38995c504e8e559d45dd2c8b2bba176b"},"description":"Find duplicate files in SharePoint Online to optimize SharePoint. Let's find the PowerShell scripts to find and delete duplicate files in SharePoint Online.","breadcrumb":{"@id":"https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/#primaryimage","url":"https:\/\/www.systools.in\/blog\/wp-content\/uploads\/2024\/09\/find-duplicate-files-in-SharePoint-Online.webp","contentUrl":"https:\/\/www.systools.in\/blog\/wp-content\/uploads\/2024\/09\/find-duplicate-files-in-SharePoint-Online.webp","width":1280,"height":720,"caption":"find duplicate files in SharePoint Online"},{"@type":"BreadcrumbList","@id":"https:\/\/www.systools.in\/blog\/find-duplicate-files-in-sharepoint-online\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.systools.in\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Find Duplicate Files in SharePoint Online? A Comprehensive Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.systools.in\/blog\/#website","url":"https:\/\/www.systools.in\/blog\/","name":"Informative Blogs Related To Technologies &amp; Data Recovery Solutions","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.systools.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.systools.in\/blog\/#\/schema\/person\/38995c504e8e559d45dd2c8b2bba176b","name":"Raj Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/39e1c57ad79e81fd7edc787ba298cbd8e96458e624c52e7a35bac32d1b3063f0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/39e1c57ad79e81fd7edc787ba298cbd8e96458e624c52e7a35bac32d1b3063f0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/39e1c57ad79e81fd7edc787ba298cbd8e96458e624c52e7a35bac32d1b3063f0?s=96&d=mm&r=g","caption":"Raj Kumar"},"description":"A dynamic writer with extensive knowledge of technology aids in closing the gap between the user and technology. Provides simple and dependable solutions to a variety of technical challenges that customers face on a daily basis.","url":"https:\/\/www.systools.in\/blog\/author\/raj\/"}]}},"_links":{"self":[{"href":"https:\/\/www.systools.in\/blog\/wp-json\/wp\/v2\/posts\/4426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.systools.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.systools.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.systools.in\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.systools.in\/blog\/wp-json\/wp\/v2\/comments?post=4426"}],"version-history":[{"count":0,"href":"https:\/\/www.systools.in\/blog\/wp-json\/wp\/v2\/posts\/4426\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.systools.in\/blog\/wp-json\/wp\/v2\/media\/4427"}],"wp:attachment":[{"href":"https:\/\/www.systools.in\/blog\/wp-json\/wp\/v2\/media?parent=4426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.systools.in\/blog\/wp-json\/wp\/v2\/categories?post=4426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}