Please help, how to play multiplayer on the Windows 10 edition? Gives me error failed to login.

Thank you for telling me about Xbox live companion app. I downloaded it from Microsoft store and when I opened it, it gave me error 0x406, which means that "The Xbox companion app and/or the Microsoft store don't work properly because the other pre-installed/default Microsoft apps that come automatically with a Windows installation, are missing, broken or need to update" . In my case they were missing completely because I uninstalled all of the pre-installed Windows apps for space and because I thought they were useless. So I run powershell command on windows as administrator, and pasted some script I found on Google that makes the pre-installed apps install again. The I restarted the pc, the updated them , then reinstalled again and when I clicked on login in Minecraft, it prompted the Xbox live

/r/Minecraft Thread Parent