Scroll to bottom of page for installation/downloads
Latest updates
6.59.01
Updated gam checkconnection
to check connections to the following sites:
Contacts API - Domain Shared Contacts - www.google.com
Email Audit API - apps-apis.google.com
Sites API - sites.google.com
6.59.00
Added commands to display Analytic account/property information.
6.58.03
Fixed bug in gam [<UserTypeEntity>] print shareddriveacls oneitemperrow shownopermissionsdrives true
where the Shared Drives with no ACLs were not shown; they were shown if oneitemperrow
was omitted.
6.58.02
Updated gam <UserTypeEntity> print filelist ... filepath|fullpath
to not display parent information
for orphans. Previously, GAM would incorrectly display:
...,parents,parents.0.id,parents.0.isRoot,...
...,1,Orphans,False,...
Now the corrected display is:
...,parents,parents.0.id,parents.0.isRoot,...
...,,,,...
This change makes the output the same as when filepath|fullpath
is omitted.
6.58.01
Added the following options to tag replace processing to allow control of the case of replacement data.
You can control the case of the letters in replace <Tag> <String>
and replace <Tag> <UserReplacement>
.
{PC}...{Tag1}...{Tag2}...{/PC}
- For all sequences of letters between{PC}
and{/PC}
, the first letter is converted to uppercase, subsequent letters to lowercase.{UC}...{Tag1}...{Tag2}...{/UC}
- All letters between{UC}
and{/UC}
will be converted to uppercase{LC}...{Tag1}...{Tag2}...{/LC}
- All letters between{LC}
and{/LC}
will be converted to lowercase
6.58.00
Added license_max_results
variable to gam.cfg
. When retrieving licenses from License API,
this variable controls how many should be retrieved in each chunk. The default value is 100; the range is 100-1000.
As of 2023-04-27, larger numbers cause Google to return an incorrect numbert of licenses.
6.57.11
Fixed bug where the csv_output_header_force
variable in gam.cfg
was being interpreted as
a list of <RegularExpressions>
rather than a list of <Strings>
as documented.
6.57.10
When doing commands similar to these:
gam redirect csv - multiprocess todrive csv Users.csv gam user "~primaryEmail" print filelist ...
gam config auto_batch_min 1 redirect csv - multiprocess todrive <UserTypeEntity> print filelist ...
GAM was including the name of the last user processed in the title of the uploaded Google Sheet;
as this is not accurate, it has been eliminated.
6.57.09
Added emailaddresslist <EmailAddressList>
to <PermissionMatch>
that allows matching any email address in a list.
6.57.08
Updated gam <UserTypeEntity> print|show contacts|othercontacts
to retry the following error:
serviceNotAvailable - The service is currently unavailable.
6.57.07
Updated code to recognize the following Google Drive API error that is issued when Google
doesn't recognize an email address as valid.
$ gam user user@domain.com print filelist query "'j@ab.net' in writers" fields id,name
Getting all Drive Files/Folders that match query ('me' in owners and ('j@ab.net' in writers)) for user@domain.com
ERROR: 400: badRequest - Bad Request
$ gam user user@domain.com print filelist query "'j@ab.com' in writers" fields id,name
Getting all Drive Files/Folders that match query ('me' in owners and ('j@ab.com' in writers)) for user@domain.com
Got 0 Drive Files/Folders that matched query ('me' in owners and ('j@ab.com' in writers)) for user@domain.com...
Owner,id,name
6.57.06
Added inherited <Boolean>
to <PermissionMatch>
that applies only to Shared Drive files/folders;
this makes it easy to identify files/folders on Shared Drive with non-inherited permissions.
gam user organizer@domain.com print filelist select teamdriveid <TeamDriveID> fields id,name,mimetype pm inherited false em pmfilter oneitemperrow
This clause will always cause a permission match failure on My Drive files/folders.
6.57.05
Updated gam batch <BatchContent>
and gam tbatch <BatchContent>
commands to accept lines with the following form:
clear keyword
This can improve performance as subsequent lines in <BatchContent>
will not be scanned for %keyword%
.
6.57.04
Updated gam batch <BatchContent>
and gam tbatch <BatchContent>
commands to accept lines with the following form:
set keyword value
Subsequent lines in <BatchContent>
will have %keyword%
replaced with value
.
6.57.03
Updated gam <UserTypeEntity> info|print|show contacts|othercontacts
and
gam info|print|show peoplecontacts|peopleprofiles
to default to displaying the fields names,emailaddresses,phonenumbers
as documented rather than all fields.
6.57.02
Following Jay's lead, removed Google bug (237397223) workaround code in
gam print devices|deviceusers|crostelemetry
as the bug is now fixed.
6.57.01
Updated gam <UserTypeEntity> vacation
to handle the following error:
ERROR: 400: failedPrecondition - Precondition check failed.
What the error means is unknown to me at the moment.
Updated GAM so that when the current project ID is required, it will first try to get it from oauth2service.json and
if not successful, try to get it from client_secrets.json. There are cases, e.g., when DASA is enabled,
that client_secrets.json is not present.
Previously, GAM checked for the existence of client_secrets.json on every command; this check has been
eliminated as the file is only required by gam oauth create
.
6.57.00
Following Jay's lead, updated gam create admin
to allow assignment of a delegated admin role to a group.
Updated gam print admins
to display whether a role is assigned to a user or a group.
Updated version number to align with Standard GAM.
Installation
If you are a first time Gam user:
If you are updating your GAMADV-XTD3 version:
If you are upgrading from standard Gam
If you are upgrading from GAMADV-X or GAMADV-XTD
sha256 hashes
54269715e4171ee75f726fa83ec1b2e41407f85cc588182ca533e4669a49dbf4 gamadv-xtd3-6.59.01-linux-arm64-glibc2.23.tar.xz
2f2845f084de03a1fcbf1470c9011867d5e52f94a0fee20c32d3f55fd3a0f2df gamadv-xtd3-6.59.01-linux-arm64-glibc2.27.tar.xz
8520694b8727a041ba3b395e4d53dcd5cde608d2dfe2175769f726e07b221e4e gamadv-xtd3-6.59.01-linux-arm64-glibc2.31.tar.xz
1bbec69e67356c95261279136b3d80509f28ff5bf427c708145d8acd4f20f8eb gamadv-xtd3-6.59.01-linux-x86_64-glibc2.19.tar.xz
48c1e699fe9d490811c02aa80c314e7c789b52445c99ff99445899a7362998e9 gamadv-xtd3-6.59.01-linux-x86_64-glibc2.23.tar.xz
e9e75d69297ddb62af0606ee0fc4af79be668839b7fdd29fba91657481f01594 gamadv-xtd3-6.59.01-linux-x86_64-glibc2.27.tar.xz
969067e3c55dc3d8645c1d5b84f60b2b6d4dff11dcfc3e5fbf7edca3db0fb790 gamadv-xtd3-6.59.01-linux-x86_64-glibc2.31.tar.xz
ab4dda8daf41258e93eabdd175d56bcb7e3743db47d28fe6de974a9102b31907 gamadv-xtd3-6.59.01-linux-x86_64-glibc2.35.tar.xz
7b3488a992fe05fa22f279162d36a36ab24893830e079ff42a87d4f02e19ebd6 gamadv-xtd3-6.59.01-linux-x86_64-legacy.tar.xz
4ed8e15657d7ca07264579ed4ff2e224bf5d319b4d83a51cdc19c796f73d7df0 gamadv-xtd3-6.59.01-macos-arm64.tar.xz
cf0dfb7288000ebaec1c6f6cde9fb06a8c505ed16c401dc8b6fe058de6642e78 gamadv-xtd3-6.59.01-macos-x86_64-legacy.tar
5c0f2bea1a38d1051cdd44499c42f7a948529942c4dfdcbe78e4383eb997dd65 gamadv-xtd3-6.59.01-macos-x86_64.tar.xz
32ef6004d02ce3e91eccae7e4d7f7fa348bd51ba07d4901c25a1dd683a286323 gamadv-xtd3-6.59.01-windows-x86.msi
4e5531a57e937d498572559873043903241c9f16abe4c7c23793152c98e32940 gamadv-xtd3-6.59.01-windows-x86.zip
bc4c6bb6cd7443326e239e4dc34c22612260171f1588b4b6dc06815c3df3af05 gamadv-xtd3-6.59.01-windows-x86_64.msi
308aceda822c363f20fe94bdbb98f7211bf28bb1ec6f23d95c08e8d01abad12a gamadv-xtd3-6.59.01-windows-x86_64.zip