Remote Desktop Protocol (RDP) refuses to accept Microsoft Account (MSA) credentials, even when correct details are provided.
You can enable remote desktop access on a Mac to allow yourself and others to access your computer from a different location.