Licensing by GAM

For those education domains that already use GAM, the general commands below assign and remove licenses based on the OU and product/service ID used. This licensing method may not be advisable for large domains since GAM commands have a restrictive API limit and can be slow to run on larger data sets.

Product/Service ID's:

1010310005 - Google Workspace for Education Standard

1010310006 - Google Workspace for Education Standard (Staff)

1010310008 - Google Workspace for Education Plus

1010310009 - Google Workspace for Education Plus (Staff)

1010370001 - Google Workspace for Education: Teaching and Learning Upgrade

General commands

Add Education Plus license to anyone in the Staff OU that is not suspended

gam print users query “orgUnitPath=’/Staff’ isSuspended=false” | gam csv - gam user ~primaryEmail add license 1010310009

Add Education Plus license to anyone in the Student OU that is not suspended

gam print users query “orgUnitPath=’/Students’ isSuspended=false” | gam csv - gam user ~primaryEmail add license 1010310008

Remove Education Plus license from anyone on the domain that is suspended (Staff License)

gam print users query “isSuspended=true” | gam csv - gam user ~primaryEmail delete license 1010310009

Remove Education Plus license from anyone on the domain that is suspended (Student License)

gam print users query “isSuspended=true” | gam csv - gam user ~primaryEmail delete license 1010310008

Create a CSV of all users which have been assigned an Education Plus license

gam print licenses products 1010310008,1010310009 > licenses.csv

Support for GAM

If you are interested in support for installing or using GAM on your domain, you can purchase a support contract with us. Reach out to info@amplifiedit.com for pricing and info.