Fix OneDrive for Mac Stuck Signing In or Downloading Files Again
Question details
The user needs to resolve a OneDrive sign-in problem on a Mac and prevent online-only files from downloading unexpectedly.

- Product
- OneDrive for Mac
- Device & OS
- macOS
- Scenario
- Signing in to OneDrive and keeping synced files online-only with Files On-Demand enabled.
- Observed behavior
- OneDrive remains stuck while signing in, or files marked online-only download again without an apparent request.
Check the OneDrive version in OneDrive Settings and confirm that your Mac has an internet connection. Make sure important local changes have synced or are saved separately before resetting the client.
Update and reset OneDrive for Mac
Use this approach when OneDrive is stuck signing in or the sync client is not behaving normally.
Download and install the latest OneDrive for Mac client from Microsoft or update it through the Mac App Store, depending on how you installed it. Restart your Mac and try signing in again.
Select the OneDrive cloud icon in the menu bar, open Help & Settings, and choose Quit OneDrive.
Open Spotlight, search for Keychain Access, and search for OneDrive Cached Credential. If present, delete that entry. Older installations may also have com.microsoft.OneDrive-mac.HockeySDK, Microsoft Office Identities Cache 2, Microsoft Office Identities Settings 2, or MicrosoftOffice15_2_Data:ADAL entries; remove only the relevant entries if they are present.
In Finder, open Applications, Control-click OneDrive, and choose Show Package Contents. Open Contents > Resources and run ResetOneDriveApp.command or ResetOneDriveAppStandalone.command, if available.
Restart your Mac, open OneDrive from Applications, and sign in to your Microsoft account again. Follow the setup prompts to reconnect your sync folder.

Return downloaded OneDrive files to online-only status
Use Free Up Space when synced files have downloaded locally and you want to keep them in the cloud.
Edit Office files on your Mac with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office files. Open existing documents, spreadsheets, and presentations as you move between suites. WPS does not repair OneDrive sign-in or sync issues.

Frequently Asked Questions
Why does an online-only OneDrive file download again?
Opening or editing an online-only file downloads it to your Mac. After any changes have synced, Control-click the file in Finder and choose Free Up Space to make it online-only again.
How can I tell whether a OneDrive file is online-only?
Open your OneDrive folder in Finder and check the status icon next to the file. A cloud icon indicates that the file is online-only.
Will clearing OneDrive credentials sign me out of Office apps?
It can if you remove shared Microsoft Office identity entries from Keychain Access. Be prepared to sign in to Office apps again, and remove only the relevant entries.
Can I use Free Up Space for OneNote notebooks?
OneNote notebooks use a separate synchronization system, so Free Up Space does not apply to them in the same way as ordinary OneDrive files.
What should I do if files keep downloading after a restart?
Check the OneDrive folder in Finder after restarting and note which files have downloaded. Confirm that OneDrive is up to date, then review whether those files were opened or accessed by an app.




