System specs:
MacBook Pro 15-inch 2018
Processor: 2,6 GHz 6-Core Intel Core i7
Graphics: Radeon Pro 560X 4 GB
Intel UHD Graphics 630 1536 MB
Memory: 32 GB 2400 MHz DDR4
OS: Sonoma V 14.7
At some point in the past few months I've not been able to sync my OneDrive folder on my work Mac to my work 365 cloud. I tried logging out, but have been unable to log in again. Now I cannot complete the startup flow.
I am using my company Office365 account on my OSX partition, and OneDrive, and a personal account on my Windows partition.
My exact experience step by step:
- launch onedrive from applications
- see Set Up OneDrive window where I am to select an email address. The email address that is selected by default on this screen is the one I used to buy my bootcamp version of windows, which is personal and not linked to my employer. When I select my work email instead OneDrive reboots to the same screen, then I can click Sign In.
- Then I see a screen 'Your OneDrive Folder - Add files here so you can access them from other devices and still have them on this Mac'. I have tried this step with both the default OneDrive location and after changing location to a new directory.
- I reach the next page 'We can't sync your "OneDrive" folder - Sorry, we can't add your "OneDrive" folder right now. Please try again.
After this point I am not logged in still, so I'm not sure if it is in face a sign in issue even though the error I reach is about syncing.
I have followed all the steps in the syncing issues self-help article:
- Unlink and relink OneDrive (I could not do this because the steps did not match the UX. There were no 'three dots', only a cog, and the cog only had the options 'Get Help', which took me to the general help articles, or 'Quit OneDrive'. My guess is that this is because I am not able to successfully log in.
- Clear sign in credentials - this did not help
- Sign in again (could not sign in to start with)
- Reset OneDrive using ResetOneDriveAppStandalone.command. This did not help.
That seems to be the end of the flow.
Other things I have tried from googling:
- rm -rf ~/Library/Application\ Support/OneDrive
- uninstall OneDrive, deleted all data, restarted Mac, Download and reinstall from Office365 site
- checked my File System setting in Disk Utility, and it was APFS (Encrypted), which I understood to be compatible with OneDrive
- manually uninstall, delete old config files and restart Mac:
rm -rf ~/Library/Application\ Support/OneDrive
rm -rf ~/Library/Containers/com.microsoft.OneDrive-mac
rm -rf ~/Library/Containers/com.microsoft.OneDrive-mac.FinderSync
rm -rf ~/Library/Group\ Containers/UBF8T346G9.OneDriveSyncClientSuite
rm -rf ~/Library/Preferences/com.microsoft.OneDrive-mac.plist
- Confirmed that "Desktop" and "Documents" are enabled in System Settings > Privacy & Security > Files and Folders.
- Confirmed that OneDrive has Full Disk Access.
- Created a new directory and tried selecting that sync location instead
- tried startup flow from command line with new directory: /Applications/OneDrive.app/Contents/MacOS/OneDrive --setdefaultpath ~/OneDriveManual. This process is killed after step 2 when I select my work email address and OneDrive restarts. I'm not sure how to pass the correct email address to the terminal startup command so I don't have to kill the process. Anyway the final log line is: "coreController.mm(4796),0,0,NRM,Skipping migration, hasn't shown the FRE"
- tried running in debug mode: /Applications/OneDrive.app/Contents/MacOS/OneDrive --enableDebugLogging, and the process exits with the same error: "Skipping migration, hasn't shown the FRE"
- manually run FRE: /Applications/OneDrive.app/Contents/MacOS/OneDrive --firstRun
Any new tips would be helpful!