Checking Group Status

25 views
Skip to first unread message

Ben Sergeant

unread,
Feb 5, 2026, 7:10:38 AMFeb 5
to GAM for Google Workspace
Hey all, 

Is it possible to use GAM to confirm whether a set of groups are still active? We have a list of groups that need to be verified, and it'd be great if we didn't have to manually do this. 

Is it possible to have a .csv of the groups, the use GAM to parse these and confirm whether they exist. 

Thanks! 

Lt. Col. Marshall Giguere

unread,
Feb 5, 2026, 9:25:20 AMFeb 5
to google-ap...@googlegroups.com
Ben;

Sadly Google doesn't provide that information.  The best you could do would be to scan the group members email to see if anyone has received a message from the group.  Something like this might work:

> gam groups theg...@example.com print messages query "in:inbox" max_to_print 1



--
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 visit https://groups.google.com/d/msgid/google-apps-manager/b612c127-38bc-436e-a8b4-7e24973e9126n%40googlegroups.com.

Lt. Col. Marshall Giguere

unread,
Feb 5, 2026, 9:43:15 AMFeb 5
to google-ap...@googlegroups.com
Ok. that only gets the first message in a member's inbox.


Lt. Col. Marshall Giguere

unread,
Feb 5, 2026, 9:46:45 AMFeb 5
to google-ap...@googlegroups.com
Replace "From:"  with "to:" 

Ross Scroggs

unread,
Feb 5, 2026, 9:51:38 AMFeb 5
to google-ap...@googlegroups.com
Is the question whether the group exists or whether the group is being used?

Ross
----
Ross Scroggs



Ross Scroggs

unread,
Feb 5, 2026, 11:05:47 AMFeb 5
to google-ap...@googlegroups.com
This will identify groups that don't exist.

gam redirect stdout ./GroupsThatExist.txt redirect stderr ./NonexistantGroups.txt info groups csvfile groups.csv:email endcsv fields name quick nouser

Ross

----
Ross Scroggs


Ben Sergeant

unread,
Feb 5, 2026, 11:33:51 AMFeb 5
to GAM for Google Workspace
Thanks Ross! 

The question is whether the groups exist and are actively being used - should've been clearer when I first typed it out. 

Thanks, 

Ben

Reply all
Reply to author
Forward
0 new messages