Hi everyone,
Whenever I try to list all group members in cloud script is always returning only 2 members of a group, even that I have a lot of them already. this cloud script call is asked by the administrator of the group.
var group = { Id: args.groupId, Type: "group" }; try { var allStudents = entity.ListGroupMembers ( { Group: group }); } catch (e) { var msg = "Error: " + JSON.stringify(e); log.info(msg); return "error"; } return allStudents.Members.length;
In client code it returns fine, the issue is only in Cloud Script. Group ID as an example: BEE87EEE53CAE05B
Is this a bug? Am I missing something?