Issue while running a GAM command

14 views
Skip to first unread message

Latha E

unread,
Jan 20, 2026, 9:28:14 AM (18 hours ago) Jan 20
to GAM for Google Workspace
Hi team,

We are having some issue while running the “gam print users allfields” command. Error screenshot it attached below

 

Please note that we can run other commands like gam info domain successfully. Only having trouble running the above command. We are using gam version GAM 7.02.08.

 

Please have a look and get back to us as soon as possible as this is affecting our organization’s user management.­­­­­­­­­­­­

 

Thanks, 

Latha E

unread,
Jan 20, 2026, 9:33:13 AM (18 hours ago) Jan 20
to GAM for Google Workspace
If error screenshot is not visible then here it is 
PS C:\Users\ads.lerki> gam print users allfields
Getting all Users, may take some time on a large Google Workspace Account...
Got 500 Users:  - a...@xyz.comTraceback (most recent call last):
  File "__init__.py", line 77363, in ProcessGAMCommand
  File "__init__.py", line 45307, in doPrintUsers
  File "__init__.py", line 45019, in _printUser
KeyError: 'primaryEmail'

Note: modified the user email in error details. 

Reply all
Reply to author
Forward
0 new messages