API scopes for G Suites show failing on check serviceaccount

382 views
Skip to first unread message

GM Admin

unread,
Jan 23, 2017, 11:25:33 AM1/23/17
to GAM for G Suite
Hello,

For some reason I can't seem to get some of the API scopes I'm trying to add to a service account to pass.

I ran the following GAM command: gam user myuseraccount check serviceaccount

The result is:

User: myuseraccount
 Scope: https://mail.google.com/                                     PASS
 Scope: https://www.googleapis.com/auth/activity                     FAIL
 Scope: https://www.googleapis.com/auth/calendar                     PASS
 Scope: https://www.googleapis.com/auth/drive                        FAIL
 Scope: https://www.googleapis.com/auth/gmail.settings.basic         FAIL
 Scope: https://www.googleapis.com/auth/gmail.settings.sharing       FAIL
 Scope: https://www.googleapis.com/auth/plus.me                      PASS

When I enter the admin console I go under the Manager API client access page, enter in the client name the GAM command instruction point me at and add the APIs it lists.  They show up fine in the admin console under Manage API client access however the same result keeps showing that most are failing.  I'm unable to run the GAM commands I'm trying to run because of this.  Is there something I'm missing?

Ross Scroggs

unread,
Jan 23, 2017, 11:32:04 AM1/23/17
to google-ap...@googlegroups.com
GM Admin,

It can sometimes take several minutes for the changes to take effect.
Wait a bit and try again.

Ross

--
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.
To post to this group, send email to google-apps-manager@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/0d91807b-2c7e-46be-b92d-6fa45986714d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

GM Admin

unread,
Jan 23, 2017, 10:07:52 PM1/23/17
to GAM for G Suite
Ah, impatience strikes again.  That was it.  It took about 10 minutes for it to finally take.  Thank you again for your help!


On Monday, January 23, 2017 at 11:32:04 AM UTC-5, Ross Scroggs wrote:
GM Admin,

It can sometimes take several minutes for the changes to take effect.
Wait a bit and try again.

Ross
On Mon, Jan 23, 2017 at 8:12 AM, GM Admin <harley.s...@gostangs.org> wrote:
Hello,

For some reason I can't seem to get some of the API scopes I'm trying to add to a service account to pass.

I ran the following GAM command: gam user myuseraccount check serviceaccount

The result is:

User: myuseraccount
 Scope: https://mail.google.com/                                     PASS
 Scope: https://www.googleapis.com/auth/activity                     FAIL
 Scope: https://www.googleapis.com/auth/calendar                     PASS
 Scope: https://www.googleapis.com/auth/drive                        FAIL
 Scope: https://www.googleapis.com/auth/gmail.settings.basic         FAIL
 Scope: https://www.googleapis.com/auth/gmail.settings.sharing       FAIL
 Scope: https://www.googleapis.com/auth/plus.me                      PASS

When I enter the admin console I go under the Manager API client access page, enter in the client name the GAM command instruction point me at and add the APIs it lists.  They show up fine in the admin console under Manage API client access however the same result keeps showing that most are failing.  I'm unable to run the GAM commands I'm trying to run because of this.  Is there something I'm missing?

--
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.
To post to this group, send email to google-ap...@googlegroups.com.



--
Reply all
Reply to author
Forward
0 new messages