If you are using the Bedrock Edition of Minecraft, you will most likely have to adjust the privacy settings on your Xbox in order to resolve this issue. You will need to make sure that Others may connect with voice, text, or invitations is set to Everyone if you are going to use this site to sign in to your Xbox account.