For some reason if I try to pass dynamic group name it does not work, but when i type static text as group name it returns members does not work--> groupname = groupdoc.listname(0) MembersOut = Evaluate({@ExpandNameList(@DbName; groupname)}) Works--> MembersOut = Evaluate({@ExpandNameList(@DbName; "Local Admin")}) has anyone find a solution to this?