I recently replayed my console and wanted to replay minecraft, except that when I logged in to play with my friends, I couldn't because I wasn't logged in to my Microsoft account. I've tried to log in multiple times, but I can't figure out which account to associate with which one. I am waiting for your answers. Thank you in advance.
Related issues
Comments

Thank you for your report!
We're tracking this issue in MCPE-96635, so this ticket is being resolved and linked 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:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit