Scroll to bottom of page for installation/downloads
Latest updates
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
d936a6850f371954ac3b0fc13b62cf8533a65143eef594d35a4126d20cc25f02 gamadv-xtd3-6.58.02-linux-arm64-glibc2.23.tar.xz
c99fac82acac5b2b4807ba1bcc692b1bac4d7fc522f18847bc3e8e43b7fe4179 gamadv-xtd3-6.58.02-linux-arm64-glibc2.27.tar.xz
6553d261de5b0f9f554df6f96af2ea34357c026d0cbf45088a7c6755258a9390 gamadv-xtd3-6.58.02-linux-arm64-glibc2.31.tar.xz
d65a9260cb1fb28612e0c3c8c7d042f6ad73225700a62c7ad6eea4604b8c8464 gamadv-xtd3-6.58.02-linux-x86_64-glibc2.19.tar.xz
b6d1ca3831813d362391c31fa0426a7d9680834ba5f58cba33f310987f029f68 gamadv-xtd3-6.58.02-linux-x86_64-glibc2.23.tar.xz
7d34d1d1541134565802a3e24ef966195602c1c88f942a91c22df85736403e14 gamadv-xtd3-6.58.02-linux-x86_64-glibc2.27.tar.xz
9d3ca9a72c3b0e2c61d6a09edf77757f9be7ce7421ba2ee0b9fe40bfd4804a2b gamadv-xtd3-6.58.02-linux-x86_64-glibc2.31.tar.xz
3d6f2b55d9b7dfea462d1a9358dd265d7fc366ba61e4df458e1ab59dd7372f04 gamadv-xtd3-6.58.02-linux-x86_64-glibc2.35.tar.xz
04698795ec516bc6e1833b10e89dce37f0f49fe39d74d9cd6fcf3465065cb433 gamadv-xtd3-6.58.02-linux-x86_64-legacy.tar.xz
e03df385e75ed7b14fec92aeee029aaa721178b473cf94225935d288c93dd36e gamadv-xtd3-6.58.02-macos-arm64.tar.xz
422a0d1b93bd47bb288f811afc394333c627e98ff0b2066255e0db4c9a84e104 gamadv-xtd3-6.58.02-macos-x86_64-legacy.tar
ef4019dee5bb7636c4ae3f130b4abae219410141ce1b84c5c86e241e6c86aedb gamadv-xtd3-6.58.02-macos-x86_64.tar.xz
3cb1c49271446689c2de39b880d4583d4430e492722732dd283ca5d8ddf46a55 gamadv-xtd3-6.58.02-windows-x86.msi
d9e347bad7e3f2a84215a3a1bb1b90e8f514b6f5ecee58512644c4b0bff17c4a gamadv-xtd3-6.58.02-windows-x86.zip
cb8e474419692cc574dca2a11f06fbcf911c628e003269338be0d93d553b19e4 gamadv-xtd3-6.58.02-windows-x86_64.msi
1b166bfbc77e1be39ad022f98d1d0c0005ac640ddcb788a9f8074e5f5d911d04 gamadv-xtd3-6.58.02-windows-x86_64.zip