Function key does not get passed on to Windows in Amazon WorkSpaces

I am using MacBook Pro 2019 with Touch Bar and macOS Catalina 10.15.3. I have installed Amazon WorkSpaces 3.0.4 which I use to connect to Windows.

My Function keys are not getting passed on to my Windows.

How can I solve this issue?

Update 1:

Below are my keyboard settings.

enter image description here

Function keys that I have tried.

  • F11: Shows desktop on Mac
  • F5: In IE / Google Chrome does not refresh the page. It actually does nothing.
  • F4: In Outlook email message does not open the Find dialog. It actually does nothing.

Solution 1:

I played around with the Keyboard settings and found a workaround. In the Keyboard settings, set the "Touch bar shows" to "F1, F2, etc. Keys". After this setting, my function keys are being recognized in Amazon WorkSpaces. Although it does not recognize F11 as it still shows desktop on Mac. You also lose firect access to App Controls.

enter image description here