Dear @Анастасия Кешкек,
Thank you for posting your question in the Microsoft Q&A forum.
We apologize for any inconvenience you may encounter when using our services/ products. Based on your description, kindly try these following steps:
Fully sign out and remove the wrong account
- Close the Minecraft Launcher.
- Open Microsoft Store > profile picture > Sign out.
- Open the Xbox app > profile > Sign out.
- Windows Settings > Accounts > Email & accounts > under Accounts used by other apps, remove any Microsoft account entries you do not recognize or no longer use.
- Press Win + R, run
wsreset.exeto clear the Store cache.
Reset Xbox identity components and delete stale tokens
- Update/Repair components
- Open Microsoft Store > Library > Get updates (ensure Gaming Services, Xbox app, and Minecraft Launcher are updated).
- If Xbox Identity Provider is missing, install it from Store; if present, Advanced options > Reset.
- Clear Token Broker cache
- Press Win + R, paste:
%localappdata%\Packages\Microsoft.XboxIdentityProvider_8wekyb3d8bbwe\AC - If you see a TokenBroker folder, delete its contents.
- Press Win + R, paste:
- Optional deeper reset (network + identity cache)
- Open Command Prompt (Run as Administrator) and run:
ipconfig /flushdns
ipconfig /release
ipconfig /renew
net stop clipsvc
del /S /Q C:\ProgramData\Microsoft\IdentityCache\*
net start clipsvc
Here is a reference: Troubleshooting Minecraft Sign-in Issues | Minecraft Help
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.