A Microsoft file hosting and synchronization service.
The option “Borrar y configurar OneDrive” in macOS affects only the OneDrive configuration and local sync folder on the Mac. It does not delete the OneDrive account or permanently erase files stored in the cloud.
On Mac, changing or resetting the OneDrive folder location is done by unlinking the Mac and reconfiguring OneDrive:
- OneDrive closes the current sync connection and “unlinks” the Mac from the account (equivalent to Unlink this Mac in OneDrive preferences).
- The local OneDrive folder path is cleared so it can be set again. During this process, local copies in that folder can be removed or moved, but the online files in OneDrive remain in the cloud.
- After reconfiguration, OneDrive signs in again and lets a new folder location be chosen. Files are then synced back from the cloud to that folder.
Only if files are explicitly deleted from the OneDrive cloud (for example, via OneDrive on the web and then emptying the OneDrive recycle bin) are they permanently removed. Simply resetting/unlinking or reinstalling OneDrive on the Mac does not delete the online data or the Microsoft account.
If the goal is just to fix the folder-location error and reinstall:
- In the OneDrive menu bar icon, open Preferences → Account → Unlink this Mac.
- Quit OneDrive.
- Optionally drag the OneDrive app to the Trash and reinstall it from the official download.
- Start OneDrive again and choose the desired folder location when prompted; existing files will sync back from the cloud.
References: