Hello,
Thank you for posting in the Microsoft community forum.
May I know if Windows Hello is enabled on your local client (such as a PIN or fingerprint)?
Try logging out of the system and using the password of your Microsoft account to log in once, and then try remote connection again.
I hope this helps. If you have any follow-up questions, please contact us.
Best regards
Jacen