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)
1010470004 - Gemini Education for Google Workspace
1010470005 - Gemini Education Premium for Google Workspace
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. To purchase a support contract or add additional hours, contact your Google Customer Support Specialist.
Document Version | Date | Description of Change |
1.0 | 2/8/2024 | Minor text changes and verified article |
1.1 | 3/18/2024 | Updated link contact link to GCSS |
1.2 | 5/17/2024 | Added coming soon for Gemini SKUs |
1.3 | 5/28/2024 | Added Gemini SKUs |
1.4 | 2/17/2025 | Reverify |
Comments
Article is closed for comments.