Changing from Windows 10 local account to online account windows will not accept your recently changed password.

Windows lets you enter your user name and then enter your password and then tells you that you must enter it a second time.

This happens when you are switching from a local account to an online account. You may have changed your password recently or just changed it in response to the windows failure to accept your current password.

The only solution that I found is to instead of changing from local to online is to just create a new windows account as an online account. Here windows will accept your account password

After doing this you will want to copy your windows local account data to the newly created online account.