First, you need to connect to the remote desktop from which we will be transmitting audio. Immediately after connecting, we can see that the sound options icon appears with a red cross, which means that the sound service is disabled.

Right-click on the sound icon and click on the Sounds menu.

In case you don't already have audio support enabled on your system, you will be prompted to enable it to work with audio. Click "Yes".

After the audio service is turned on, you will see a window with the audio settings.

Now we need to configure the security policy of the Windows Server system and allow audio recording over the network. To do this, use the quick search box in the lower left corner or open Start and start typing "gpedit.msc"

In the new security policy settings window, on the left side of the navigation, go to the next category and find "Allow audio recording redirection":
Local Computer Policy -> Computer Configuration -> Administrative templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Device and Resource Redirection
Select Allow audio recording redirection and click "Edit policy setting" or double click on the setting itself to open the security settings.

Enable access to the recording transmission by switching the parameter to "Enabled" and close the window by clicking "OK".

In order for the sound transmission from the remote desktop to your local computer to work properly, we need to install the remote desktop service. To do this, click on "Start" and open "Server Manager".

Click on "Manage" and select "Add Roles and Features" from the list.

Follow the instructions.



At this point, click on "Remote Desktop Services"

Follow the instructions.


Click on "Remote Desktop Session Host"

Click on “Add Features”

Click on “Next”

Mark to reboot the remote computer to install and apply the new settings

Confirm the reboot by clicking "Yes.”

Start installing the service by clicking on "Install.”

Installation process

In the process of installing the remote desktop service, your remote desktop will be rebooted several times.
Now that the service has been successfully installed, we can connect to the remote desktop.
Click on the sound icon and go to Sounds.

When you open the Audio Settings menu, you will be notified that the system is not configured to allow microphone operation for programs. Tap this notification.

Allow access to the microphone by toggling the slider to "On" and close the Sound window.

Open the sound settings again and now you should have a working microphone.

By performing these operations, you can easily and quickly turn on the microphone in rdp!
Limitations:
On the WebApp, you only get Audio Out, but no Audio In, meaning your Microphone will not work.
However, you can bypass that issue by enabling the Workspot Media Extension and lunching Teams locally. Click here to see Document on how to Enable.
Troubleshooting
Press Win + R to open Run.
Type devmgmt.msc and click OK to open Device Manager.
In Device Manager, expand the Audio inputs and outputs section.
Make sure your output device is listed. If not, click on View and then select Show Hidden Devices.
Next, select and right-click on your audio device and select Update Driver.

Click on Browse my computer for drivers.

Next, click on Let me pick from a list of available drivers on my computer.

Check the Show compatible hardware option.

Next, select Generic software device and click Next.
Wait for Windows to finish installing the drivers for the device.
Close the Device Manager and check for any improvements.