Hello Felix Toune,
Welcome to Microsoft Q&A forum.
Before we proceed, may I know if you have the same issue while sign in to any other Microsoft apps or the Microsoft website?
In the meantime, please try and follow this quick fix.
- Type "Credentials Manager" in the search bar and press Enter.
- Go to Windows Credentials
- Remove all entries:
- Contains "Xbl"
- Contains "Mojang"
- Related to your old account.
- Restart your computer.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.