Setup GAM to use a existing service account.

1,418 views
Skip to first unread message

SAS

unread,
Jan 28, 2020, 8:00:38 AM1/28/20
to GAM for G Suite

Im searching a way to setup the GAM using an existing service account.
I dont have permissions to create new service account howeve i already have a service account to my project.
Its not possible

Ross Scroggs

unread,
Jan 28, 2020, 10:26:41 AM1/28/20
to google-ap...@googlegroups.com
If you have an existing project, try the following.
1. gam use project us...@domain.com <ProjectID>
Substitute your email address for us...@domain.com and your project ID for <ProjectID>
2. gam update project us...@domain.com <ProjectID>
3. gam oauth create
4: gam user us...@domain.com check serviceaccount

Ross

Esta mensagem, incluindo seus anexos, e de uso exclusivo do destinatário e pode conter informações confidenciais e/ou privilegiadas cuja divulgação e restrita. Caso você não seja o destinatário, qualquer uso, copia, alteração, divulgação, veiculação, reprodução ou distribuição desta mensagem e seus anexos, no todo ou parte, e estritamente proibida. Neste caso, por favor notifique o remetente imediatamente respondendo este email e exclua esta mensagem.

This message, including its attachments, is intended for the exclusive use of its addressee and may contain confidential, proprietary and/or privileged information of restricted disclosure. If you are not the intended recipient, any use, copy, modification, disclosure, dissemination, reproduction or distribution of either the whole or part of this message, or the attached documents, is strictly prohibited. In this case, please notify the sender immediately by reply e-mail and delete this message.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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 on the web visit https://groups.google.com/d/msgid/google-apps-manager/4998b2ac-5b8c-4967-8a66-a52e8776bfe9%40googlegroups.com.


--

CleberS

unread,
Mar 23, 2020, 12:04:46 PM3/23/20
to GAM for G Suite
Hi Ross, im trying to use this steps that you sent.

and im gething this failure message. 

Generating new private key...
Extracting public certificate...
Done generating private key and public certificate.
Uploading new public certificate to google...

ERRO: 400: Invalid service account email (None). - 400




Em terça-feira, 28 de janeiro de 2020 12:26:41 UTC-3, Ross Scroggs escreveu:
If you have an existing project, try the following.
1. gam use project us...@domain.com <ProjectID>
Substitute your email address for us...@domain.com and your project ID for <ProjectID>
2. gam update project us...@domain.com <ProjectID>
3. gam oauth create
4: gam user us...@domain.com check serviceaccount

Ross

On Tue, Jan 28, 2020 at 5:00 AM SAS <suport...@sulamerica.com.br> wrote:

Im searching a way to setup the GAM using an existing service account.
I dont have permissions to create new service account howeve i already have a service account to my project.
Its not possible


Esta mensagem, incluindo seus anexos, e de uso exclusivo do destinatário e pode conter informações confidenciais e/ou privilegiadas cuja divulgação e restrita. Caso você não seja o destinatário, qualquer uso, copia, alteração, divulgação, veiculação, reprodução ou distribuição desta mensagem e seus anexos, no todo ou parte, e estritamente proibida. Neste caso, por favor notifique o remetente imediatamente respondendo este email e exclua esta mensagem.

This message, including its attachments, is intended for the exclusive use of its addressee and may contain confidential, proprietary and/or privileged information of restricted disclosure. If you are not the intended recipient, any use, copy, modification, disclosure, dissemination, reproduction or distribution of either the whole or part of this message, or the attached documents, is strictly prohibited. In this case, please notify the sender immediately by reply e-mail and delete this message.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.


--
Ross Scroggs

Ross Scroggs

unread,
Mar 23, 2020, 3:16:05 PM3/23/20
to google-ap...@googlegroups.com
What are the email values shown?
gam show svcaccts <ProjectID>

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/5df40a51-009d-405c-b4b5-b21c93f830e6%40googlegroups.com.

Jacob Nance

unread,
Apr 23, 2020, 11:51:32 AM4/23/20
to GAM for G Suite
I'm having same issue.

I get "ERROR: svcaccts <my project iD> is not a valid argument for "gam show"




On Monday, March 23, 2020 at 2:16:05 PM UTC-5, Ross Scroggs wrote:
What are the email values shown?
gam show svcaccts <ProjectID>

Ross Scroggs

unread,
Apr 23, 2020, 11:57:41 AM4/23/20
to google-ap...@googlegroups.com
Jacob,

This capabilty is only available in Advanced GAM (https://github.com/taers232c/GAMADV-XTD3)

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/a1e414f9-5ca5-487a-97fd-8d8eb5cd0721%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages