How to Add or Remove Microsoft Account on Windows 10
How to change Microsoft account in Windows 10
Open Windows Settings (Windows key + I).
Then click Accounts and then click on Sign in with a local account instead.
Then sign out of the account and sign in back.
Now open Windows Setting again.
Then click on Accounts and then click on Sign in with a Microsoft Account.