Is there a way to mass populate a Google Business Apps Group?

70 views
Skip to first unread message

George Barnstone

unread,
May 29, 2013, 11:01:20 AM5/29/13
to google-ap...@googlegroups.com
Is there a way to mass populate a Google Business Apps Group?  I have groups that I created in Gmail, and I migrated them and the contacts to Google Business Apps.  I'm trying to find a way to populate a Business App Group that doesn't involve entering the members individually.

AlCrosby

unread,
Jun 12, 2013, 8:57:22 AM6/12/13
to google-ap...@googlegroups.com
Absolutely.

Get a product called "Google Apps Manager" by Ditto! :-).

Seriously, that's one of the tasks that GAM shines at.

In version 2.99(1) -- the beta for 3.0 -- it's even easier.

Create a text file with the full username of the users you want in each group, one per line.  Name it something like 'members.txt'.

gam update group groupname add member file members.txt

Or, if you want to make sure the group only has those members, use the command:

gam update group group sync member file members.txt

The second command removes anyone -- including owners and managers -- from the list who isn't in the file.

I generate the files I use from a SQL server table that's populated, in part, from our Employee Information System.

Essentially, I start by creating the group in case it doesn't already exist.  I update the key settings I want to control.  Then I generate a text file of all of the members.  I synchronize that with the group.  I generate a file of managers, and use the gam update group update manager command to set people to that role as appropriate. Once a week, I update the status of everyone who should only be a "member" back to member in case they've been changed by a group owner or manager.  

I do this with several thousand groups -- I create groups for the teachers and classes in a 20,000 student school district.

Hopefully, you already figured out how to do this!

Thanks,

Albert
Reply all
Reply to author
Forward
0 new messages