Question: how to change your microsoft account for minecraft?
Answer: Using another device, such as a phone or a tablet, go to https://www.microsoft.com/link. Enter the code shown on your Nintendo Switch. After successful sign in, you will be connected to Minecraft Dungeons with your Microsoft account! Microsoft Account Settings can be changed at https://account.xbox.com/settings.