Persistent File System & Command Argument Errors After GAM 7 Reinstall (Windows)

39 views
Skip to first unread message

Admin Toni Frisbie

unread,
Dec 3, 2025, 1:50:00 PM (4 days ago) Dec 3
to GAM for Google Workspace

Hello GAM Team,

I am experiencing critical and persistent failures on my Windows GAM 7 installation (C:\GAM7) that suggest a deep environmental or configuration mismatch. I have reinstalled GAM 7, rebooted, and confirmed Super Admin privileges, but the issues persist.

The core problem is that previously working commands now fail with OS or argument errors.

1. Persistent File Access Failure (OS Level)

I cannot run any command that reads a file via gam csv or txt, even when the file is confirmed to exist in the C:\GAM7 directory and the command is run as Administrator.

  • Command Attempt: gam csv testing.csv gam update user "~primaryEmail" CustomAttributesMio "APAC"

  • Resulting Error (OS): The system cannot find the file specified.

  • Note: I confirmed the file exists via dir testing.csv and resorted to a batch file workaround to update users.

2. Invalid Argument Errors (GAM Version/Syntax Mismatch)

I receive "Invalid argument" when attempting to run specific, documented group commands, suggesting a difference in the parameter names required by my specific GAM build.

  • Command Attempt 1 (Delegation Logic): gam update group <group> membership_management_type ADMIN

  • Resulting Error: ERROR: Invalid argument

3. API/Schema Failure (Super Admin Block)

As a Super Admin, I am blocked from performing essential schema management functions, indicating an API-level read/write issue.

  • GAM Command Failure (Debugging): Attempts to list schemas or use custom schema queries fail.

I am at a complete standstill and believe the local executable or its environment dependencies are corrupted/outdated in a non-standard way. Could you please advise on definitive steps to identify the required internal parameter names for my GAM version or resolve this file access block?

Thank you for your time and expertise.

Ross Scroggs

unread,
Dec 3, 2025, 9:39:22 PM (3 days ago) Dec 3
to google-ap...@googlegroups.com
I am in California (GMT-7) and am avaiilable starting at 7:30AM

Send me a provaye Meet/Zoom onvitation and I will help you.

Ross
----
Ross Scroggs



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/08166caf-03ed-46d2-89aa-a4f26e007844n%40googlegroups.com.

Ross Scroggs

unread,
Dec 4, 2025, 10:33:00 AM (3 days ago) Dec 4
to google-ap...@googlegroups.com
3. Do: gam oauth create
is this set? [*] 38)  Directory API - User Schemas (supports readonly)

Do: gam show admins user admin.t...@theorchard.com

Do you see:     role: _SEED_ADMIN_ROLE

If not, in the Admin console, go to Account/Admin Roles and click on your role.
At the right end of the line under Actions click View Privileges
At the bottom of the list, click Open Privileges
Scroll down to Admin API privileges
If Schema Management is not checked, check it and click Save

2. gam update group <group> membership_management_type ADMIN

membership_management_type is undefined, what setting are you trying to set?

1. gam csv testing.csv gam update user "~primaryEmail" CustomAttributesMio "APAC"

Forgetting the "The system cannot find the file specified." error for a moment,
the command is not valid; schemas are specified ad <SchemaName>.<FieldName>. 
Show a sample command from your batch file.

Again, send me a private Meet/Zoom inviation and I'll help.

Ross
----
Ross Scroggs


Admin Toni Frisbie

unread,
Dec 5, 2025, 12:20:10 PM (2 days ago) Dec 5
to GAM for Google Workspace
Hello - 

My apologies for the delay.  I will Send out the Meet. Thanks you for the response. It will be coming from a slightly different email, but still Toni Frisbie

Thanks! 

Admin Toni Frisbie

unread,
Dec 5, 2025, 12:28:55 PM (2 days ago) Dec 5
to GAM for Google Workspace
Hi Ross - 

In answer to your questions 

1. Yes  [*] 38)  Directory API - User Schemas (supports readonly) is set
3. This is the full script below, I had to modify it slightly.

@echo off
ECHO Starting GAM script to update the 'Mio' custom attribute...
ECHO.

REM --- GAM Command ---
REM The command reads the 'users_for_mio.csv' file and updates each user.
REM It sets the 'Mio' field in the 'CustomAttributes.test' schema to the value 'Mio'.
gam csv users_for_mio.csv gam update user ~primaryEmail Custom_Attributes.test "Mio"

ECHO.
ECHO Script finished. The custom attribute has been updated for the users listed.
PAUSE


Sending the Meet now - 

On Thursday, December 4, 2025 at 10:33:00 AM UTC-5 Ross Scroggs wrote:
Reply all
Reply to author
Forward
0 new messages