Digitaltek Posted August 5, 2024 Posted August 5, 2024 I am trying to find a way to create/update an email group in Google Workspace for Education Plus. My administrators want to email the students based on their graduation year. Last year I created a [email protected] address with members and the administrators loved it. Dynamic groups will work but only for the school year. If I create a dynamic group using the (user.org_unit_id==orgUnitId('grade_6')) and name it "2031" it will import students from the grade_6 OU and create the [email protected] email address. Great for quickly creating a "distribution list". But, the following school year those student move on and the next class get mapped to the [email protected] email address. I haven't found a way around this. Is there a way to use GAM to manually create an email group based on OU? I realize this will need to be manually run at the beginning of the school year. Anything would be faster than using the admin console.
Sanchez Posted August 5, 2024 Posted August 5, 2024 I use this gam command to add everyone from an OU (and sub OUs) to a group. Used it for our year group email groups. gam print users query "orgUnitPath='/students/intake 24'" | gam csv - gam update group year7.students add member user ~primaryEmail
Digitaltek Posted August 6, 2024 Author Posted August 6, 2024 Thanks for the information. I will check it out and see if it fits.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now