RDWeb webclient & Azure application proxy

van Daalen 41 Reputation points
2021-11-02T15:45:58.187+00:00

Hello,

I have a question about using rdweb webclient onprem mixed with using it with azure application proxy.
Let me explain my situation:

We have an onprem RD deployment and recently we started using M365 and Azure.
We allready have a working application proxy setup and i have added a new enterprise application pointing to our internal rdweb webclient following this docs:
https://www.patrickvanbemmelen.nl/using-azure-app-proxy-with-rdweb/
https://learn.microsoft.com/en-us/azure/active-directory/app-proxy/application-proxy-integrate-with-remote-desktop-services#direct-rds-traffic-to-application-proxy

Right now i can login to the HTML5 webclient, this part is working. When i click a published remote app its not doing anything and im getting an error "we are unable to connect to.."

In the documentation im at the part i need to direct RDS traffic to the application proxy. However i do not want to edit the Gateway address in my deployment settings to the application proxy URL because i have a working onprem situation and dont want to send all users to the application proxy address only a kopple of users that will be working with this.

Is it enough running the PS script on the collection i want to use with application proxy? Set-RDSessionCollectionConfiguration -CollectionName COLLECTIONNAME -CustomRdpProperty "pre-authentication server address:s:AZUREAPPURL`nrequire pre-authentication:i:1"

Or is there another way to solve the problem im experiencing?

Thanks!
LEVD

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,259 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,664 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. van Daalen 41 Reputation points
    2021-11-04T11:16:22.167+00:00

    Can anyone help with this?

    0 comments No comments

  2. van Daalen 41 Reputation points
    2021-11-04T12:02:36.207+00:00

    I found out about the following command to use for using a specific gateway per RD collection:

    Set-RDSessionCollectionConfiguration –CollectionName "Your Collection" -CustomRdpProperty "gatewayhostname:s:<GATEWAY.FQDN>:<Port, e.g. 9999>" -ConnectionBroker <Your Connection Broker>

    0 comments No comments