When a host opens Teams on a Windows VDA and starts a meeting with an invitee from a Windows environment (the invitee can use a physical Windows machine, a remote Windows by RDP, or a Windows VDA), after the host shares the screen with the invitee and gives control to the invitee, the host from the Windows VDA switches his/her input language to German from English and lets the invitee type something on the host's shared screen (e.g., on an opened Notepad). The invitee also changes the input language to German on his/her side and starts to type characters on the host-shared screen. However, the characters entered by the invitee are inconsistent with the characters that should be generated by pressing the keys in the German language input.
Option 1: Enable keyboard dynamic sync on Citrix Workspace app, to synchronize the correct keyboard layout on Windows VDA, then reopen Teams. During screen sharing and giving control, do not change the keyboard layout on Windows VDA.
Option 2: Disable the Teams optimization policy on DDC
Teams module "keyboard-layout-manager.node" is blocked by Citrix HDX Teams optimization (Microsoft has a different WebClient once the user is in optimized mode) for Teams experience.