OneDrive Won't Sign In
Resolution Checklist
- 1 Understand OneDrive Sign-In Failures
- 2 Step 1: Synchronize System Date and Time Settings
- 3 Step 2: Clear Cached Accounts in Windows Credential Manager and macOS Keychain
- 4 Step 3: Reset Network Proxy and Winsock Configurations
- 5 Step 4: Perform a Clean Reset of the OneDrive Sync Client
- 6 Summary Checklist
OneDrive Won’t Sign In
When Microsoft OneDrive won’t sign in, the application may display errors like “There was a problem signing you in”, lock you in a repetitive loop requesting credentials, or show an endless loading wheel next to the login box.
These sign-in blockages are typically caused by out-of-sync system clocks, corrupted credential stores, or local proxy blocks that intercept the secure authentication handshake with Microsoft’s servers.
This guide provides troubleshooting steps to resolve OneDrive sign-in issues on Windows and macOS.
Understand OneDrive Sign-In Failures
To resolve sign-in loops, it helps to understand what the client requires:
- Secure Time Stamps: Microsoft authentication servers (
login.microsoftonline.comandlogin.live.com) require your computer’s local clock to match UTC within a few seconds. An out-of-sync clock causes security certificate handshakes to fail. - Active Directory / Account Cache: OneDrive stores authentication tokens locally. If these tokens get corrupted, the app will loop or fail to sign in.
- System Proxies: If your network settings route web traffic through a dead proxy server, the client will time out during the login handshake.
Step 1: Synchronize System Date and Time Settings
An inaccurate system clock is a very common cause of login failures.
On Windows (Sync Time via Command Prompt)
- Right-click the Start menu and select Command Prompt (Admin) or Terminal (Admin).
- Start the Windows Time service and force a synchronization with the time server:
net start w32time w32tm /resync - Close the command prompt and check if the login screen loads.
On macOS (Sync Time via Terminal)
- Open Terminal.
- Force the network time daemon to sync immediately with Apple’s NTP servers:
sudo sntp -sS time.apple.com - Enter your password when prompted.
Step 2: Clear Cached Accounts in Windows Credential Manager and macOS Keychain
Corrupted credentials can lock the client in a sign-in loop.
Windows: Purge Cached Credentials
- Press the Windows Key, type Credential Manager, and select it.
- Select Windows Credentials.
- Under the Generic Credentials header, look for all items starting with
MicrosoftAccount:user=orOneDrive Cached Credential. - Click the dropdown arrow next to these entries and click Remove.
- Restart OneDrive and try signing in again.
macOS: Purge Keychain Entries
- Open Keychain Access (via Spotlight search).
- In the top-right search box, type
OneDrive. - Locate all items named
OneDrive Cached CredentialandMicrosoftOffice15_2_Data:ADAL:.... - Right-click on these items and select Delete.
- Open OneDrive and enter your login details.
Step 3: Reset Network Proxy and Winsock Configurations
Network proxies can block OneDrive from reaching authentication endpoints.
Windows Network Reset
- Open Command Prompt (Admin).
- Run these commands to clear active proxies and reset the network catalog:
netsh winhttp reset proxy netsh winsock reset ipconfig /flushdns - Restart your computer.
macOS Proxy Check
- Go to System Settings → Network.
- Select your active connection (Wi-Fi or Ethernet) and click Details → Proxies.
- Ensure that all proxies (like SOCKS, HTTP, or HTTPS proxies) are toggled OFF unless required by your network administrator.
Step 4: Perform a Clean Reset of the OneDrive Sync Client
If sign-in issues persist, resetting the client clears the local databases and prompts a clean login window.
Windows Reset
- Press
Windows Key + Rto open the Run window. - Paste the command below and press Enter:
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset - If it fails, run:
C:\Program Files\Microsoft OneDrive\onedrive.exe /reset
macOS Reset
- Open Terminal.
- Run the built-in reset command:
/Applications/OneDrive.app/Contents/Resources/ResetOneDriveAppStandalone.command - Launch OneDrive and enter your account information.
Summary Checklist
| Action Item | Target Platform | Expected Outcome |
|---|---|---|
| Sync System Clock | Windows / macOS | Resolves security handshake errors caused by incorrect local time. |
| Purge Cached Credentials | Windows / macOS | Clears corrupted login tokens that trigger credential input loops. |
| Clear Active Proxies | Windows / macOS | Ensures OneDrive has a direct path to Microsoft’s login servers. |
| Run Client Reset | Windows / macOS | Clears out the app cache and prompts a clean login window. |