Authorizing GAM

375 views
Skip to first unread message

Bruce Selzler

unread,
Jun 19, 2017, 4:53:43 PM6/19/17
to GAM for G Suite
Hello team,

I went into gam today hoping to suspend all of the student accounts for the summer.  My usual script won't work, so I assumed that I needed to update GAM.  Followed the directions for updating GAM, and now I seem to be stuck in a loop that asks me the following:

Select the authorized scopes by entering a number.

Append an 'r' to grant read-only access or an 'a' to grant action-only access.


[*]  0)  Classroom API - counts as 5 scopes

[*]  1)  Cloud Print API

[*]  2)  Data Transfer API (supports readonly)

[*]  3)  Directory API - Chrome OS Devices (supports readonly)

[*]  4)  Directory API - Customers (supports readonly)

[*]  5)  Directory API - Domains (supports readonly)

[*]  6)  Directory API - Groups (supports readonly)

[*]  7)  Directory API - Mobile Devices (supports readonly and action)

[*]  8)  Directory API - Notifications

[*]  9)  Directory API - Organizational Units (supports readonly)

[*] 10)  Directory API - Resource Calendars (supports readonly)

[*] 11)  Directory API - Roles (supports readonly)

[*] 12)  Directory API - User Schemas (supports readonly)

[*] 13)  Directory API - User Security

[*] 14)  Directory API - Users (supports readonly)

[*] 15)  Email Settings API - Delegation

[*] 16)  Group Settings API

[*] 17)  License Manager API

[*] 18)  Reports API - Audit Reports

[*] 19)  Reports API - Usage Reports

[*] 20)  Reseller API

[*] 21)  Site Verification API



     s)  Select all scopes

     u)  Unselect all scopes

     e)  Exit without changes

     c)  Continue to authorization

Please enter 0-21[a|r] or s|u|e|c: 

Every time I enter something here, it just redraws the screen.  It doesnt seem to accept input.  Im worried that I updated incorrectly, but Im kind of stuck.  Instructions didn't give me a path for updating like it used to, it basically gave me the option to install.  I was hoping it would recognize that I already had an account but I guess not.


I could use some help here if anyone has any experience with this sort of thing.


Let me know.


- Sez





Ross Scroggs

unread,
Jun 19, 2017, 10:31:47 PM6/19/17
to google-ap...@googlegroups.com
Bruce,

Try:
gam oauth delete
gam oauth create

In the create step, enter  20 return if you really need the Reseller API, then enter c return.

What happens?

--
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/9f852f19-8a22-4144-9481-73fc7d5c7887%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ross Scroggs

unread,
Jun 20, 2017, 10:10:32 AM6/20/17
to google-ap...@googlegroups.com
Bruce,

Did yoy copy your client_secrets.json, oauth2service.json and oauth2.txt files from you old installation directory to your new installation directory?

On Jun 19, 2017, at 1:53 PM, Bruce Selzler <bruce....@sesd.org> wrote:

Reply all
Reply to author
Forward
0 new messages