There are two main instances where you may encounter the Aka.ms/remoteconnect error. The first is when you attempt to use Minecraft’s crossplay features for the first time on your device, if it is not already associated with a Microsoft account. This is likely to occur when you play the game on PlayStation, Nintendo or other non-Microsoft devices.

The second reason this error might show up is because of a recent change of device. For example, if you switch from using an Xbox console to a PlayStation console, or from a PlayStation console to a Nintendo console.

For more details    https //aka.ms/remoteconnect