Creating contactgroup gives "Service not applicable/does not exist"

1,185 views
Skip to first unread message

Matthew Cooper

unread,
Jul 1, 2018, 2:48:55 PM7/1/18
to google-ap...@googlegroups.com
Hey all,

I cannot get the following command to work with advanced GAM:

$ gam user mwcoop create contactgroup name <groupname>
User: mwcoop, Service not applicable/does not exist


Any thoughts/corrections greatly appreciated!


Blessings,
-MC


Ross Scroggs

unread,
Jul 1, 2018, 5:53:32 PM7/1/18
to google-ap...@googlegroups.com
Matthew,

Do: gam user mwcoop check serviceaccount

Ross
--
ross.s...@gmail.com
> --
> 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 post to this group, send email to google-ap...@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-apps-manager.
> To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/D57DE928-B0EF-4BA4-B95C-3C00100D4792%40build2c.org.
> For more options, visit https://groups.google.com/d/optout.

Tim Keeling

unread,
Jul 1, 2018, 7:54:41 PM7/1/18
to GAM for G Suite
Hi Matt.

Do you have multiple primary domain aliases setup in your environment?
I do in mine and I get that error if I don't use the full email address after 'gam user....'

Hopefully that helps.

Cheers,
Tim
--
The information contained in this e-mail message and any accompanying files
is or may be confidential. If you are not the intended recipient, any use,
dissemination, reliance, forwarding, printing or copying of this e-mail or
any attached files is unauthorised. This e-mail is subject to copyright. No
part of it should be reproduced, adapted or communicated without the
written consent of the copyright owner. If you have received this e-mail in
error please advise the sender immediately by return e-mail or telephone
and delete all copies. Macquarie Media does not guarantee the accuracy or
completeness of any information contained in this e-mail or attached files.
Internet communications are not secure, therefore Macquarie Media does not
accept legal responsibility for the contents of this message or attached
files.

Ross Scroggs

unread,
Jul 1, 2018, 8:05:13 PM7/1/18
to google-ap...@googlegroups.com
Matt,

Following up on Tim's suggestion, do: gam config verify
Are domain and customer_id set?
If not, do:
gam info domain
gam config domain <PasteDomainHere> customer_id <PasteCustomerIDHere> save

Ross
--
ross.s...@gmail.com
> --
> 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 post to this group, send email to google-ap...@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-apps-manager.
> To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/49218982-38a1-4a13-8e7a-7c71f325fefd%40googlegroups.com.

Matthew Cooper

unread,
Jul 2, 2018, 4:17:16 AM7/2/18
to google-ap...@googlegroups.com
Thanks guys,

Ross, you were correct on checking serviceaccount scopes. Looks like I was missing a couple. Thanks!
> To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/ACDED96D-09F1-4ABC-8E7D-BE8CC562758D%40gmail.com.
Reply all
Reply to author
Forward
0 new messages