Forum Discussion
Getting error 0x9735 when trying to connect using AAD account. Local Account works
I'm getting error 0x9735 when trying to connect using AAD account. Local Account works fine.
I have check with dsregcmd /status that both the client and the VM are joined to AAD
+----------------------------------------------------------------------+
AzureAdJoined : YES
EnterpriseJoined : NO
DomainJoined : NO
Device Name : xxxxxxx
+----------------------------------------------------------------------+
I can successfully connect directly to the VM after giving it a public IP by using the old fashion "Remote Desktop Connection" app (the blue one).
But I can't connect directly to the VM using the "Remote Desktop" app (the red one).
Any idea?
- LeeJac606Copper ContributorMake sure you are using the correct RDP manager
It needs to be 1.2.3667.0 which IS NOT DOWNLOADED from the store- ChrisLoundMicrosoft
this resolved it for me. Thanks!
- wiredkeenCopper Contributor
Please excuse the thread necromancy but this saved the day for me too - the "modern" red store RDP client wouldn't talk to an AzureAD machine, but the legacy one worked.
If you uninstalled it, you can reinstall the legacy rdp client from here: https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/uninstall-remote-desktop-connection
To use an AzureAD/EntraID login to RDP onto an AzureAD/Entra joined machine, you need to go into 'more options' and tick the 'use web credential to sign in...' tick box on the Advanced tab. More info, see this page:
https://learn.microsoft.com/en-us/windows/client-management/client-tools/connect-to-remote-aadj-pc#connect-with-microsoft-entra-authentication
As of August 2024 the store Remote Desktop app wouldn't let me use AzureAD 'web' credentials but the legacy mstsc app did
- Johan_VanneuvilleIron ContributorHave you added targetisaadjoined:i:1 to the custom rdp properties of the host pool?
- ParAdeenCopper Contributor
Yes, targetisaadjoined:i:1 is added to the RDP properties of the host pool
- Johan_VanneuvilleIron ContributorI found the following blogpost from Anoop. He talks about the same error message.
Are you connected from a device that is either
Windows device should be Azure AD Joined.
Windows device should be Hybrid Azure AD joined.
check out he's post here:
https://www.anoopcnair.com/avd-azure-ad-joined-vm-login-issue-error-0x9735/