RDS 2019 No Audio Azure Application Proxy

LeaUK 1 Reputation point
2021-10-14T15:41:17.03+00:00

Hi All

Seems like its all change since the TechNet Days, anyhow....

New RDS 2019 farm on-prem with RDWeb RDGW and Webclient.

NO audio redirection with Azure App Proxy :-(

Without Azure App Proxy and by using CustomRDPSettings and adding audiocapturemode:i:1 remote audio is passed through to the RDS app RDweb & Webclient (brilliant).

Here's how to add a CustomRDPSetting:

Set-RDSessionCollectionConfiguration –CollectionName "MyCollectionName" –CustomRdpProperty "use redirection server name:i:1 `n audiocapturemode:i:1"

the `n (back-tick n) is required - it means new line. The RDP file will now contain the Custom Property

use redirection server name:i:1 was already there so we have to add both to the PowerShell command

The registry is updated on the local RDCB here:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\CentralPublishedResources\PublishedFarms\TU\DeploymentSettings

HERE'S the PROBLEM
Added Azure AD Application Proxy Connector and published as here: https://learn.microsoft.com/en-gb/azure/active-directory/app-proxy/application-proxy-integrate-with-remote-desktop-services

BUT no audio tick box is presented as a user option when an app is chosen, also audiocapturemode:i:1 is NOT in the downloaded RDP file. This seems to indicate Azure is not reading the Custom Properties from the RDCB?

So where can CustomRDPProperties be set?

Many thanks
Lea

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. LeaUK 1 Reputation point
    2021-10-15T09:09:35.523+00:00

    So this new Docs platform so far is somewhat disappointing, in the old days of Tech Net Forums the community was buzzing with responses especially from MS certified folk. What a shame :-(

    Have I posted in the wrong place, or is the only method based on tags?

    0 comments No comments

  2. LeaUK 1 Reputation point
    2021-10-15T11:46:40.237+00:00

    Update:

    It's not Azure App proxy, the on-prem RDCB 'lost' its CustomRDPProperties settings, missing from the registry, not sure why but it could be related to either Azure App Proxy install OR the creation of a new Collection, audiocapturemode:i:1 was missing in action.

    Ran the required PS again (inc Azure pre-auth) and resolved, Mic is now present and audio is redirected from local device to RDS app :-)

    Set-RDSessionCollectionConfiguration –CollectionName "MyCollectionName" –CustomRdpProperty "use redirection server name:i:1 `n audiocapturemode:i:1 `n pre-authentication server address:s: https://MyAppName-mycompany.msappproxy.net/ `nrequire pre-authentication:i:1"
    

    Useful RDP file check, run from RDCB:

    (get-wmiobject -Namespace root\cimv2\terminalservices -Class Win32_RDCentralPublishedRemoteDesktop).RDPFileContents

    Phew!!

    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.