Forum Discussion
Cannot RDP to azure VM from local domain joined PC
I have an Azure VM behind an Azure VPN that I cannot connect to from certain PCs.
- This is an azure government instance at the free tier.
- The VM only has a Private IP, and can only be accessed when connected to the VPN.
- The VM doesn't have a DNS name/FQDN. I looked into giving it one, but the instructions call for a public IP so I couldn't complete the process.
- I am using the private IP address of the VM, and an Entra ID credential to connect through RDP
- I can reach the VM from my laptop, which is azure AD joined to a different tenant.
- I can reach the VM from a non-domain joined PC from the network I am working in.
- I CANNOT reach the VM from a local domain joined PC on the same network, even before applying policies.
- I get a "user logon failed" message from the PC
- I don't see the logon attempts in Entra ID Admin Center under "Sign-in Logs"
I'm all out of things I know to try to get this to work. Any insight or guiding questions would be greatly appreciated.
Thank you!
3 Replies
- iandoyle345Copper Contributor
Thanks for the reply!
I did make sure that no policies were applied, but just in case, do you know specific controls that would prohibit remote connection to another computer? I dug through GPs earlier but everything seemed to relate to remote connections to the local machine
May be the cause that prevent you is windows F.W
# Restricting RDP Access via Firewall Rules #
Open Windows Defender Firewall with Advanced Security.
Go to Outbound Rules.
Create a new rule:
Select "Port" and specify TCP 3389 (RDP default port).
Choose "Block the connection".
Apply the rule to Domain Profile.
Save and enforce the rule.@ may it is applied to your computer as an outbound rule !!
on the local domain joined PC you should check policies applied to that machine because it may prevent you from RDP to other servers
Note : you should have local admin privilege to that machine so it can show computers policies
From Run ---- Type -- rsop.msc
Check User rights assignment section !!