I am having a similar problem with duplicate OneDrive folders. In my case, after reinstalling OneDrive, the OneDrive folder is repeated infinitely on my 16" 2021 MacBook Pro running OS 15.3.1. It was doing the same thing under Ventura, too. How could this possibly happen? I only reinstalled twice over the past six months in my troubleshooting process.
From OneDrive online, I downloaded all my data to another non-OneDrive folder on my Mac because OneDrive wasn't allowing me to move the files out of my OneDrive folder on my Mac. It was a long download process but it worked.
However, haven't been able to delete all the folders out of the OneDrive folder on my Mac. OneDrive either gets stuck in some kind of loop or tells me that I have to unlock files (but it doesn't say which files). OneDrive also is getting hung up on a file that was deleted a long time ago. I'm told that it has incorrect characters but OneDrive can't auto-change the file name because the file doesn't exist.
Also, when I go to the the above link (My onedrive folder is duplicated on my Mac · Community) that gave us, I'm told to log in again to this site. But every time I go to that page, it says I need to log in. I'm in an infinite loop even on the Microsoft site.
Is there a fast way to force the deletion of the OneDrive folder on my Mac? I have tried unlinking the account and removing OneDrive but nothing seems to help. I'm probably missing something in the process to completely flush OneDrive from my system.
Any help is appreciated.
No more OneDrive for me.
Thanks,
AA