Insights

How to require multifactor authentication for Remote Desktop

Choose where to require MFA for Remote Desktop, then check that fresh sign-ins enforce it and blocked routes can't reach the host.

Illustration of desktop terminal with reversible token cradle.
On this page

To add multifactor authentication (MFA) to Remote Desktop Protocol (RDP), choose which sign-in should enforce it. Use Remote Desktop Gateway when all covered connections must pass through it, or a supported Windows logon integration when the host itself must enforce MFA. Microsoft Entra Conditional Access can require MFA on supported Windows connections that use Microsoft Entra authentication.

In short:

  • Match the sign-in. Require MFA at the gateway, the Windows host or the supported Entra sign-in.
  • Restrict direct access. Keep the host’s RDP port off the public internet.
  • Test fresh sign-ins. Check that an unmet MFA requirement stops a new session.

Where to require a second factor

An earlier sign-in doesn’t add another factor by itself, and an authenticator app doesn’t enforce an access rule on its own. Choose the enforcement point that covers the sign-in your users actually use.

Enforcement pointSign-in coveredWhat to check
Remote Desktop GatewayConnections through the gatewayAll covered connections must use the gateway
Windows logon integrationIncoming RDP logon on the hostIntegration supports your Windows setup and account type
Microsoft Entra Conditional AccessSupported RDP web-account sign-inClient uses Entra authentication and the MFA policy applies

In the Microsoft Entra gateway integration, the Network Policy Server (NPS) extension handles the MFA check. Enroll users in phone verification or Microsoft Authenticator push notifications with Approve or Deny. This gateway flow has no field for a verification code, so methods that need one won’t work.

For direct Entra web-account sign-in, use a supported Windows setup and connect by hostname instead of by numeric address. The hostname must match the device’s record in Microsoft Entra ID and resolve to the host’s network address.

What Remote Desktop MFA doesn’t cover

A direct RDP connection goes to the host’s listener, which accepts connections on the configured RDP port. If devices on a private subnet can reach that port directly, their connections don’t go through the gateway’s MFA check. Keep the listener off the public internet and use firewall rules to block direct access from private networks that shouldn’t reach it. If you keep an approved direct route, give it its own sign-in control that requires MFA.

A sign-in check doesn’t fix software flaws or protect other access methods outside its rule. Keep the host patched and restrict those other methods separately.

Check that your MFA rule holds

  1. List the routes you’ll test. Record the host, its listener port, the approved and prohibited routes, and the expected sign-in method for each approved route. Use an authorized test account, make sure you can read the policy results, and keep a separate recovery route available.
  2. Try both outcomes on each approved route. Start a fresh sign-in and meet the MFA requirement. Then start another fresh sign-in with otherwise valid credentials and deny the verification request or leave it unmet. Record the policy result and whether a desktop session opens each time.
  3. Check prohibited direct routes separately. From each prohibited route, check whether you can reach the host’s RDP listener without going through the gateway. Record whether the port is reachable, not whether the host accepts your credentials.
  4. Confirm the Entra sign-in method. RDP doesn’t use Microsoft Entra authentication by default, even when the host is Entra-joined. A working private route to that host doesn’t prove Conditional Access ran. If you expect an Entra policy to apply, confirm the client used Entra authentication and check the policy result instead of relying on whether you saw a prompt.

Use one row per route and sign-in method, replacing the bracketed fields with your results.

Route and methodReachability resultPolicy resultsSession outcomes
[Approved route and actual sign-in method][Reachable or blocked]Met: [result] / Unmet: [result]Met: [opened or blocked] / Unmet: [opened or blocked]
[Prohibited direct route] / No sign-in test[Listener reachable or blocked]Not checkedNot attempted

The check passes when the approved sign-in opens a session with MFA met, the unmet attempt opens no session, and prohibited direct routes can’t reach the listener. If reachability differs from what you expect, check the route and firewall. If the host is reachable but the sign-in result differs, check the sign-in method and policy result. These results cover only the routes, accounts and fresh sign-ins you tested, not reconnects or sessions already open.

Where doxx.net fits. Use the doxx.net private network as a route to Remote Desktop, with firewall rules controlling who can reach the host and a separate sign-in control enforcing MFA. For that private route, create an account, download the app and connect a device.

Ask an AI assistant

Share this article

Private Everywhere

Stop giving the internet everything

Keep your browsing, messages, files, and agents private.