Scroll to bottom of page for installation/downloads
Latest updates
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
90ede224c2ff8959d1524a0063de625cc5ca86df6e541ef04a256670610fa561 gamadv-xtd3-6.67.33-linux-arm64-glibc2.23.tar.xz
4749bf44207412bb808f34ec68ec81eb525595cfd6a78fb85f497a0059aefcb4 gamadv-xtd3-6.67.33-linux-arm64-glibc2.27.tar.xz
3105440e24d9e77d741d11e23cd8a388f912ac606525220703c68b3d68977144 gamadv-xtd3-6.67.33-linux-x86_64-glibc2.19.tar.xz
d72047ecdb9f2e7023d296b64aec1146431214455c47f0e5248d2a44861e347c gamadv-xtd3-6.67.33-linux-x86_64-glibc2.23.tar.xz
1585bea8310ee59a89e86699399e4d4ed6967a6b846adf8ef432292d01fab2a3 gamadv-xtd3-6.67.33-linux-x86_64-glibc2.27.tar.xz
c9130814f34a277e73dab16030865617e22d5f8edd6c66f2484eab625bbc2f48 gamadv-xtd3-6.67.33-linux-x86_64-glibc2.31.tar.xz
d8cfb648028767299cf4470ba9b5b59e1af51bf652a85c42e7f2f843c3afcdd8 gamadv-xtd3-6.67.33-linux-x86_64-glibc2.35.tar.xz
63620949c7d74a01b5889b1195ce3c9866157e162ec3a4ff2aef11a2611d6566 gamadv-xtd3-6.67.33-linux-x86_64-legacy.tar.xz
e872ab5528bfe0e607c1646ab9cc22e270569c9e99d82ddc5884e05e6da1cf8c gamadv-xtd3-6.67.33-macos-arm64.tar.xz
cb0e648e87729e7aa67c93430a3accab8b7f7c029321c7b0967916862de08f80 gamadv-xtd3-6.67.33-macos-x86_64.tar.xz
8815e86830f50ae25aaa9b77c200aa19ae1b26650219ff791427ca9eb6e4881a gamadv-xtd3-6.67.33-windows-x86_64.msi
4cd2ea607ba63c106b733df376748e014f88df4f6a530541c084e6737da2880c gamadv-xtd3-6.67.33-windows-x86_64.zip