How to query Gsuite Lite available license count

1,041 views
Skip to first unread message

Chris Noone

unread,
Feb 22, 2021, 7:26:17 PM2/22/21
to GAM for Google Workspace

I'm able to query available Gsuite Business licenses in at least two ways:


gam info domain


and by subtracting


gam report domain fields accounts:gsuite_unlimited_used_licenses


from


gam report domain fields accounts:gsuite_unlimited_total_licenses


But there doesn't seem to be any way of getting the same information for Gsuite Lite licenses. When I look in the subscriptions area of the admin console I can clearly see that we have X licenses consumed and Y licenses available, but I can't find a way to extract this information with GAM.



Ross Scroggs

unread,
Feb 22, 2021, 8:07:53 PM2/22/21
to google-ap...@googlegroups.com
Chris,

The API doesn't report Gsuite Lite licenses if I remember correctly.

Ross

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/ae876c30-663e-488e-a83f-385ac683c273n%40googlegroups.com.


--

Brian Kim

unread,
Feb 23, 2021, 8:59:43 AM2/23/21
to GAM for Google Workspace
I don't think this information is accessible via Reports API, but may be possible using Enterprise License Manager API.

gam print users license

or

gam print license countsonly

Brian Kim

unread,
Feb 23, 2021, 9:10:45 AM2/23/21
to GAM for Google Workspace
If you have a reseller, they should have this information. 

I can see seats.licensedNumberOfSeats as well as seats.numberOfSeats  when I do gam print resoldsubscriptions using Reseller API.

Kim Nilsson

unread,
Feb 23, 2021, 7:10:13 PM2/23/21
to GAM for Google Workspace
Is it not possible to use those APIs on your own organisation?

Brian Kim

unread,
Feb 23, 2021, 7:40:34 PM2/23/21
to GAM for Google Workspace
I am not too sure if gam info domain shows that information because that pulls the information from reports api.

Kim Nilsson

unread,
Feb 24, 2021, 5:28:11 AM2/24/21
to GAM for Google Workspace
EDU doesn't respond with licences with gam info domain, even if there are licences.
Business does, but it doesn't list all types of licences. Shows only default paid licences. Doesn't list CIFree licences.

gam print licenses only lists assigned licences.
No numbers for non-assigned licences. Probably as it's listing what licences users have, not what the domain has.

Brian Kim

unread,
Feb 24, 2021, 6:20:16 AM2/24/21
to GAM for Google Workspace
Querying cloud identity free remaining license cap is always a challenge. As a reseller, I can't see that information either. I can see that someone has it (site-based license). Google should just remove the arbitrary license cap. There is also a bug that when you upgrade a license and had CI Free prior to the upgrade, the license cap drops significantly for some reason. I've seen that number down to negatives.

And I just realized.. I can't see my enterprise standard license either using gam info domain! Thanks Google for not updating reports api. Guess I will submit a new feature request to Google or updat the existing one I already have for jams. (currently only showing basic/business/enterprise)


Román Ramos Cabrera

unread,
Jul 27, 2022, 5:40:00 AM7/27/22
to GAM for Google Workspace
Good,

I have looked at the attached links, but for now I have not been able to see the available licenses

I have already tried the following commands:

gam show licences
gam print licences
gam print users licenses todrive
gam info domain

gam report domain fields accounts:gsuite_unlimited_used_licenses
gam report domain fields accounts:workspacefrontline
gam print license countsonly

gam print licenses only lists assigned licences.
gam report domain fields accounts:workspace_enterprise_plus_total_licenses
gam report domain fields accounts:gsuite_enterprise_used_licenses


NOTE: the objective is simply to see the available licenses, the data marked in red in the attached photo

Thanks in advance

2022-07-27_10-38-45.png

Ian Crew

unread,
Jul 27, 2022, 10:30:59 AM7/27/22
to google-ap...@googlegroups.com
As I understand it, Google doesn’t make the count of available licenses available via API, so GAM has no way to show that count. (And yes, that’s annoying…)

Ian

Este mensaje es solamente para la persona a la que va dirigido. Puede contener información confidencial o legalmente protegida. No hay renuncia a la confidencialidad o privilegio por cualquier transmisión mala o errónea. Si usted ha recibido este mensaje por error, le rogamos que borre de su sistema inmediatamente el mensaje asi como todas sus copias, destruya todas las copias del mismo de su disco duro y notifique al remitente. No debe, directa o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de las partes de este mensaje si no es usted el destinatario. Cualquier opinión expresada en este mensaje proviene del remitente, excepto cuando el mensaje establezca lo contrario y el remitente est autorizado para establecer que dichas opiniones provienen de empresas del Grupo Satocan. Nótese que el correo electrónico via Internet no permite asegurar ni la confidencialidad de los mensajes que se transmiten ni la correcta recepción de los mismos. En el caso de que el destinatario de este mensaje no consintiera la utilización del correo electrónico via Internet, rogamos lo ponga en nuestro conocimiento de manera inmediata.

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
--
Ian Crew

Solutions Architect
Productivity & Collaboration Services
Information Services and Technology

Dale Courtney

unread,
Jul 29, 2022, 10:25:34 AM7/29/22
to google-ap...@googlegroups.com
I also find it frustrating that the API doesn't make licenses available, something you can use GAM to retrieve. 

I ran out of Google licenses last week and had to scramble to add additional ones thru our reseller. 

It would be nice not to have to go out to the Google Admin Subscriptions Console to manually look this up. 

best,
Dale


Reply all
Reply to author
Forward
0 new messages