I am running version 4.22. I have tried the command with and without the domain name. What I have noticed when I enumerate the groups is only the local groups list, not the global. The group name in my script is a global group. According to the doc. the ingroup should do both.

Thanks for your help.