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 run slowly on larger data sets.

Caution: If you are a Workspace Plus customer, you must use GAM advanced - GAMADV-XTD3.

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
1010310002 - Google Workspace for Education Plus - Legacy
1010310003 - Google Workspace for Education Plus - Legacy (Student)

See this link for a listing of Google Product and SKU IDs

 

General commands

Add an Education Plus license to non-suspended users in the Staff OU

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

Add an Education Plus license to non-suspended users in the Student OU

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

Remove Education Plus license from any suspended user (Staff License) on the domain 

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

Remove Education Plus license from any suspended user (Student License) on the domain

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

Create a CSV of all users who 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.

 

Document Version Date Description of Change
1.0 2/8/2024 Minor text changes and verified article

 

Articles in this section

See more