Question: how to change your microsoft account in 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.