A Microsoft file hosting and synchronization service.
If the old OneDrive folders are leftover Finder/File Provider entries after unlinking, use this cleanup path on Mac:
- Open the OneDrive menu bar icon.
- Go to Help & Settings or More > Preferences.
- On the Account tab, confirm the old account is already removed. If any old account still appears, select Unlink this Mac.
If the stuck folders are under /Library/CloudStorage:
- In the OneDrive sync window, use Show in Finder if the app shows a message about multiple versions or duplicate sign-in.
- In Finder, open /Library/CloudStorage.
- Double-click each OneDrive folder.
- Check the top of each Finder window:
- If a banner appears with a Delete button, select Delete. That removes the folder from the previous OneDrive version that is no longer installed.
- If no folder shows a banner or Delete option, open OneDrive Preferences > Account > Unlink this Mac, then run OneDrive again to complete setup. The documented note states no data is lost; the Mac is only disconnected briefly.
If the leftover Finder item is a stale File Provider/sidebar entry:
- In Finder, select Option+click the OneDriveCloudTemp folder and choose Remove from Sidebar.
- If Finder shows a stale provider entry such as a missing OneDrive File Provider and offers a delete option, use the Finder delete prompt for that stale entry.
If the old references still remain, clear stored OneDrive sign-in credentials and relink only the current account:
- Open Keychain Access.
- If keychains are not visible, choose Window > Keychain Access.
- Select a keychain.
- Choose File > Delete Keychain [OneDrive/Office/MS].
- Select Delete References.
- Sign in again when prompted, and when OneDrive says a folder already exists, select Use this folder if keeping the current location.
Important:
- Deleting files online keeps them deleted.
- Unlinking the Mac does not delete data; it disconnects the Mac from OneDrive temporarily.
- If removing a local OneDrive folder in Finder, verify it is not the active sync folder for the current account before deleting anything.
References: