This Reddit user, for example, has encountered this problem, and other users come to the rescue with a simple solution that seemed to have worked, ultimately. In order for you to be able to sign in back to your Microsoft Account, you’ll need to reinstall all the built-in Microsoft Store apps. And it goes like this.
- Open the Powershell app as an Administrator.
- Enter this command:
Get-AppxPackage -allusers | foreach {Add-AppxPackage -register “$($_.InstallLocation)appxmanifest.xml” -DisableDevelopmentMode}
- Close Powershell and restart your PC.
When you are back on your Windows 11 desktop, sign in to your Microsoft Account. It should be working now.
Please do let us know if this solution worked for you.