Fix Microsoft Account Sign-In Problems in Windows 11
The Problem
Windows refuses to sign in to your Microsoft account — with "We couldn't sign you in", "Something went wrong", or a code such as 0x80190001, 0x8000704ec, or 0x80070426. The account works fine in a browser, which is what makes it maddening.
The sign-in inside Windows is not the same path as the website. It depends on a specific service, a correct system clock, a working network stack, and a set of cached credentials that can go stale. When any one of those is wrong, Windows gives you a generic message that names none of them.
Signed in already but stuck at "PIN is not available"? Different problem, different fix — see fix Windows Hello "PIN is not available".
Symptoms
- "We couldn't sign you in" when adding or reconnecting a Microsoft account.
- Settings → Accounts shows "You need to fix your Microsoft account" with a banner that does nothing when clicked.
- Microsoft Store, OneDrive, or Xbox apps repeatedly ask you to sign in.
- Codes
0x80190001,0x8000704ec,0x80070426, or0x800706d9. - The same account signs in normally at
account.microsoft.comin a browser.
Step 1: Fix the Clock and Time Zone
A system clock more than a few minutes out breaks the secure token exchange, and this is the single most common cause.
- Settings → Time & language → Date & time.
- Turn Set time automatically on, then click Sync now under Additional settings.
- Set the correct Time zone, and turn Set time zone automatically on.
- If the clock resets every boot, the CMOS battery on the motherboard is flat — replacing it is a few minutes' work and fixes this permanently.
- Restart and try signing in again.
Step 2: Confirm the Account Itself Is Healthy
- On a phone or another PC, sign in at
account.microsoft.comwith the same address. - If Microsoft asks you to verify your identity, complete that — an unverified or security-locked account fails silently inside Windows.
- Check for an alert about unusual activity, and clear it.
- If you changed the password recently, that is likely the whole problem: Windows is still presenting the old one. Continue to Step 5.
- Make sure recovery options are current while you are there: set up account recovery options.
Step 3: Check the Network Path
- Confirm the browser can reach
login.live.comfrom this PC. - Disconnect any VPN or proxy and retry — sign-in frequently fails through a VPN: set up a VPN on Windows 11.
- Turn off metered connection for the current network: Settings → Network & internet → Wi-Fi → your network → Metered connection off.
- If name resolution is unreliable, switch to a public resolver: how to change DNS servers.
- Temporarily disable third-party firewall or "web protection" modules and retry: fix Windows Firewall blocking apps.
Step 4: Restart the Sign-In Services
Windows uses a dedicated service for Microsoft account tokens, and it can end up stopped or set to manual.
- Windows + R →
services.msc→ Enter. - Find Microsoft Account Sign-in Assistant. Set Startup type to Automatic (Trigger Start) and click Start if it is stopped.
- Do the same for Windows Update and Background Intelligent Transfer Service — both are used by the account flow.
- Or from Terminal (Admin):
net start wlidsvc - Restart the PC and retry.
Step 5: Clear the Cached Credentials
Stale tokens after a password change produce exactly this failure.
- Open Control Panel → Credential Manager → Windows Credentials.
- Expand and Remove every entry beginning
MicrosoftAccount:orSSO_POP_Device, plus anyvirtualapp/didlogicalentry. - Then go to Settings → Accounts → Email & accounts, select the Microsoft account, and choose Remove.
- Restart, then add the account again with Add a Microsoft account.
- Have the current password to hand — this is where an out-of-date saved password stops being invisible: use a password manager safely.
Step 6: Handle Two-Factor and App Passwords
- If the account has two-step verification on, complete the prompt on your phone or authenticator app when it appears — Windows sometimes shows it behind the Settings window.
- Older apps that cannot show a second-factor prompt need an app password, created at
account.microsoft.com/securityunder Advanced security options. - If you have lost access to your second factor, use a recovery code before doing anything else — without one, account recovery takes days.
- Keep this working: set up two-factor authentication (2FA).
Step 7: Reset the Store and Repair System Files
- Windows + R →
wsreset.exe→ Enter. A blank window sits for about 30 seconds, then the Store opens. - Settings → Apps → Installed apps → Microsoft Store → Advanced options → Repair, then Reset if repair does not help.
- In Terminal (Admin):
sfc /scannowDISM /Online /Cleanup-Image /RestoreHealth - Reboot and repeat
sfc /scannow. Detail: how to run SFC and DISM. - More on Store failures: fix Microsoft Store not working.
Step 8: Switch to Local, Then Relink
Breaking the link and rebuilding it clears state that nothing else reaches.
- Settings → Accounts → Your info → Sign in with a local account instead.
- Set a local password, sign out, and sign back in as the local account.
- Restart, then go to Settings → Accounts → Your info → Sign in with a Microsoft account instead and enter your credentials fresh.
- If it still fails, test on a brand new local administrator account: Settings → Accounts → Other users → Add account. Success there means your profile is damaged — see fix "signed in with a temporary profile".
- Before switching to local, note that BitLocker keys and some app licences are tied to the Microsoft account — save your recovery key first: fix the BitLocker recovery key loop.
What Not to Do
- Don't create a second Microsoft account to get past the error. You will split your licences, OneDrive files, and BitLocker keys across two accounts and make recovery harder later.
- Don't remove the account from Settings until you know the current password and, if BitLocker is on, have the recovery key saved elsewhere.
- Don't turn off two-factor authentication to simplify sign-in. Fix the prompt instead: set up two-factor authentication (2FA).
- Don't enter your credentials on a page you reached from an email link. Sign-in problems are a favourite pretext for phishing: spot and avoid phishing emails and scams.
Still Not Working?
If a new local admin account also cannot add the Microsoft account, and the clock, network, services, and credentials are all correct, the problem is on the account rather than the PC — sign in at account.microsoft.com and work through Microsoft's account recovery. If you suspect the account has been compromised, act on that first: recover a hacked email account.
Related: fix "User Profile Service failed the sign-in", reset a forgotten Windows password, and fix error 0x80070005.
Related guides
Fix "PIN Is Not Available" in Windows 11
Locked out by "Something happened and your PIN isn't available"? Sign in with your password, reset the Ngc folder, and set the PIN up again properly.
How to Fix the BitLocker Recovery Key Loop in Windows 11
Windows keeps asking for a BitLocker recovery key at every boot? Here is where to find your key, how to get back in, and how to stop the prompt returning.
Fix "You Need Permission to Perform This Action"
Access denied when opening or deleting your own files in Windows 11? Take ownership, repair broken permissions, and fix folders inherited from an old PC or user account.
How to Spot and Remove a Fake Antivirus or Scareware
Browser locked by a virus warning? Remove fake antivirus pop-ups and tech-support scareware on Windows 11 without calling the number on screen.
How to Fix Windows Defender Not Working or Turned Off
Windows Security shows threats need attention but Defender won't turn on—fix group policy blocks, stale services, and malware that disables antivirus.