@MojangSupport I've bought Minecraft on a Microsoft account, I've played on it as well but when I log on to it on the Minecraft Launcher it says I haven't bought the game yet, even though I'm 100% certain I've played on that account and stats from Minecraft servers shows I have.
If you can only play Minecraft demo, please visit https://help.minecraft.net/hc/en-us/articles/360029643892-Can-only-play-Minecraft-demo-Java-Edition- … for help.