This has occasionally happened to me before, but not on this scale. I would sometimes get signed out of my Microsoft Account, but not EVERY time I loaded up Minecraft. And when I tried to log back in, it would ask me wether I wanted to save my purchases to the account or the system. I have to spam-press save to Microsoft account for it to give me the sign-in code.
Related issues
duplicates
Comments

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