gam user it-team label "Retentions Folder"
But when I do I get the following error:
ERROR: User it-...@xxx.com: unauthorized_client: Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested.
Here are the scopes I have for the service account:
Email (Read/Write/Send) https://mail.google.com/
https://www.googleapis.com/auth/activity
View and manage the provisioning of groups on your domain https://www.googleapis.com/auth/admin.directory.group
View and manage the provisioning of users on your domain https://www.googleapis.com/auth/admin.directory.user
https://www.googleapis.com/auth/apps.alerts
Calendar (Read-Write) https://www.googleapis.com/auth/calendar
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/gmail.settings.basic
https://www.googleapis.com/auth/gmail.settings.sharing
https://www.googleapis.com/auth/spreadsheets
What am I missing? Please, can you help?
Thanks
--
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/b58f1c1a-158f-462b-b171-2964c93419f9%40googlegroups.com.
On Thu, Aug 29, 2019 at 8:12 AM Azizur Rahman <azi...@confluent.io> wrote:
Hi,--I am trying to run this command:gam user it-team label "Retentions Folder"
But when I do I get the following error:
ERROR: User it-...@xxx.com: unauthorized_client: Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested.
Here are the scopes I have for the service account:
Email (Read/Write/Send) https://mail.google.com/
https://www.googleapis.com/auth/activity
View and manage the provisioning of groups on your domain https://www.googleapis.com/auth/admin.directory.group
View and manage the provisioning of users on your domain https://www.googleapis.com/auth/admin.directory.user
https://www.googleapis.com/auth/apps.alerts
Calendar (Read-Write) https://www.googleapis.com/auth/calendar
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/gmail.settings.basic
https://www.googleapis.com/auth/gmail.settings.sharing
https://www.googleapis.com/auth/spreadsheets
What am I missing? Please, can you help?
Thanks
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/b58f1c1a-158f-462b-b171-2964c93419f9%40googlegroups.com.
--Ross Scroggs