You can use Duplicate Sweeper to find and remove duplicate files and photos stored in your OneDrive storage.
To ensure that Duplicate Sweeper can sweep your OneDrive, we first need to make sure it can access your files. To do this, ensure that you are signed into your account, and that your OneDrive folder contents reflect the contents of your online storage. Click here for help with setting up OneDrive on your computer.
Once you are all set up, you'll be able to see your files in your OneDrive folder. Now we can scan and remove your duplicates.
Launch Duplicate Sweeper and click Add Folder. To scan your entire OneDrive for duplicates, select the OneDrive folder (by default, this is located in your user folder area). Alternatively, you can find this folder in Windows File Explorer, and drag and drop it into Duplicate Sweeper. Click OK to add the folder.
Next, hit the "Start Duplicate Search" button in the top-right corner of the Duplicate Sweeper program window.
At this point, if your OneDrive files are only stored online, Windows will download copies into your local OneDrive folder on your computer. This step is required to enable Duplicate Sweeper to access and process the files for you.
Duplicate Sweeper will now scan the folder and return a list of any duplicate files it has found. Tick the files in each group that you wish to remove, or press the "Keep All Newest Files" to automatically select the oldest files to remove. More selection preferences can be found under the Duplicates tab of the Duplicate Sweeper toolbar. Hit "Recycle Selected Duplicates" to remove the files from OneDrive.