When you get the error message that the Account is already connected, it means that the account you are trying to connect is already logged in on the other device. In this case, you have to open your Microsoft account and check the devices you have connected with the account. If you see any unknown device connected to the Minecraft services, disconnect it.