How do I log into Minecraft with my username?

How do I log into Minecraft with my username? Microsoft Account
When logging into the game or the site you use a Microsoft login. When you make your purchase, you will be prompted to link a Microsoft account. You can then select a Minecraft username and log into the game using your Microsoft credentials.

Can I recover Minecraft account with username? For legacy Minecraft accounts, you log in with your username instead of an email. If you have a legacy account and forgot your username, please contact Minecraft support.