-
Notifications
You must be signed in to change notification settings - Fork 473
LicenseExamples
- License Types
- Adding a License for Users
- Updating a License for Users
- Deleting a License for Users
- Sync a License for Users
GAM supports the licenses listed in the "Product SKU ID" column of Google's Documentation. Additionally, GAM supports abbreviations for some of the SKU names:
License SKU | Abbreviation |
---|---|
AppSheet Core | appsheetcore |
AppSheet Enterprise Standard | appsheetstandard |
AppSheet Enterprise Plus | appsheetplus |
Assured Controls | assuredcontrols |
Beyond Corp Enterprise | bce |
Cloud Identity Free | cloudidentity |
Cloud Identity Premium | cloudidentitypremium |
Cloud Search | cloudsearch |
G Suite Basic | gsuitebasic |
G Suite Business | gsuitebusiness |
G Suite Business Archived | gsuitebusinessarchived |
G Suite Enterprise Archived | gsuiteenterprisearchived |
G Suite Enterprise for Education | gsuiteenterpriseeducation |
G Suite Enterprise for Education (Student) | gsuiteenterpriseeducationstudent |
G Suite Free/Standard | standard |
G Suite Government | gsuitegov |
G Suite Lite | gsuitelite |
G Suite Message Security | postini |
Google Chrome Device Management | cdm |
Google Drive Storage 20gb | 20gb |
Google Drive Storage 50gb | 50gb |
Google Drive Storage 200gb | 200gb |
Google Drive Storage 400gb | 400gb |
Google Drive Storage 1tb | 1tb |
Google Drive Storage 2tb | 2tb |
Google Drive Storage 4tb | 4tb |
Google Drive Storage 8tb | 8tb |
Google Drive Storage 16tb | 16tb |
Google Meet Global Dialing | meetdialing |
Google Vault | vault |
Google Vault Former Employee | vfe |
Google Voice Starter | voicestarter |
Google Voice Standard | voicestandard |
Google Voice Premier | voicepremier |
Google Workspace Business Starter | wsbizstart |
Google Workspace Business Standard | wsbizstan |
Google Workspace Business Plus | wsbizplus |
Google Workspace Enterprise Essentials | wsentess |
Google Workspace Enterprise Standard | wsentstan |
Google Workspace Enterprise Plus | wsentplus |
Google Workspace Essentials | wsess |
gam user <username>|group <groupname>|ou <ouname>|all users add license <sku>
Assign a license for the given SKU to a user or number of users.
This example gives members of the sales team a Vault license
gam group sales add license vault
This example gives users in the "Google Coordinate" OU a license for Google Coordinate
gam ou "Google Coordinate" add license Google-Coordinate
gam user <username>|group <groupname>|ou <ouname>|all users update license <sku> from <oldsku>
Update the license for the given users.
This example switches a user from Google Apps Message Security to Google Apps for Work licensing.
gam user [email protected] update license gafw from gams
gam user <username>|group <groupname>|ou <ouname>|all users delete license <sku>
Deletes the given SKU license for the users.
This example will remove the Coordinate license for all users.
gam all users delete license coordinate
gam user <username>|group <groupname>|ou <ouname>|all users sync license <sku>
Adds and removes licenses from users based on their inclusion in the specified user list. The inclusion list could be a Google Group, OrgUnit or local text file. Users who are not included in the user list and who have the license applied will have the given license type removed from their account. Users included in the user list and who do not have the license will have it added to their account.
This example will create two Google Groups named e4e and e4es, add currently licensed users to the groups and finally sync the license to the group. Because we use group_ns (group no suspended) in the last step, suspended users will have the license removed. Rerunning the final two commands on a recurring basis will keep the licenses aligned with the non-suspended group members.
gam create group e4e "G Suite Enterprise for EDU users"
gam create group e4es "G Suite Enterprise for EDU Student users"
gam update group e4e add members license gsuiteenterpriseeducation
gam update group e4es add members license gsuiteenterpriseeducationstudent
gam group_ns e4e sync license gsuiteenterpriseforeducation
gam group_ns e4es sync license gsuiteenterpriseforeducationstudent
Need more help? Ask on the GAM Discussion Group
GAM Basics
GAM Tutorials
- Managing Users, Groups, Aliases, Domains, Mobile and Chrome Devices, and Resource Calendars
- Group Settings
- Data Transfers
- Print Users, Groups, Aliases, Mobile and Chrome OS devices, OUs, Licenses and Reports
- Managing Custom User Schemas
- User Email Settings
- User Security Settings
- Managing Classroom
- Managing Devices
- Chrome Policy Settings
- Chrome Browser Management
- Calendar Settings
- Unmanaged Users and Invitations
- Google Drive Management
- Inbound SSO Settings
- Managing Admins
- Domain Verification
- Printers
- Managing Product Licenses
- Context Aware Access levels
- Managing Organizations
- OAuth Authentication Related Commands
- Vault / Takeout Commands
- Bulk Operations
GAM Command Reference
Resources
- Questions? Visit the GAM Discussion Forum
- How to run GAM on Chromebooks / Chrome OS and Android devices.
- Setting up GAM on Google Cloud Platform (GCP)
- Running GAM on Google Compute Engine (GCE) VMs Securly
- Using GAM with a Delegated Admin Service Account (DASA)
- Use a YubiKey for Service Account Authentication
- Verify a GAM Install is Official and Legimate