Create Google group from Classroom rosters

16 views
Skip to first unread message

Matthew Weiner

unread,
May 18, 2026, 1:00:04 PM (yesterday) May 18
to GAM for Google Workspace
This may be a bit of a tricky one, but I'm hoping it's possible.  I want to be able to populate a Google group from Classroom rosters.  Two teachers need a particular app, and I want to be able to deploy it, but only for the students in that class and only for the duration of the class as it's prone to misuse and hence teacher complaints.

My hope is to be able to populate a group with the students from the two teachers' classes, assign the install to that group so the students will only have access to the app if they are in these teachers classes and only for the duration of the half-year class.  I figure using the group for assignment is likely the easiest way to do so since I can't use Classrooms directly for app assignments.

I think such a think may be possible but I'm not sure what commands would make it happen.  Any help would be appreciated.

Ross Scroggs

unread,
May 18, 2026, 2:48:43 PM (yesterday) May 18
to google-ap...@googlegroups.com
Start here:
gam create cigroup special...@domain.com name "Blah Blah" description "Blah Blah" makesecuritygroup


gam update cigroup special...@domain.com add manager teachers <CourseID> expires YYYY-MM-DD
gam update cigroup special...@domain.com add member students <CourseID>  expires YYYY-MM-DD


Ross

----
Ross Scroggs



--
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/2075ee5c-b597-42ce-962f-08cfeabea25bn%40googlegroups.com.

Matthew Weiner

unread,
May 18, 2026, 3:28:36 PM (yesterday) May 18
to GAM for Google Workspace
Works perfectly, thanks!  I never thought you could reference classroom directly in the group memeberships so I was trying to break it into steps, dumping classroom data to CSV files, concatenating it and then feeding it back into the group via bash scripts.
Reply all
Reply to author
Forward
0 new messages