GAM7 cannot access Gmail delegates – missing Gmail scope in OAuth

39 views
Skip to first unread message

Alex Serdyukov

unread,
Mar 31, 2026, 7:35:13 PM (6 days ago) Mar 31
to GAM for Google Workspace
  • Hi,

    I’m trying to retrieve Gmail mailbox delegates using GAM7:

    gam user us...@domain.com show delegates

    But I get:

    Gmail API Service/App not enabled

    Problem

    During OAuth setup (gam oauth create/request), the scope selection menu does not include any Gmail scopes (such as https://mail.google.com/ or gmail.settings.sharing).

    Because of this, the generated OAuth token (verified via gam oauth info) does not include Gmail scopes.


    Result

    GAM cannot access Gmail delegation data even though:

    • Gmail API is enabled in the project
    • Delegates exist on the mailbox
    • Admin account has sufficient privileges

    Question

    How can Gmail scopes be included in GAM OAuth so mailbox delegates can be retrieved?

    Is this a limitation or expected behavior in GAM7?

    Thanks

Ross Scroggs

unread,
Mar 31, 2026, 7:38:01 PM (6 days ago) Mar 31
to google-ap...@googlegroups.com
Do: gam user us...@domain.com update serviceaccount

gam oauth create - Sets up client access
gam user us...@domain.com update serviceaccount - Sets up service account access

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/07530184-b9be-4e8a-a7a0-4bea185d8211n%40googlegroups.com.

Alex Serdyukov

unread,
Apr 1, 2026, 3:36:50 PM (5 days ago) Apr 1
to GAM for Google Workspace
I'm able to setup client access but when I run  gam user us...@domain.com update serviceaccount I get this error

ERROR: Service Account OAuth2 File: C:\Users\user\.gam\oauth2service.json, Does not exist or has invalid format, No data
Please run

gam create|use project
gam user <user> update serviceaccount

Ross Scroggs

unread,
Apr 1, 2026, 3:39:02 PM (5 days ago) Apr 1
to google-ap...@googlegroups.com
Send me a private Meet/Zoom invitation  and I'll help.

Ross
----
Ross Scroggs


Reply all
Reply to author
Forward
0 new messages