After a night of troubleshooting why Windows Security wouldn't let me log in to my Microsoft account, going through all my settings and trying multiple Command Prompt and PowerShell commands, I finally figured out a solution. It turned out to be a relatively simple fix.
Symptoms:
- Windows Security repeatedly requests Microsoft account sign-in.
- Signing in produces the error: “Oops, something went wrong. Whatever happened, it was probably our fault. Please try again.”
- Your Microsoft account is already connected to Windows.
- Restarting and repairing Windows authentication components does not resolve the issue.
My Fix:
- Press Windows + R, enter
ms-settings:yourinfo and press Enter. This will open your account information in Windows Settings. - Under Account settings, locate the Microsoft account section, which reads “Windows is better when settings and files automatically sync.”
- Select “Sign in with a local account instead” and complete the process of disconnecting your Microsoft account.
- Sign back into your Microsoft account, reinstating the account integration and allowing sign-in across Microsoft applications.
- Once your account settings display “Sign in with a local account instead”, reopen Windows Security or the page that previously displayed the error. If your account has successfully synchronized, it should now sign you in automatically, and the sign-in option should appear to be gone.
Important: Before disconnecting your Microsoft account, make absolutely sure you can sign back in using your password, passkey, or other authentication methods. Ensure you also have access to any required two-factor authentication and account recovery methods if you are unsure of your account password.
Although this method turned out to be simple, it took hours of troubleshooting and going in circles before I discovered that resetting the Microsoft account integration was the solution.
I was able to successfully resolve my issue, and my Microsoft account now appears to be synchronized properly across my PC without errors.
I'm sure someone out there may have already shared this fix, but just in case, I'm happy to share my solution.
It may not work for everyone, but it is a relatively low-risk, reversible troubleshooting method worth trying before attempting more invasive Windows repairs.
Hopefully, this helps someone in the future and saves them some time spent troubleshooting.
(Note: My post was originally typed out by hand, summarized with AI, and proofread again by hand)
“(Confirmed Working Fix) Windows and Device Specifications.”
Operating System: Windows 11 Pro (64-bit)
Windows Version: 26H2
OS Build: 26300.10075
Manufacturer: MSI (Micro-Star International)
Laptop Model: GS65 Stealth 9SD
Processor: Intel Core i7-9750H @ 2.60 GHz
RAM: 16 GB
BIOS Mode: UEFI
Primary Antivirus: Kaspersky 21.27