About OneDrive
How to stop syncing folders (and then delete them)
In the next screenshot we are about to stop syncing "IT Support - Documents". We have also stoped syncing of "Adaptive - Piaf" before and the folder is a left over. You should delete left-over folders or move them somewhere else so that you don't get confused.

TroubleShooting
Microsoft's Troubleshouting guide
https://support.microsoft.com/en-us/office/fix-onedrive-sync-problems-0899b115-05f7-45ec-95b2-e4cc8c4670b2
File locked with "Data in the reparse point buffer is invalid"
Open run window and run this
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
If you see a "Windows cannot find..." message, copy and paste this instead
C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset
Wait 30 seconds and open OneDrive Manually
In one case the
generic fix with chkdsk/disk/sfc solved our problem
How to see Which of your M365 users is using one drive back up?
Go to M365 admin center on The left Reports-Usage select one drive click exprort this csv file has
- All users currently using one drive
- link to their cloud location
- details such a storage and date of last date of sync
-

How to recover delete files
https://spinbackup.com/blog/onedrive-file-recovery/