Which error code are you getting?
Settings → Accounts → Family & other users → Add someone else to this PC → "I don't have this person's sign-in info" → Add a user without a Microsoft account
Use this local account to log in, then re-link your Microsoft account from inside Windows