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
f231ad5ee9cf92cb66e35b57352d4a899a1544a44d0e571e73451d0e836d1e13 gamadv-xtd3-6.67.35-linux-arm64-glibc2.23.tar.xz
8e8d3796b6b91417d3096ba4c50b4d105b6b1f2465bb301aa8d6a0ae2f578c54 gamadv-xtd3-6.67.35-linux-arm64-glibc2.27.tar.xz
905707509d27e87940e059e4b252f6c92921c6de86d99280ed06109764c86dab gamadv-xtd3-6.67.35-linux-arm64-glibc2.31.tar.xz
15f24dab41c22455c0b39a602531cb8b4cb484edb0b1b64157dffa1bee04b67d gamadv-xtd3-6.67.35-linux-x86_64-glibc2.19.tar.xz
64f382c8d233d8bc9ed6db084eda83addb77a0a87876b8f9966001247cb1d7eb gamadv-xtd3-6.67.35-linux-x86_64-glibc2.23.tar.xz
50d3e8980d8cc3b75fc1f40d8facd01be3136fa6a5ae626a4d9df0b601ccf75d gamadv-xtd3-6.67.35-linux-x86_64-glibc2.27.tar.xz
9f7fd038ddb69f430a275210033fed24acec384f4021bc5b35f3123e6523f1e7 gamadv-xtd3-6.67.35-linux-x86_64-glibc2.31.tar.xz
6d28c6743bbb9977e4b5aa1c9ac76e916a28114d867ad914e8333ebcc2936462 gamadv-xtd3-6.67.35-linux-x86_64-glibc2.35.tar.xz
5a79b937834e42928be8d7500e3576532548e67e87133b5877070ac59c1cf201 gamadv-xtd3-6.67.35-linux-x86_64-legacy.tar.xz
de6dabd8e9094caea305ac93722cb49e4cbfbd8ae4932fe7699cabc16bcef357 gamadv-xtd3-6.67.35-macos-arm64.tar.xz
2ff56a748e39b7356d8803109d72384455b4bd4127ffd5e59361290e056a1a8b gamadv-xtd3-6.67.35-macos-x86_64.tar.xz
7fd285c7e2cf36e627d291a5318fb9e86480c4ca69acfb513841c7023f0d0c84 gamadv-xtd3-6.67.35-windows-x86_64.msi
1740554cfbf88caa37afd45310b7e3a1b567ba3770c365d67f8e3414fd4f38ed gamadv-xtd3-6.67.35-windows-x86_64.zip