I am also experiencing the same issue on Debian 11.
I have tried 2 different organizations, different sites, and creating new agent groups from scratch. The organization and site changes appear in the client, but it still is unable to select an agent group even though it exists.
This does not appear to be affecting Windows clients in my case, only my Linux clients.