RDS deployment with Azure AD Application Proxy - RDP fails (authentication to the firewall failed due to missing firewall credentials)

Barry van Dijk 26 Reputation points
2021-05-04T10:47:13.403+00:00

Basically, followed this MS Article: [application-proxy-integrate-with-remote-desktop-services][1]

Installed and registered a connector following [application-proxy-add-on-premises-application][2]

Enabled the Web Client following [remote-desktop-web-client-admin][3]

Using https://

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,234 questions
{count} votes

11 answers

Sort by: Most helpful
  1. Leila Kong 3,691 Reputation points
    2021-05-06T02:24:05.76+00:00

    Hello @Barry van Dijk ,

    1.Do you use AD FS? Have you configured it with your RDS deployment, such as configuration mentioned in “ADFS WAP: How to configure SSO with RDWeb”: https://social.technet.microsoft.com/wiki/contents/articles/33630.adfs-wap-how-to-configure-sso-with-rdweb.aspx

    Did the problem happen when access RemoteApp using IE? If so, please try to disable the Internet Explorer Protected Mode on IE to check the result.

    2.Can you try to publish your External URL and not the MSAPPPROXY url made by Azure App Proxy?

    3.Will the issue be fixed if you try the following Resolution:

    I got the same popup in IE but I added RDWeb URL in the trusted sites and it went away. For non-IE browsers from the internet, we were getting this error which means my non-Microsoft OS users can’t use RDWeb. We opened a Microsoft case to fix this but Microsoft was clueless and reviewed multiple logs, involved WAP team, and other escalation teams. At the same time, Microsoft referred me to the TechNet link. https://technet.microsoft.com/en-us/library/dn765486.aspx After reviewing the link, I figured out that I had run the following command Set-RDSessionCollectionConfiguration -CollectionName “MyAppCollection” -CustomRdpProperty “pre-authentication server address:s:https://rdg.contoso.com’nrequire pre-authentication:i:1″ But I should have run this command. Set-RDSessionCollectionConfiguration -CollectionName “MyAppCollection” -CustomRdpProperty “pre-authentication server address:s: https://rdg.contoso.com/rdweb/n require pre-authentication:i:1″ After running the correct command. RDWeb app started working from all browsers from the internet. I should rather say, .rdp file started connecting to the apps and the error mentioned above went away.

    FYI: https://msexchangeguru.com/2017/01/16/rdweb-noniebrowsers/ https://social.technet.microsoft.com/Forums/windows/en-US/8dda420e-bddd-4dfb-a50b-cd4090be6d2b/publish-rds-2016-infrastructure-through-azure-ad-proxy?forum=winserverTS https://learn.microsoft.com/en-us/azure/active-directory/app-proxy/application-proxy-configure-custom-domain

    Best regards, Leila

    If the Answer is helpful, please click "Accept Answer" and upvote it. Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. Leila Kong 3,691 Reputation points
    2021-05-07T09:51:59.227+00:00

    Hello @Barry van Dijk ,

    This is a quick note to let you know that I am currently performing research on this issue. If you have any updates during this process, please feel free to let me know.

    Please also understand due to security policy and from our professional level, we do not provide dump/log analysis. In addition, if this problem is more urgent for you I still recommend that you open a case to Microsoft for further professional help.
    https://support.microsoft.com/en-us/help/4341255/support-for-busines


  3. Leila Kong 3,691 Reputation points
    2021-05-14T01:23:31.563+00:00

    Hello @Barry van Dijk ,

    1.Is there any related log on the RDgateway server?
    Event Viewer > Applications and Services Logs > Microsoft > Windows > TerminalServices > Gateway/
    admin
    Operational

    2.Do you use local server running NPS or central server running NPS?

    96592-nps.jpg

    3.Is RDgateway in DMZ?

    4.Can you draw a flow chart of the connection process?

    This issue seems a little complicated and we recommend you to open a case to Microsoft for further professional help. Thanks for your cooperation!
    https://support.microsoft.com/en-us/help/4341255/support-for-busines

    0 comments No comments

  4. Leila Kong 3,691 Reputation points
    2021-05-27T07:28:14.967+00:00

    Hello @Barry van Dijk ,

    We haven’t heard from you in a couple of days.
    Please post back at your convenience if we can assist further.


  5. Dheen Jaabir 1 Reputation point
    2021-07-06T12:11:47.863+00:00