Scroll to bottom of page for installation/downloads
Latest updates
6.59.02
Updated the Analytic account/property commands to use service account access so that data
can be retrieved for any user.
Fixed bug where the Analytics Admin API was not being added in gam update project
forcing you to manually enable it.
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
22a3b71d9ce3b49abb00754c94fbace410f3e68d3b90445cf28d6f43675e1995 gamadv-xtd3-6.59.02-linux-arm64-glibc2.23.tar.xz
b9b5cbe2003714dd6cedeb5a10bdfa88e25d91ad1b3be89f4327186171bcbc19 gamadv-xtd3-6.59.02-linux-arm64-glibc2.27.tar.xz
ddd51abb971caaecaf5c00893fbb9871c589d0daaf074a57e3236aca11fab032 gamadv-xtd3-6.59.02-linux-arm64-glibc2.31.tar.xz
4ded71fdbcb27768cdde188fe6b7d1da439de5fc730397a3fcecee77ddfb3d2a gamadv-xtd3-6.59.02-linux-x86_64-glibc2.19.tar.xz
08ae2c70c224aa7ea7da122ed39c6d6ecaa3c90e3cf03aae4c7be667f4d9296e gamadv-xtd3-6.59.02-linux-x86_64-glibc2.23.tar.xz
1849fabf319e9d1ef2f44ff5d67728b29369e0cb3ca95c307bd5dba4e408dd3c gamadv-xtd3-6.59.02-linux-x86_64-glibc2.27.tar.xz
49a01efd9e65e2f03f2f819d001db0545a696ad9c60dd17774adbd708c23b107 gamadv-xtd3-6.59.02-linux-x86_64-glibc2.31.tar.xz
1b8de436669c857d5ab49782770dca60f9b2c8de1f92cee9dad0f829ce9f7d5c gamadv-xtd3-6.59.02-linux-x86_64-glibc2.35.tar.xz
5e7f09a912041625c46401ceb9929e7ebc3abda71a78ceefa3bd355133123c2b gamadv-xtd3-6.59.02-linux-x86_64-legacy.tar.xz
95c239dace074c3c0f4dc2b0711177240f9932df342836dc7a461c8b848cd747 gamadv-xtd3-6.59.02-macos-arm64.tar.xz
592eb629c1f227f91919c407388758081db09e273a0d2630040f94093de450fd gamadv-xtd3-6.59.02-macos-x86_64-legacy.tar
bc48e9e135781be06f0dc20c12e9860483a2a32d7b2b2434b7e8708be536606c gamadv-xtd3-6.59.02-macos-x86_64.tar.xz
abf6f203bacf15bcac42099d4e8988e6a63a687ddac4be264baba3d905f09995 gamadv-xtd3-6.59.02-windows-x86.msi
f2ff8c50d2f33ad228b515495fce5c903806bfa05be59e22f34ff88b774f4b2d gamadv-xtd3-6.59.02-windows-x86.zip
28dffb304bef56cdd01fbb2ed21c75edbe1982a69e11c50b4c36b5b936800160 gamadv-xtd3-6.59.02-windows-x86_64.msi
fd184778cef3bd84dacd366b6a4254e471690950934ff7a16872bd1fa28bc880 gamadv-xtd3-6.59.02-windows-x86_64.zip