there is this bug where I log into my Microsoft account in my Minecraft bedrock on Nintendo switch. when I put in the code the game shows my Gamertag but it goes away and gives me a message saying it didn't log into my account.
Related issues
duplicates
Comments

Thank you for your report!
We're actually already tracking this issue at MCPE-95651, so I will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki