Google apps license reporting - GAM 3.65 issue?

502 views
Skip to first unread message

Drew Coughlin

unread,
Apr 20, 2016, 1:19:11 PM4/20/16
to Google Apps Manager
Just noticed this in GAM 3.65 (no issue with 3.61 but haven't tested with 3.62 or 3.63).  

Issue scope:
- Affects license reporting when issuing 'gam info user <user.account>' and when issuing 'gam print licenses'

Behavior:
Extra storage licenses are no longer reported (not sure of any other licenses this may affect

Example:
Issuing 'gam info user myexample.user' in GAM 3.61 returns:
"Licenses:
 Google-Apps-For-Business
 Google-Drive-storage-50GB
 Google-Vault"

Issuing 'gam info user myexample.user' in GAM 3.65 returns:
"Licenses:
 Google-Apps-For-Business
 Google-Vault"

The example user does have the 'Google-Drive-storage-50GB' assigned and that license is visible in the Google admin UI in that user's list of licenses.

I can report this as an issue but just want to confirm if this is a known issue in the latest release or if others have experienced it.

Thanks
Message has been deleted

Jay Lee

unread,
Apr 20, 2016, 2:42:31 PM4/20/16
to google-ap...@googlegroups.com
Exactly. Licensing API is extremely inefficient when determining which licenses a given user has so in order to reduce the amount of time "gam info user" takes, I removed Drive storage license checks. Ross' tip would help you see all licenses across all users, for "gam info user", you may want to keep a copy of 3.63 around.

Jay

On Wed, Apr 20, 2016 at 2:38 PM Ross Scroggs <ross.s...@gmail.com> wrote:
Drew,

Jay changed licensing in 3.65, mostly reducing the default list of licenses shown.
In 3.63, gam print licenses processes the products:
Google-Apps,Google-Drive-storage,Google-Coordinate,Google-Vault
In 3.65, gam print licenses processes the products: Google-Apps,Google-Vault
In either version, you can say: gam print licenses products 'a,b,c,d'
This will display licenses for products a,b,c,d.
Thus, in 3.65 to get the 3.63 behavior say: gam print licenses products 'Google-Apps,Google-Drive-storage,Google-Coordinate,Google-Vault'

In 3.63, gam info user processes the products: 

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/fbe6361d-83c7-4709-9c48-11e4ea3d75ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJkvRS_N0%2B_wEshTimEC1gmnUm7AitERBuq5God78COTEtrWCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--

Jay Lee

Ross Scroggs

unread,
Apr 20, 2016, 2:54:50 PM4/20/16
to google-ap...@googlegroups.com
Drew,

(Last post sent while incomplete, here's another try)

Jay changed licensing in 3.65, mostly reducing the default list of licenses shown.
In 3.63, gam print licenses processes licenses for the products:
    Google-Apps,Google-Drive-storage,Google-Coordinate,Google-Vault
In 3.65, gam print licenses processes licenses for the products:
       Google-Apps,Google-Vault
In either version, you can say: gam print licenses products 'a,b,c,d'
This will display licenses for products a,b,c,d.
Thus, in 3.65 to get the 3.63 behavior say: gam print licenses products 'Google-Apps,Google-Drive-storage,Google-Coordinate,Google-Vault'

In 3.63, gam info user processes licenses for the SKUs: 
      Google-Apps,Google-Apps-For-Business,Google-Apps-Unlimited,Google-Apps-For-Postini,

   Google-Coordinate,Google-Drive-storage-20GB,Google-Drive-storage-50GB,Google-Drive-storage-200GB,

   Google-Drive-storage-400GB,Google-Drive-storage-1TB,Google-Drive-storage-2TB,

   Google-Drive-storage-4TB,Google-Drive-storage-8TB,Google-Drive-storage-16TB,Google-Vault,

   Google-Vault-Former-Employee

In 3.65,  gam info user processes licenses for the SKUs:

   Google-Apps-For-Business,Google-Apps-Unlimited,Google-Apps-For-Postini,

   Google-Apps-Lite,Google-Vault,Google-Vault-Former-Employee


In 3.65, there is no way to get the 3.63 behavior.


Ross


On Wed, Apr 20, 2016 at 11:38 AM, Ross Scroggs <ross.s...@gmail.com> wrote:
Drew,

Jay changed licensing in 3.65, mostly reducing the default list of licenses shown.
In 3.63, gam print licenses processes the products:
Google-Apps,Google-Drive-storage,Google-Coordinate,Google-Vault
In 3.65, gam print licenses processes the products: Google-Apps,Google-Vault
In either version, you can say: gam print licenses products 'a,b,c,d'
This will display licenses for products a,b,c,d.
Thus, in 3.65 to get the 3.63 behavior say: gam print licenses products 'Google-Apps,Google-Drive-storage,Google-Coordinate,Google-Vault'

In 3.63, gam info user processes the products: 
On Wed, Apr 20, 2016 at 10:19 AM, Drew <drew.c...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/fbe6361d-83c7-4709-9c48-11e4ea3d75ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--



--

Ross Scroggs

unread,
Apr 20, 2016, 4:34:02 PM4/20/16
to google-ap...@googlegroups.com
Drew,

I've added an argument 'skus <SKUIDList>' to gam info user so you can specify the list of SKUs for which you'd like license info.
I've submitted this change to Jay; in the meantime, you can try it here: https://github.com/taers232c/GAM/releases/tag/v3.66

<SKUIDList> is a comma separated list of items from the following table; the table shows the SKU abbreviations that GAM uses and the Google SKU to which they are mapped.
This is the same list used in gam print licenses skus <SKUIDList>

apps, gafb, gafw: Google-Apps-For-Business

gams: Google-Apps-For-Postini

gau, unlimited, d4w, dfw: Google-Apps-Unlimited

lite: Google-Apps-Lite

vault: Google-Vault

vfe: Google-Vault-Former-Employee

drive-20gb, drive20gb, 20gb: Google-Drive-storage-20GB

drive-50gb, drive50gb, 50gb: Google-Drive-storage-50GB

drive-200gb, drive200gb, 200gb: Google-Drive-storage-200GB

drive-400gb, drive400gb, 400gb: Google-Drive-storage-400GB

drive-1tb, drive1tb, 1tb: Google-Drive-storage-1TB

drive-2tb, drive2tb, 2tb: Google-Drive-storage-2TB

drive-4tb, drive4tb, 4tb: Google-Drive-storage-4TB

drive-4tb, drive8tb, 8tb: Google-Drive-storage-8TB

drive-16tb, drive16tb, 16tb: Google-Drive-storage-16TB


You might say: gam info user f...@bar.com skus 'vault,16b'


Ross

--

Drew Coughlin

unread,
Apr 20, 2016, 4:43:23 PM4/20/16
to Google Apps Manager
Many thanks Ross and Jay!  I'll give it a whirl.

Zoeb Bharmal

unread,
Aug 30, 2016, 4:28:28 PM8/30/16
to Google Apps Manager
Hi,

Is there anyway this functionality can be added back into the latest version of GAM? A client of ours is looking for alternate ways to report on the drive storage licenses assigned to users without having to go into the admin console.

Thanks,
Zoeb.

Ross Scroggs

unread,
Aug 30, 2016, 4:53:16 PM8/30/16
to google-ap...@googlegroups.com
Zoeb,

For print licenses, use the products argument: gam print licenses products "<ProductList>"

For <ProductList>, make a comma separated list from the set:

Google-Apps,Google-Apps-For-Business,Google-Apps-Unlimited,Google-Apps-For-Postini


For users, use the skus argument: gam info user f...@domain.com skus "<SKUsList>"


For <SKUsList>, make comma separated list frm the set:

Google-Coordinate,Google-Drive-storage-20GB,Google-Drive-storage-50GB,Google-Drive-storage-200GB,

Google-Drive-storage-400GB,Google-Drive-storage-1TB,Google-Drive-storage-2TB,

Google-Drive-storage-4TB,Google-Drive-storage-8TB,Google-Drive-storage-16TB,

Google-Vault,Google-Vault-Former-Employee


Ross

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Zoeb Bharmal

unread,
Aug 31, 2016, 3:57:16 AM8/31/16
to Google Apps Manager
Hi Ross,

Thanks for that info. I'm guessing then there is no way for GAM to just retrieve the info without having to provide a SKU? Based on the below, the client would need to include all drive storage SKUs to get the information, because they won't already know what license the user has.

Thanks,
Zoeb.
To post to this group, send email to google-ap...@googlegroups.com.



--

Ross Scroggs

unread,
Aug 31, 2016, 10:52:43 AM8/31/16
to google-ap...@googlegroups.com
Zoeb,

Correct, you always have to specify a productId or skuId, there is no way to get all the licenses.

Clarification/correction:

For <ProductList>, make a comma separated list from the set:
Google-Apps,Google-Drive-storage,Google-Vault

For <SKUsList>, make comma separated list frm the set:
Google-Apps-For-Business,Google-Apps-Unlimited,Google-Apps-For-Postini,Google-Apps-Lite
Google-Drive-storage-20GB,Google-Drive-storage-50GB,Google-Drive-storage-200GB,
Google-Drive-storage-400GB,Google-Drive-storage-1TB,Google-Drive-storage-2TB,
Google-Drive-storage-4TB,Google-Drive-storage-8TB,Google-Drive-storage-16TB,
Google-Vault,Google-Vault-Former-Employee

For print licenses, use the products or skus arguments:
gam print licenses products "<ProductList>"
gam print licenses skus "<ProductList>"

For users, use the skus argument:
gam info user f...@domain.com skus "<SKUsList>"

I'm adding the following in the next day or so:
gam info user f...@domain.com products "<ProductList>"

Ross


To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.

To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.



--

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages