Groups without Members

337 views
Skip to first unread message

James SEYMOUR

unread,
Jan 13, 2021, 12:04:59 AM1/13/21
to GAM for Google Workspace
When I run gam print group-members group <Group with No Members> I get;-
Getting all Members, Managers, Owners for <Group with No Members>
group,type,role,id,status,email

So it correctly shows that there are no members.

But if I run gam print group-members domain domain.com todrive the resulting sheet does not show the groups without members, which could be mis-leading, as it was for me :)

Is this expected behaviour and/or is there a way to get this command to show the groups without members.

In the meantime I can use gam config csv_output_row_filter "directMembersCount:count=0" print groups directmemberscount todrive to get this info.

Cheers

James

Ross Scroggs

unread,
Jan 13, 2021, 1:06:50 AM1/13/21
to google-ap...@googlegroups.com
James,

The general idea with print group-members is to print a row for each member of each group; if a group doesn't have any members, you don't get any rows.
If you're ust trying to identify groups with no members, your solution is the fastest way to get it.

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/dfaf1018-ae5d-49ec-926a-3643e5dd6d50n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages