Dear Olivia Viktoria Jensen Levinsen,
Thank you for sharing your issue in the Q&A forum. I understand how stressful it can be to deal with the “endless loop” and data loss, especially when OneDrive crashes every time you open Preferences, even after trying all troubleshooting steps and contacting your university IT team without success. To resolve this issue and ensure your data is safe, please follow the steps below:
1.Ensure All Data Is Safely Stored Before Removing OneDrive Folder
- Sign in to OneDrive Web with the correct account. Verify all important files:
- Create a temporary folder on OneDrive Web and upload all critical files from your Mac. Additionally, you may back up your files to iCloud for extra security.
Important note: Do not proceed until you confirm all your data is uploaded to OneDrive Web (and iCloud if applicable).
2.Turn Off OneDrive Sync on Your Mac
- Open Preferences > Account > click Unlink this Mac. Make sure no OneDrive processes are running.
- Remove Local OneDrive Folder and Configuration
- In Finder, locate the OneDrive or OneDrive - [Organization Name] folder and move it to Trash. Delete cache and configuration files:
~/Library/Containers/com.microsoft.OneDrive-mac
~/Library/Application Support/OneDrive ~/Library/Caches/com.microsoft.OneDrive - Open Keychain Access, search for “OneDrive” or “Microsoft Account,” and remove related entries.
3.Reinstall OneDrive
- Download the latest version from Microsoft OneDrive for Mac. During setup, choose a new folder outside of Documents or any previous OneDrive folder (e.g., ~/OneDrive-New). In Preferences, check the Backup tab:
- Turn off Backup for Desktop/Documents/Pictures if not needed. Enable Files On-Demand to reduce local storage usage.
If the Issue Persists, consider creating a new macOS user profile:
- Go to System Settings > Users & Groups > create a new account.
- Log in to the new profile, reinstall OneDrive, and select an independent sync folder.
Additionally, could you please provide a screenshot of the error message when performing the action? This will help me review the issue more thoroughly and find a better solution for you. If you prefer not to share this publicly, you can respond via private message. I’ll send you a secure message to collect the necessary details.
Please know that while our initial response might not resolve the issue right away, your input is incredibly valuable. With a bit more detail, we’ll work together to find the best solution for you.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.