Fix problems signing in to the Xbox app
If you’re having trouble signing in to the Xbox app, here are a few things you can try.
Make sure that you’ve connected to the Internet.
Go to Xbox.com and sign in there to make sure that the Xbox service is up and running and you don’t have any issues with your account.
On your PC, go to Start > Settings > Time & language. Under Date and time, make sure that the Set time automatically setting is turned on.
If none of the other options work, go to Start > Settings > Accounts and find the Microsoft account you used to sign in to the Xbox app, and select Remove. Then go back to the Xbox app and sign in with the Microsoft account you just removed.