GAM 4.2 Released

2,117 views
Skip to first unread message

Jay Lee

unread,
Mar 23, 2017, 7:01:39 PM3/23/17
to GAM for G Suite
GAM 4.2 has been released. Changes include:
  • CreateUpdateDelete and List Team Drives
  • Most existing GAM Drive commands should work against Team Drives and files on Team Drives now.
  • Start moving to Drive API v3
  • Disable GAM cache by default to prevent errors (Ross)
  • Use service accounts for all Calendar, Drive and Gmail operations to reduce scopes
  • Fix "Unknown" errors due to a scope issue (may require "gam oauth revoke" and re-authentication)
  • "gam info domain" shows basic user / license sums again
  • "gam report customer" now shows more browser usage stats
  • Fix project creation ToS error (Ross)
To upgrade:
  • MacOS / Linux: run the command:

    bash <(curl -s -S -L https://git.io/install-gam) -l

    the -l argument tells the install script to upgrade the GAM binary only. Your existing project, service account and oauth2.txt will be left as is.

  • Windows MSI installs: just grab the latest MSI and install it. The GAM binary will be upgraded. Your existing project, service account and oauth2.txt will be left as is.
Happy GAMing and as usual, report any issues you face with GAM 4.2 to this list.

Jay

Skylar Ragan

unread,
Mar 24, 2017, 12:16:05 PM3/24/17
to GAM for G Suite
I currently have GAM 4.11-x64 installed. When I try to install GAM 4.2-x64, I get an error that a newer version of GAM is already installed and then the installer aborts.

Jay Lee

unread,
Mar 24, 2017, 12:23:15 PM3/24/17
to GAM for G Suite

Did you by chance install one of Ross's versions?


--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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/551408c6-1222-45ec-92a3-2d91a76e5702%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Jay

Ross Scroggs

unread,
Mar 24, 2017, 12:48:26 PM3/24/17
to google-ap...@googlegroups.com
Skylar/Jay,

I can duplicate the problem on a test Windows PC.
The problem is that the old version was 4.12 and the new version is 4.2, and you can't fool Windows, 2 is smaller than 12.

You'll have to delete the previous version before installing the new version.

Ross

On Fri, Mar 24, 2017 at 9:23 AM, Jay Lee <jay...@gmail.com> wrote:

Did you by chance install one of Ross's versions?

On Fri, Mar 24, 2017, 12:16 PM Skylar Ragan <skylar...@smartsheet.com> wrote:
I currently have GAM 4.11-x64 installed. When I try to install GAM 4.2-x64, I get an error that a newer version of GAM is already installed and then the installer aborts.


On Thursday, March 23, 2017 at 4:01:39 PM UTC-7, Jay Lee wrote:
GAM 4.2 has been released. Changes include:
  • CreateUpdateDelete and List Team Drives
  • Most existing GAM Drive commands should work against Team Drives and files on Team Drives now.
  • Start moving to Drive API v3
  • Disable GAM cache by default to prevent errors (Ross)
  • Use service accounts for all Calendar, Drive and Gmail operations to reduce scopes
  • Fix "Unknown" errors due to a scope issue (may require "gam oauth revoke" and re-authentication)
  • "gam info domain" shows basic user / license sums again
  • "gam report customer" now shows more browser usage stats
  • Fix project creation ToS error (Ross)
To upgrade:
  • MacOS / Linux: run the command:

    bash <(curl -s -S -L https://git.io/install-gam) -l

    the -l argument tells the install script to upgrade the GAM binary only. Your existing project, service account and oauth2.txt will be left as is.

  • Windows MSI installs: just grab the latest MSI and install it. The GAM binary will be upgraded. Your existing project, service account and oauth2.txt will be left as is.
Happy GAMing and as usual, report any issues you face with GAM 4.2 to this list.

Jay

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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.
--

Jay

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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.



--

Stephen Timms

unread,
Mar 30, 2017, 10:32:43 AM3/30/17
to GAM for G Suite
I can't even install it after I delete all the GAM folders and files just keeps saying a newer version is already installed.
To post to this group, send email to google-ap...@googlegroups.com.
--

Jay

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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-ap...@googlegroups.com.



--

This message is intended only for the use of the person(s) to whom it is addressed. It may contain information which is privileged or confidential. Please do not forward or share the contents of this email with a third party without the express permission of the sender. If you are not the intended recipient, please delete this message and any attachment(s) and contact the sender as soon as possible. The views expressed in this communication may not necessarily be the views held by the school.

There may be attachment(s) to this e-mail which contain software viruses which could damage your own computer system. While the school has taken every reasonable precaution to minimise this risk, it cannot accept liability for any damage which you may sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment(s).

Registered company name: Anglian Learning
Company registration number: 07564749

Professional Learning at Sawston Village College:

GFCDS-Admin

unread,
Mar 30, 2017, 2:34:59 PM3/30/17
to GAM for G Suite
Receiving errors:

Please run

gam create project
gam user <user> check serviceaccount

to create and configure a service account.
ERROR: The file /home/ops/G-Apps_tools/GAM-4.2/oauth2service.json has an invalid format.

Same commands run fine under GAM 4.12 with same oauth2service.json file!

Has something changed in the authorization for GAM commands?


Bill 


On Thursday, March 23, 2017 at 4:01:39 PM UTC-7, Jay Lee wrote:

Ross Scroggs

unread,
Mar 30, 2017, 3:58:28 PM3/30/17
to google-ap...@googlegroups.com
Please give an me an example of a command that runs in 4.12 and not in 4.2
What does this do for both versions? gam user sampl...@domain.com check serviceaccount
Do: ls -l /home/ops/G-Apps_tools/GAM-4.2/oauth2service.json
Do: ls -l /home/ops/G-Apps_tools/GAM-4.12/oauth2service.json

Ross


GF-V-CMYK.jpg


footer-facebook.png


footer-g-plus.png


footer-twitter.png


footer-instagram.png


--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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.



--

Jared Mayer

unread,
Apr 6, 2017, 7:47:06 PM4/6/17
to GAM for G Suite
Thank you Jay Lee & Ross! Great to see Team Drive capabilities as its just what I needed for a Team Drive deployment. 

Ross Scroggs

unread,
Apr 6, 2017, 8:09:24 PM4/6/17
to google-ap...@googlegroups.com
Jared,

This is just an initial step, I've been fully integrating Team Drive into my advanced Gam for the last month, it's a lot of work.

Ross

The information contained in this email is privileged and confidential and intended for the addressee only. If you are not the intended recipient, please respect that confidentiality and do not disclose, copy or make use of its contents. If received in error, please destroy this email and contact the sender immediately. Thank you.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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.
Visit this group at https://groups.google.com/group/google-apps-manager.

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



--

Joset Nakhla

unread,
Apr 26, 2017, 9:34:59 AM4/26/17
to GAM for G Suite
Hello I'm just starting with GAM and when I try to create project after entering the Google Admin Email it takes me to the browser and ask for permission, then the terminal say authentication was successful 

"Authentication successful.

Creating project "GAM Project"..."

but then it gives me this error message "
ERROR: 400: Service disabled by admin. Please contact admin to restore service. - failedPrecondition

Any Idea what's the reason? 


Jay Lee

unread,
Apr 26, 2017, 10:27:22 AM4/26/17
to google-ap...@googlegroups.com
Hi Joset,

  Go into your additional Google Services and make sure "Google Developers Console" is enabled.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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.
Visit this group at https://groups.google.com/group/google-apps-manager.

Joset Nakhla

unread,
Apr 27, 2017, 9:21:19 AM4/27/17
to GAM for G Suite
It worked thank you
another Q, can you give an example of "Please enter 0-21[a|r] or s|u|e|c: "
I entered 21[r], 21|s
I tried too many versions of it but nothing worked


Ross Scroggs

unread,
Apr 27, 2017, 10:32:00 AM4/27/17
to google-ap...@googlegroups.com
Joset,

0-21[a|r] means you can type some number from 0 to 21 optionally followed by an a or an r to select a single scope.
The a suffix is applicable if the scope supports action; the r suffix is applicable if the scope supports readonly.

s|u|e|c indicates the options:
     s)  Select all scopes
     u)  Unselect all scopes
     e)  Exit without changes
     c)  Continue to authorization

To set Mobile Devices Directory to action, type 4a
To set Resource Calendar API to readonly, type 6r
To toggle Site Verification API, type 13
To continue to perform the authorization, type c

Ross

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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.

Daniel Warren

unread,
May 24, 2017, 12:07:52 PM5/24/17
to GAM for G Suite
When I attempt to upgrade I get the following error:

tar (child):  xz:  Cannot exec:  No such file or directory
tar (child):  Error is not recoverable:  exiting now
tar:  Child returned status 2
tar:  Error is not recoverable:  exiting now
ERROR:  extracting the GAM archive with tar failed with error 2.  Exiting.

I'm attempting to curl it to my current GAM directory with the oauth2.txt in it and licensing, project etc.

Jay Lee

unread,
May 24, 2017, 12:09:52 PM5/24/17
to google-ap...@googlegroups.com
Sounds like your system doesn't have xz compression tools/libraries installed? What OS?

Jay

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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.

Tim Butler

unread,
Jun 1, 2017, 6:35:16 AM6/1/17
to GAM for G Suite
Hi Jay,

I am new to GAM and when to the Release page to download the installer. However, I could not find the MSI file for 32-bit for Windows systems. is there something that I have missed?

Thanks,
Tim

Ross Scroggs

unread,
Jun 1, 2017, 7:48:47 AM6/1/17
to google-ap...@googlegroups.com
Tim,

From the downloads page, get gam-4.22-windows.zip, expand it, you'll get a gam folder, put it wherever you'd like.

Ross

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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.
Visit this group at https://groups.google.com/group/google-apps-manager.

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



--

Kpena

unread,
Jun 14, 2017, 4:36:00 PM6/14/17
to GAM for G Suite

Will is till be possible to use the audit commands to export a users emails (selective or all of it) after August of this 2017? I think I saw somewhere that this function will no longer be supported
To post to this group, send email to google-ap...@googlegroups.com.



--
Reply all
Reply to author
Forward
0 new messages