RD Web Access cannot connect

Ben Mac 21 Reputation points
2021-08-02T05:19:20.447+00:00

Hey All,

So i have setup a small RDS setup with 1 RD Web Access, Gateway and Licensing Services on 1 Server and 2 Session Hosts.
Web Access works fine when internal no issues. even works over our VPN.

But i want to allow access from non work machines without VPN.
I'm using Azure Application Proxy to allow the internal Web Access link to be accessed external with o365 login.
I can login to the Web Access main page page fine but when i click on the RDP Session and Type in my username and password i get The Login Attempt Failed.
I have tried some stuff i found when googling.
Setting Authentication on the RPC is IIS to Windows Login Only
Setting the HTTP Redirection on the RDWeb to (Not Subdirectories)

I'm not sure what else to try if anyone can help i would be hugely greatful.

Thanks.

Windows for business Windows Client for IT Pros User experience Remote desktop services and terminal services
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jenny Yan-MSFT 9,356 Reputation points
    2021-08-02T09:14:42.073+00:00

    Hi,
    In normal RDS deployment, it is the Gateway role that provide users to securely access the remote computers from external network.

    In your deployment, have you unchecked the "Bypass Gateway server for local addresses" ? (Step 7)
    https://learn.microsoft.com/en-us/azure/active-directory/app-proxy/application-proxy-integrate-with-remote-desktop-services#direct-rds-traffic-to-application-proxy

    Moreover, it is worthy to test by directly remoting through RD gateway via mstsc instead of RD web access and check the event logs on both client and server side:
    Event log checking:

    TerminalServices-RemoteConnectionManager and TerminalServices-LocalSessionManager logs to view information about connections.

    Step 1: Press Windows+R to open the Run dialog, enter eventvwr (or eventvwr.msc) and hit OK.

    Step 2: Navigate to Event Viewer\ Applications and Services Logs\ Microsoft\ Windows\ TerminalServices-*

    At last, based on my research, one use also shared his resolution of checking RAP on the RD gateway manager.
    https://community.spiceworks.com/topic/2093837-unable-to-authenticate-any-users

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.


    If the Answer is helpful, please click Accept Answer and upvote it.

    Best Regards,
    Jenny

    0 comments No comments

  2. Ben Mac 21 Reputation points
    2021-08-03T07:31:27.19+00:00

    Hey Jenny,

    Thanks for the reply.
    I have tried the steps in the provided links still does not work. Got an another error but fixed that and now back to the original issue or The Login Attempt Failed.
    Added the Session Hosts to the RAP Policies did not work either.
    I cannot see anything in the event logs on the Gateway or Session Host machines that would indicate why the login attempt failed.

    Regards,
    Ben

    0 comments No comments

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.