You'll need to log into your Microsoft account before you are able for access to Minecraft on your PC. Go to the main menu of Minecraft. The main menu of Minecraft games and then select "Sign in" using your Microsoft account. You'll be able to see eight digits that code. Then, visit https //aka.ms/remoteconnect and you'll be asked for you to type in the. After entering the code, you'll be able to log in to your Microsoft accounts once you've entered that code.

Via  Aka.ms/remoteconnect