I am finding that this function works on some domain security groups and won't work on others. It works ok with built-in groups but groups we create do not always work. We have two groups where one works but another does not.
No error in the client logs and I don't see differance between the group attributes. I compared the group type id, account type id and RID numbers. I really look forward to some wisdom on this. Thank you