Microsoft RDS with Azure Application proxy error- Gateway timeout - Connector did not response within timeout window

Sunil Saini 0 Reputation points
2025-04-16T17:47:03.1+00:00

Configured Microsoft RDS ( RDWEB+RD Gateway) with Azure Application proxy. when try to open the external URL, It prompt for username - password - MFA and after that give the Gateway timeout error.

Internal URL is working and able to access the application with internal URL

Remote address is not the address of my private connector

User's image

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,688 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Navya 18,840 Reputation points Microsoft External Staff Moderator
    2025-04-16T19:30:14+00:00

    Hi @Sunil Saini

    I understand that you've configured Microsoft RDS (RD Web + RD Gateway) with Azure Application Proxy. When attempting to access the external URL, you're prompted for a username, password, and MFA, but then encounter a Gateway Timeout error.

    A Gateway Timeout error typically occurs when the service is unable to reach the connector within the designated timeout window. This often happens if the application is assigned to a connector group without any active/working connectors or the necessary network ports are not open.

    To help resolve this issue, please review the following suggestions:

    1. Verify the Internal URL is accessible by opening the application via Enterprise Applications > Application Proxy in the Azure portal.
    2. Check Connector Group Assignment that the application is assigned to a connector group that contains at least one active and healthy connector. Refer to: Tutorial: Add an on-premises application for remote access through Application Proxy
    3. Make sure all necessary ports are open for outbound traffic from the connector. For your reference: Add an on-premises application for remote access through application proxy in Microsoft Entra ID

    As you mentioned, you've already verified the internal URL and observed through a network trace that traffic is not routing through your private connector. Please ensure that the application is correctly assigned to a working connector group to resolve this.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.