A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hello @Felipe Mayer Gomes
This typically indicates that the OneDrive sync connection on the Mac has been duplicated or that an outdated SharePoint sync location has been retained, rather than SharePoint actually having duplicate folders.
Before you delete anything, check in the browser whether the SharePoint document library in question is affected. If the duplicate folders don't appear online, don't delete them from Finder while OneDrive is still syncing, because changes inside a synced SharePoint folder can propagate back to SharePoint.
On the Mac, open: OneDrive icon → Settings/Preferences → Account
Make sure that the same SharePoint library or site doesn't appear more than once; if it does, use Stop Sync on the outdated entry. Microsoft has confirmed that when you stop a SharePoint site sync, the local copy remains on the Mac and can be deleted after you confirm the correct library is still available online.
If OneDrive shows only one sync relationship but Finder still displays duplicate SharePoint/OneDrive folders, check:
/Library/CloudStorage
Microsoft notes a macOS issue where an outdated OneDrive folder can remain on the system. When you open each OneDrive folder, if Finder recognizes one as belonging to an earlier OneDrive installation and offers a Delete option, you can delete the obsolete location.
If the duplicates remain, I would then reset the OneDrive client:
- Quit OneDrive.
- Open Applications.
- Right-click on OneDrive and select 'Show Package Contents'.
- Open Contents → Resources.
- Run the Run ResetOneDriveApp.command (or Run ResetOneDriveAppStandalone.command if you are using the standalone version).
- Restart OneDrive and set up the necessary SharePoint libraries.
Microsoft says that when you reset OneDrive, it won't delete cloud data, but it will break current sync relationships and then start a new sync.
Sharing these references with you:
Microsoft – Fix OneDrive sync problems on Mac
If you could provide a screenshot of the duplicate folders as they appear in Finder and on the OneDrive → Account page (with your organization or account information removed), we would be in a position to decide whether or not this is a duplicate sync relationship or a stale /Library/CloudStorage entry before you take any action.
Help make this community better for everyone: if this answer resolved your issue, please accept it or leave an upvote. If not, share more details in a comment so we can continue the discussion and find the right solution.