Question: how do you change your microsoft account on minecraft?
Answer: Log in to your Xbox Live profile on this link. Click on the Xbox One/Windows 10 Online Safety. Make sure that Join multiplayer games is set to Allow. Click the Save button and try to play online again.