How to Fix OneDrive Not Syncing Due to Missing Verification Code
Question details
The user is unable to sync OneDrive because the required Microsoft sign-in verification code sent to their Hotmail or Outlook email address is never received.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to sign in to the OneDrive desktop application to sync local files to cloud storage.
- Observed behavior
- OneDrive synchronization stops entirely. The verification email fails to arrive in the inbox, preventing account access even after confirming the internet connection, restarting the computer, or reinstalling the OneDrive app.
Ensure you have a stable internet connection and avoid requesting the verification code repeatedly in a short time frame, as this can trigger a temporary security lockout on your Microsoft account.
Verify Email Settings and Test Microsoft Account Online
Testing your sign-in through a web browser helps isolate app-specific issues, while checking email settings ensures automated messages aren't being filtered out.
Sometimes the issue is isolated to the OneDrive or Office desktop clients. By signing into the web version of your Microsoft account, you can determine if the code delivery system is working. Additionally, strict email filters might misclassify automated Microsoft codes as spam.
Open a web browser and navigate to the official Microsoft account login page. Enter your credentials to trigger a verification code request through the web interface instead of the OneDrive app.
Log into your Hotmail or Outlook email account. Check the 'Junk Email' and 'Deleted Items' folders to see if the verification code email was automatically redirected there.
Go to your email Settings, then navigate to 'Mail' > 'Junk email'. Ensure 'account-security-noreply@accountprotection.microsoft.com' is not on the blocked senders list. Also, check the 'Forwarding' settings to ensure emails aren't being automatically routed to another address.

Use an Alternative Recovery Method
Bypass the problematic email delivery system by verifying your identity using an alternative method linked to your Microsoft account.
Check Microsoft Service Status and Wait
If codes work elsewhere but not in OneDrive or Office, it may be a temporary server-side issue that requires waiting for Microsoft to deploy a fix.
Switch to WPS Office for Seamless Cloud Syncing
If persistent Microsoft verification issues and OneDrive sync failures are disrupting your productivity, consider switching to WPS Office. It provides a lightweight, highly compatible alternative with its own robust built-in cloud storage, completely bypassing Microsoft's complex verification loops.
- 1. Install WPS Office: Download and install the free version of WPS Office from the official website.
- 2. Activate WPS Cloud: Open the application and create a free WPS account to instantly activate your built-in WPS Cloud storage.
- 3. Sync Your Documents: Open your local Microsoft Office files in WPS and enable 'Auto-Backup' to securely sync your documents to the cloud without needing OneDrive.

Frequently Asked Questions
Why am I not receiving the Microsoft verification code for OneDrive?
The automated verification email might be incorrectly routed to your Junk or Spam folder, blocked by strict email filters, or delayed due to a known Microsoft server-side issue specifically affecting the OneDrive desktop application.
Will uninstalling and reinstalling OneDrive fix the missing code issue?
No. Uninstalling and reinstalling the OneDrive app or restarting your computer typically does not resolve account verification delivery problems, as these are related to cloud authentication servers or email routing rather than local software corruption.
Can I sync my local files to OneDrive without the verification code?
No, Microsoft strictly requires account verification to authenticate your device for security reasons. You must either successfully receive the code, use an alternative Two-Factor Authentication (2FA) method, or wait for the service to be restored if there is an active outage.
Does this verification issue affect other Microsoft Office applications?
Yes, users frequently report that when OneDrive desktop verification fails, other local Microsoft Office components (like Word or Excel desktop apps) may also struggle to authenticate, even if signing into the Microsoft account via a web browser works perfectly.




