Unable to play java edition using my microsoft account. It only lets me play the demo. When I try to login with my Mojang account it says the account has already migrated and to login using my microsoft account.
Linked issues
Comments 3

Duplicate of MCL-16570, which was later resolved as invalid because this is an account issue and the bug tracker is unable to help you. Please see the Mojang Studios note attached to the parent ticket to potentially fix this issue.

Thank you for your report!
We're tracking this issue in MCL-16570, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as invalid. Please take a look at the parent ticket (MCL-16570) and see if an explanation is provided there in the description of the ticket or in the comments for why this issue is invalid.
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! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
⚠️ 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