Scroll to bottom of page for installation/downloads
Latest updates
6.67.35
Added the following options to <PermissionMatch>
that allow more powerful matching.
nottype <DriveFileACLType>
typelist <DriveFileACLTypeList>
nottypelist <DriveFileACLTypeList>
rolelist <DriveFileACLRoleList>
notrolelist <DriveFileACLRoleList>
6.67.34
Added option movetoorgunitdelay <Integer>
to gam <UserTypeEntity> create shareddrive <Name> ... ou|org|orgunit <OrgUnitItem>
.
GAM creates the Shared Drive, verifies that it has been created and then tries to move it to <OrgUnitItem>
. Google seems to
require a delay or the following error is generated.
ERROR: 409: 409 - The operation was aborted.
movetoorgunitdelay
defaults to 20 seconds which seems to work; <Integer>
can range from 0 to 60.
6.67.33
Upgraded to OpenSSL 3.2.1 where possible.
Fixed bug in gam <UserTypeEntity> print shareddrives
where role
was improperly displayed as fileOrganizer
rather than writer
.
Added option guiroles [<Boolean>]
to gam <UserTypeEntity> info|print|show shareddrive
that maps
the Drive API role names to the Google Drive GUI role names.
API: GUI
commenter: Commenter
fileOrganizer: Content manager
organizer: Manager
reader: Viewer
writer: Contributor
6.67.32
Updated <ToDriveAttribute>
to allow multiple tdshare <EmailAddress> commenter|reader|writer
options.
Fixed bug in gam <UserTypeEntity> print shareddrives
where role
was improperly displayed as unknown
rather than reader
when Allow viewers and commenters to download, print, and copy files
was unchecked for the Shared Drive.
6.67.31
Updated gam <UserTypeEntity> claim|transfer ownership <DriveFileEntity>
to properly
handle the case where <DriveFileEntity>
referencess a Drive shortcut.
6.67.30
Fixed bug where the fullpath
option in various commands was not converting the generic shared drive name Drive
to the drive's actual name.
6.67.29
Added optional argument owneraccess
to gam courses <CourseEntity> remove teachers|students [owneracccess] <UserTypeEntity
and
gam course <CourseID> remove teacher|student [owneraccess] <EmailAddress>
in order to test a possible API change.
Updated code to avoid a trap when gam config auto_batch_min 1 csv file.csv gam ...
was entered.
The config auto_batch_min 1
is not appropriate in this context and will be ignored.
6.67.28
Improved handling of Bad Request
error in gam <UserTypeEntity> collect orphans
.
6.67.27
Updated gam <UserTypeEntity> collect orphans
to handle the following error:
ERROR: 400: badRequest - Bad Request
6.67.26
Fixed bug in gam print vaultexports ... formatjson
that caused a trap.
6.67.25
Added option owneraccess
to gam info courses <CourseEntity>
and gam info course <CourseID>
in order
to test a possible API change.
6.67.24
Fixed bug that caused HTML password notification email messages to be displayed in raw form.
6.67.23
Use local copy of googleapiclient
to remove static discovery documents to improve performance.
6.67.22
Added permissionidlist <PermissionIDList>
to <PermissionMatch>
that allows matching any permission ID in a list.
Added option exportlinkeddrivefiles <Boolean>
to gam create vaultexport
that is used with corpus mail
.
6.67.21
Updated gam remove aliases <EmailAddress> user|group <EmailAddressEntity>
to give a more informative
error message when the target/alias combination does not exist.
Old: User: testsimple@rdschool.org, User Alias: tsalias@rdschool.org, Remove Failed: Invalid Input: resource_id
New: User: testsimple@rdschool.org, User Alias: tsalias@rdschool.org, Remove Failed: Does not exist
6.67.20
Added option onelicenseperrow|onelicenceperrow
to gam print users ... licenses
that causes GAM to print
a seperate user information row for each license a user is assigned. This makes processing
the licenses in a script possible and allows better sorting in a CSV File.
By default, all licenses for a user are displayed in a list on one row:
primaryEmail,LicensesCount,Licenses,LicensesDisplay
user@domain.com,2,1010020020 1010330004,Google Workspace Enterprise Plus Google Voice Standard
With onelicenseperrow|onelicenceperrow
, each license is on a separate row:
primaryEmail,License,LicenseDisplay
user@domain.com,1010020020,Google Workspace Enterprise Plus
user@domain.com 1010330004,Google Voice Standard
6.67.19
Updated gam create|update user ... notify
to encode the characters <>&
in the password
so that they display correctly when the notify message content is HTML.
6.67.18
Cleaned up Getting/Got
messages for gam print courses|course-participants
.
6.67.17
Added option showitemcountonly
to various commands that causes GAM to display the
item count on stdout; no CSV file is written.
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Cloud-Identity-Groups#display-group-counts
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Classroom-Courses#display-course-counts
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Classroom-Membership#display-course-membership-counts
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/ChromeOS-Devices#display-cros-device-counts
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Cloud-Identity-Devices#display-device-counts
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Cloud-Identity-Devices#display-device-user-counts
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Groups#display-group-counts
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Mobile-Devices#display-mobile-device-counts
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Organizational-Units#display-organizational-unit-counts
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Resources#display-resource-counts
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Users#display-user-counts
6.67.16
By default, gam print group-members membernames
displays Unknown
for members whose names can not be determined.
Added option unknownname <String>
that let's you specify an alternative value.
Further improved performance of gam print group-members membernames cachememberinfo
.
6.67.15
Update gam print group-members membernames
to handle the following error:
ERROR: 400: failedPrecondition - Precondition check failed.
Added option cachememberinfo [Boolean]
to gam print group-members
that causes GAM to cache member info
so that only one API call is made to get information for each user/group. This consumes
more memory but dramatically reduces the number of API calls.
6.67.14
Updated reseller commands to handle the following error:
ERROR: 400: invalid - Customer domain [domain.com] is linked to one or more email verified customers, please provide a customer id.
6.67.13
Updated gam create domain <DomainName>
to handle the following error:
ERROR: 409: conflict - Domain in request is in use by an email verified customer.
6.67.12
Added option addcsvdata <FieldName> <String>
to gam print datatransfers
that adds
additional columns of data to the CSV file output.
6.67.11
Updated various Gmail related commands to handle this error:
ERROR: 403: permissionDenied - Insufficient Permission
when the following service account scopes are selected:
[ ] 23) Gmail API - Basic Settings (Filters,IMAP, Language, POP, Vacation) - read/write, Sharing Settings (Delegates, Forwarding, SendAs) - read
[ ] 24) Gmail API - Full Access (Labels, Messages)
[ ] 25) Gmail API - Full Access (Labels, Messages) except delete message
[*] 26) Gmail API - Full Access - read only
[ ] 27) Gmail API - Send Messages - including todrive
[ ] 28) Gmail API - Sharing Settings (Delegates, Forwarding, SendAs) - write
6.67.10
Fixed bug that caused a trap when optional argument charset <Charset>
was used with emlfile <FileName>
in gam <UserTypeEntity> draft|import|insert message
.
6.67.09
Added option maxevents <Number>
to gam report <ActivityApplictionName>
that limits
the number of events displayed for each activity; the default is 0, no limit.
Setting options maxactivities 1 maxevents 1 maxresults 1
can be used to as efficiently as possible
show the most recent activity/event; this can be useful when reporting drive activity for individual drive files.
6.67.08
Added optional argument charset <Charset>
to emlfile <FileName>
in gam <UserTypeEntity> draft|import|insert message
;
the default value is ascii
.
6.67.07
Updated gam <UserTypeEntity> delete message
to handle this error:
ERROR: 403: permissionDenied - Insufficient Permission
when the following service account scopes are selected:
[ ] 24) Gmail API - Full Access (Labels, Messages)
[*] 25) Gmail API - Full Access (Labels, Messages) except delete message
6.67.06
Updated commands that create ACLs to handle the following error:
ERROR: 400: abusiveContentRestriction - Bad Request. User message: "You cannot share this item because it has been flagged as inappropriate."
6.67.05
Updated the following commands:
gam <UserTypeEntity> create|delete|update delegate
gam <UserTypeEntity> forward
gam <UserTypeEntity> create|delete forwardingaddresses
gam <UserTypeEntity> create|delete sendas
to handle this error:
ERROR: 403: permissionDenied - Insufficient Permission
when the following serice account scope is not enabled:
[ ] 28) Gmail API - Sharing Settings (Delegates, Forwarding, SendAs) - write
6.67.04
Updated user attribute replace <Tag> <UserReplacement>
to allow field:photourl
which allows
embedding a link to a user's photo in their signature. Formatting the signature HTML
to properly display the photo is left to the GAM admin.
6.67.03
Fixed bug introduced in 6.67.02 in gam <UserTypeEntity> claim ownership
that caused a trap.
6.67.02
Added option skipids <DriveFileEntity>
to gam <UserTypeEntity> copy drivefile
that handles special cases
where you want to prevent selected files/folders from being copied.
Updated commands that create files/folders on Shared Drives to handle the following errors:
storageQuotaExceeded
teamDriveFileLimitExceeded
teamDriveHierarchyTooDeep
6.67.01
Fixed bug in gam print vaultcounts
that caused a trap.
6.67.00
Updated gam <CrOSTypeEntity> update action <CrOSAction>
to use the new API function batchChangeStatus
that replaces the old API function action
; ChromeOS devices are now processed in batches.
The batch size defaults to 10, the actionbatchsize <Integer>
option can be used to set a batch size between 10 and 250.
Updated gam create vaultexport matter <MatterItem>
to support corpus calendar
.
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
5d7ce4136e3760ea367ca96a912600b409119fb6b8671b9eb11032724a61f2b6 gamadv-xtd3-6.67.35-linux-arm64-glibc2.23.tar.xz
aae8e7efab0d8cec33b1b6bdc8d669b33617956c1c9f050f879596dee49397cb gamadv-xtd3-6.67.35-linux-arm64-glibc2.27.tar.xz
81baf10be176da35bbd1f3c5417f29d51de36b8a8a06beb6bd8611d78b03d7dc gamadv-xtd3-6.67.35-linux-arm64-glibc2.31.tar.xz
ca84843a3fa943d390e6415aff0f1e61a10338023edcbc4c8502fc3af205ca83 gamadv-xtd3-6.67.35-linux-x86_64-glibc2.19.tar.xz
a769d761bda34c59da88eb94a7dcb4299896f63fb06b77e0830ebb230e130f1f gamadv-xtd3-6.67.35-linux-x86_64-glibc2.23.tar.xz
4cda262115d94675c8677521bd4734dc047b604843b8a3af8a278a301d26281d gamadv-xtd3-6.67.35-linux-x86_64-glibc2.27.tar.xz
9a531f9f54500547190d7c56c79a7201743cdd123c9b10369fb8a223cfb18820 gamadv-xtd3-6.67.35-linux-x86_64-glibc2.31.tar.xz
8c89a3a92b359b29c69b5edf66a83521860cae0f9584549ce0fba006f1445c48 gamadv-xtd3-6.67.35-linux-x86_64-glibc2.35.tar.xz
31df05eb16bb29835edbb0afe88d587f1667a01a1072da5d252fc8bddb25677a gamadv-xtd3-6.67.35-linux-x86_64-legacy.tar.xz
db0ee852d9d9d4a20da6327506842955fde0077cd447ad03d3c3572d576dcb06 gamadv-xtd3-6.67.35-macos-arm64.tar.xz
9fc9f33b0a3ffba23b99710c6d2d0172563b0a46ce15945b1e939c34b888b802 gamadv-xtd3-6.67.35-macos-x86_64.tar.xz
6fbb01d06033736433d2a03d0c49b1a8620699fcfb8e39b5408cd1edac9fbbc7 gamadv-xtd3-6.67.35-windows-x86_64.msi
32e826239c640412e5cb46c0763e0baa64147d2fb5052ddaebb2ee80b6d21bc1 gamadv-xtd3-6.67.35-windows-x86_64.zip