Not Authorized to access this resource/api

31 views
Skip to first unread message

Bassel Massamiri

unread,
Sep 17, 2025, 11:47:02 AM (9 days ago) Sep 17
to GAM for Google Workspace
Hi All,

Trying to run this command and getting errors:

gam config auto_batch_min 1 num_threads 20 redirect csv - multiprocess csv gsheet <sheet owner> <sheetid> <sheetname> gam user ~usertoadd add group member ~group

ERROR: Not Authorized to access this resource/api

ERROR: Reauthentication is needed, please run

gam oauth create

I have already ran gam oauth create and gam user <myadminaccount> check serviceaccount.

Still having same issues , how to fix this issue.

Running GAM 7.21.01
Thanks

Fernando Fernández

unread,
Sep 23, 2025, 10:09:40 AM (3 days ago) Sep 23
to GAM for Google Workspace
I had the same error in some commands, I ended up downgrading to the last version that was working fine for me (7.05)

Bassel Massamiri

unread,
Sep 23, 2025, 10:26:39 AM (3 days ago) Sep 23
to google-ap...@googlegroups.com
Hi Fernando,

My issue was that I wasn't matching the sheet headers ~usertoadd ~group

--
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/02c0fe74-9a9a-4cb3-bd8b-efe4ad5b729cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages