Scroll to bottom of page for installation/downloads
Latest updates
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
e234cbbe32a94dcf171a5d3207a9f0b7203c4929b7cab6417c21ef56b5db561d gamadv-xtd3-6.67.34-linux-arm64-glibc2.23.tar.xz
70c915713074fcf25a62da5f0022a6287903668953f6b1332963d4ce90b32542 gamadv-xtd3-6.67.34-linux-arm64-glibc2.27.tar.xz
4d8c7341dbc903ba019b301da51de796a5ff8dcc7d27f04b750e600a1e139d38 gamadv-xtd3-6.67.34-linux-arm64-glibc2.31.tar.xz
234c87f794c24fa692f51f420d03b378803d573f08cf56ea0302914015f2ef23 gamadv-xtd3-6.67.34-linux-x86_64-glibc2.19.tar.xz
7155fe6642e5b6681e6cb048af560b8cfac69248ef9ba5fb01e6bbb4ba3c2a27 gamadv-xtd3-6.67.34-linux-x86_64-glibc2.23.tar.xz
eab851d73466c2ff449864c370cd34a2d12d7da802debc35e5a5d98b095a8f7a gamadv-xtd3-6.67.34-linux-x86_64-glibc2.27.tar.xz
121fb4c47a5b29425c5848a75ce38db3059886916589e79f32946b049d49ebdd gamadv-xtd3-6.67.34-linux-x86_64-glibc2.31.tar.xz
133c3bf11c8e7e2f97e9305040d3ca9776ebf40848f51b17de777d0453b5a59c gamadv-xtd3-6.67.34-linux-x86_64-glibc2.35.tar.xz
00c2ef71336e95701e404863c03e52d045243f4d3f8977aea0c286687d12b3a0 gamadv-xtd3-6.67.34-linux-x86_64-legacy.tar.xz
08459323fc08488697e619af58fabaef80fa5e97c5e4c93327ab4baa5756a48b gamadv-xtd3-6.67.34-macos-arm64.tar.xz
1f9a1d5d05d04ccec8a49a410ac600e43364a77b7ba17ecbff5103e85fd19cd3 gamadv-xtd3-6.67.34-macos-x86_64.tar.xz
1a8fd36f20542109388e21cf7285914b59f13ee9caa0b1ce8b0900c15a026ac8 gamadv-xtd3-6.67.34-windows-x86_64.msi
6b359efe9f96cd9eeab0e25da066343e224f2a36eb224a8a64b0980e00765dd0 gamadv-xtd3-6.67.34-windows-x86_64.zip