If you are unable to Login to the computer using Microsoft Account, you won’t be able to make purchases from Windows Store or use services like OneDrive that are linked to your Microsoft Account.
The reason for this issue could be due to Microsoft Account Sign-in Service being disabled on your computer or the login credentials that are stored in the Registry being damaged or corrupted.
Can’t Sign-in to Computer Using Microsoft Account
If you are certain that you are entering the right password and still unable to sign-in to Microsoft User Account, you should be able to fix the problem using troubleshooting steps as provided below in this guide.
If you have forgotten the password for Microsoft Account, you will have to go through the process of resetting the Microsoft Account Password using information as provided in this guide: How to Reset Microsoft Account Password.
1. Change Group Policy Settings
This method is applicable only if you are using the Enterprise or Pro versions of Microsoft Windows program on your computer.
If you are using the Home Edition of Microsoft Windows program, you can skip this method and move to the next ones.
1. Right click on the Start button and click on Run.
2. In the Run command window, type gpedit.msc and click on OK.

3. On Local Group Policy Editor screen, navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies (4) > and open Security Options (5) Folder.

4. In Security Options Folder, locate Accounts: Block Microsoft accounts Policy and double-click on it.
5. On the pop-up, select This Policy is Disabled option and click on Apply and OK.

This will disable the Group Policy that was blocking the Microsoft Account on your computer and this should allow you to login to the computer using Microsoft Account.
2. Enable Microsoft Account Sign-in Assistant Service
As mentioned above, the problem could be due to Microsoft Account Sign-in Service being disabled on your computer.
1. Open Run Command > type services.msc and click on OK.

2. On the Services screen, scroll down to Microsoft Account Sign-in Assistant and double-click on it.

3. On Microsoft Account Sign-in Assistant Properties screen, set Startup type to Automatic and click on the Start button (in case the service is stopped).

4. Make sure that you click on Apply and OK to save this change on the computer.
After this, restart the computer and you should able to login to the computer using Microsoft Account.
3. Clear Microsoft Account Credentials From Registry
It is possible that you are unable to Login to computer using Microsoft Account due to your login credentials being damaged or corrupted.
In such a case, you can clear the damaged Microsoft Account credentials from the registry and this should fix the problem.
1. Open Run Command > type regedit and click on OK.

2. On Registry Editor screen, navigate to HKEY_USERS > .DEFAULT > Software > Microsoft > IdentityCRL and open StoredIdentities Folder.

3. In StoredIdentities Folder, right-click on your Microsoft Account and select the delete option.
4. Close the Registry Editor Screen.
After closing Registry, you need to add Microsoft Account to computer by going to Settings > Accounts > Sign-in With Microsoft Account.

Enter the Email Address linked to your Microsoft Account and complete the process of adding Microsoft Account to computer.