I try to use Gam to update profile picture, but I got error below.
"ERROR: 403: Not Authorized to access this resource/api - forbidden"
I don't know why, admin API is installed on the service account what I use.
How can I manage API rights ?
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) Pub / Sub API
[*] 19) Reports API - Audit Reports
[*] 20) Reports API - Usage Reports
[ ] 21) Reseller API
[*] 22) Site Verification API
[*] 23) Vault Matters and Holds API (supports readonly)
s) Select all scopes
u) Unselect all scopes
e) Exit without changes
c) Continue to authorization
Please enter 0-23[a|r] or s|u|e|c:
Do you know how I can do to get back this list, because I see that Direcotry API - User is set in readonly ?
Best regards,
Florian