I own multiple accounts with one of them being Mojang and the others being Microsoft. I have found an issue which has happened to me and multiple other people I know. Occasionally every couple days or so the minecraft launcher will forget my microsoft accounts own the game and will say i can only play the demo. This happens with all of them at the same time. To fix this issue all i have to do is remove and relog into my ms accounts in the launcher so im able to use them again. This also happens when i change the skin/name of one of these accounts and suddenly I all of these ms accounts forget that i own the game and i have to relog for all of them. This doesn't happen with my Mojang account. As it happens randomly every few days or so it gets very frustrating to always re add these accounts just if i want to play on a different one. Hope you can help me with this issue, thanks
Linked issues
Comments

Duplicate ofย MCL-16570. Please follow the instructions in this ticket to potentially fix this issue.
Yes that issue does sound a bit like mine but its definitely not the same and all of those 'solutions' doesn't stop this from happening

Thank you for your report!
We're tracking this issue in MCL-16570, 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! If you think it was incorrect, please notify us on Discord or Reddit
โ ๏ธ Please do not mark Unreleased Versions as affected. You don't have access to them yet.
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit