If you can’t logon to remote desktop (Microsoft Windows 10 / Windows 11) from a Microsoft account, try this command line:
[WINDOWS KEY] + R
runas /u:MicrosoftAccount\YOUR_EMAIL_ACCOUNT winver
Type you Microsoft Account password when prompted.
Now you should be able to connect to this system without an issue (assuming, of course, that was your problem and you are running a Pro version of Windows).