Gmail API not enabled.

23 views
Skip to first unread message

Louis Nguyen

unread,
Nov 7, 2025, 1:32:24 PM (12 days ago) Nov 7
to GAM for Google Workspace
I've enabled the relevant APIs:
[*] 26)  Gmail API - Basic Settings (Filters, IMAP, Language, POP, Vacation) - read/write, Sharing Settings (Delegates, Forwarding, SendAs) - read
[*] 27)  Gmail API - Full Access (Labels, Messages)
[*] 28)  Gmail API - Full Access (Labels, Messages) except delete message
[*] 29)  Gmail API - Full Access - read only
[*] 30)  Gmail API - Send Messages - including todrive
[*] 31)  Gmail API - Sharing Settings (Delegates, Forwarding, SendAs) - write

I've sent the GAM link and advised the approver on these steps: You will be directed to the Google Workspace admin console Security > API Controls > Domain-wide Delegation page
The "Add a new Client ID" box will open
Make sure that "Overwrite existing client ID" is checked
Click AUTHORIZE
When the box closes you're done
After authorizing it may take some time for this test to pass so wait a few moments and then try this command again.

After 30 minutes I run gam user us@domain add delegate end@domain. I get the error: Gmail API Service/App not enabled

Sergio Alvarez

unread,
Nov 7, 2025, 8:40:58 PM (12 days ago) Nov 7
to GAM for Google Workspace
You could be using a Google Workspace user that does not have Gmail enabled or you could be running a query over a user that does not have Gmail enabled or part of the license tier. Make sure that the super administrator who authorized the setup is a full license, that the user that you are using to verify the API access is a fully license user or that your enviroment is not a Cloud identity environment or a Google workspace license that is not using Gmail 
Reply all
Reply to author
Forward
0 new messages