Fix OneDrive Requiring Setup After Every Restart on Mac
Question details
The user experiences an issue where OneDrive loses its configuration and requires a full initial setup every time the system restarts.

- Product
- OneDrive
- Device & OS
- macOS 12.3 (Apple Silicon)
- Scenario
- Starting up or restarting a Mac device with the OneDrive application installed.
- Observed behavior
- OneDrive fails to remember the sign-in state and repeatedly requests the complete setup process upon each reboot.
Ensure you have your Microsoft account email and password ready, as you will need to sign back into OneDrive after clearing your cached credentials.
Clear Keychain Credentials and Reset OneDrive
This is the most effective method for resolving persistent login loops, as it removes corrupted authentication tokens stored in macOS and resets the app's internal state.
macOS utilizes Keychain Access to securely store app passwords. If the OneDrive entry becomes corrupted or loses permissions, the app will fail to authenticate automatically upon startup.
Click the OneDrive cloud icon in your Mac's top menu bar, click the Help & Settings gear icon, and select 'Quit OneDrive'.
Press Command + Space to open Spotlight Search, type 'Keychain Access', and press Return. In the search bar at the top right, type 'OneDrive'. Select all resulting entries and delete them.
Open Finder, go to Applications, and right-click on the OneDrive app. Select 'Show Package Contents'. Navigate to Contents > Resources and double-click the file named 'ResetOneDriveAppStandalone.command' or 'ResetOneDriveApp.command'.
Launch OneDrive from your Applications folder and complete the initial sign-in. Once done, click the OneDrive icon in the menu bar, go to Settings > Preferences, and check the box to 'Open at login'. Restart your Mac to verify the issue is fixed.

Check Background Processes and Test User Profile
Use this solution if resetting the app does not work, as duplicate background processes or a corrupted user profile can also prevent OneDrive from saving settings.
Experience Hassle-Free File Management with WPS Office
If you're tired of persistent syncing issues and setup loops with Microsoft services on your Mac, WPS Office offers a powerful, lightweight alternative. It features reliable built-in cloud synchronization and is perfectly optimized for Apple Silicon devices.
- 1. Download the Mac Installer: Visit the official WPS Office website and download the installation package tailored for macOS.
- 2. Install the Application: Open the downloaded DMG file and drag the WPS Office icon into your Applications folder.
- 3. Sign In to Sync: Launch WPS Office, create or sign in to your account, and instantly enjoy seamless document syncing across all your devices.

Frequently Asked Questions
Why does OneDrive keep asking me to sign in on my Mac?
This commonly occurs when the macOS Keychain fails to securely store or retrieve OneDrive's authentication tokens. It can also happen if the application's configuration files become corrupted or lack the necessary read/write permissions.
Will resetting the OneDrive app delete my stored files?
No, resetting the app only clears its settings and sync state to resolve connection issues. Your actual documents remain safely stored in your local OneDrive folder and securely backed up online.
How do I ensure OneDrive opens automatically when my Mac starts?
After signing in, click the OneDrive icon in your Mac's top menu bar, select the Settings gear icon, and go to Preferences. Under the General tab, make sure the 'Open at login' option is checked.




