Create multiple groups with GAM

1,148 views
Skip to first unread message

Lã Hải Nam

unread,
Jan 4, 2023, 5:31:49 AM1/4/23
to GAM for Google Workspace
I need a guide to Create multiple groups using GAM

Thanks!

Sergio Alvarez

unread,
Jan 4, 2023, 8:20:59 AM1/4/23
to GAM for Google Workspace
Hi, 

The easiest way to identify how to create groups is the git website:


and the cheat sheet 


If you want to create multiple groups, use a CSV format and you have to consider that when creating groups there are things that you cannot adjust and you might want to adjust those with update instead of create 

Lã Hải Nam

unread,
Jan 4, 2023, 10:51:48 PM1/4/23
to GAM for Google Workspace
I use csv file but I am getting error like picture, please guide me the correct command to create multiple groups. Thanks!
Screenshot_33.png
Screenshot_34.png

Kim Nilsson

unread,
Jan 5, 2023, 3:50:55 AM1/5/23
to GAM for Google Workspace
Your group address header seems to start with "Group Email [something....
You need to use the same header in the command as you have in the csv.
Also, if the header has spaces, enclose the entire thing in "quotes"

gam csv test.csv gam create group "~Group Email [something...."
Reply all
Reply to author
Forward
0 new messages