Just set the environment variable OAUTHFILE:
https://github.com/jay0lee/GAM/wiki/OAuthKeyManagement#selecting-which-oauth-key-file-to-use
Jay
We have several different Google domains, and with previous versions we could set up multiple instances of GAM in different directories to manage each domain. I can't seem to get this to work with the new version. Is it even possible?Thanks, Gary
--
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/6e59a108-df88-4bad-8bb4-ce8aa326da3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jay
Just set the environment variable OAUTHFILE:
https://github.com/jay0lee/GAM/wiki/OAuthKeyManagement#selecting-which-oauth-key-file-to-use
Jay
On Fri, Dec 9, 2016, 1:31 PM Gary Kincaid <gkin...@boisestate.edu> wrote:
We have several different Google domains, and with previous versions we could set up multiple instances of GAM in different directories to manage each domain. I can't seem to get this to work with the new version. Is it even possible?--Thanks, Gary
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.
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/6e59a108-df88-4bad-8bb4-ce8aa326da3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Jay
So within the ~/bin/gam directory, I would just run "gam create project" for each of the domains that I administer? Will the client_secrets.json and oauth2.txt files get clobbered (assuming I've moved the oauth2service.json file out of the way)?
On Friday, December 9, 2016 at 1:33:50 PM UTC-5, Jay Lee wrote:
Just set the environment variable OAUTHFILE:
https://github.com/jay0lee/GAM/wiki/OAuthKeyManagement#selecting-which-oauth-key-file-to-use
Jay
On Fri, Dec 9, 2016, 1:31 PM Gary Kincaid <gkin...@boisestate.edu> wrote:
We have several different Google domains, and with previous versions we could set up multiple instances of GAM in different directories to manage each domain. I can't seem to get this to work with the new version. Is it even possible?--Thanks, Gary
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+unsubscribe...@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/6e59a108-df88-4bad-8bb4-ce8aa326da3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Jay
--
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/b99becd0-6f32-46ed-8a84-ded526378433%40googlegroups.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/b99becd0-6f32-46ed-8a84-ded526378433%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/96Kb2e7K8-0/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAJkvRS89GjLw8diTFxma7RvTpbve0KDTCJokEaZQD2M8kjXK7w%40mail.gmail.com.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsubscribe...@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/CAJkvRS89GjLw8diTFxma7RvTpbve0KDTCJokEaZQD2M8kjXK7w%40mail.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-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/CAAOhDXDzw9ujGm5W7TPvq8c8CToaxDPh4Th7xVCh7FZWGsv8nw%40mail.gmail.com.
Thanks for the prompt reply. Unfortunately, due to this, that, and some of the other, I no longer have any of the old files.Right now, my first domain is all set up with GAM4 now and working flawlessly. In the install directory, I re-ran "gam create project" and ran through the steps again, but this time for my second domain. It ran through the process again just fine, but when I look in the directory, I now have an oauth2service.json and a client_secrets.json with the project name appended (in addition to the regular files for the first domain), but no new oauth2.txt. I'd like to keep everything in one directory instead of maintaining two installs, which is why I'm attempting it this way. What would be the quickest way to get my second domain up and running? Should I just set it up in a new directory, and then copy the relevant files to the working directory, or...?On Tue, Dec 13, 2016 at 12:47 PM, Ross Scroggs <ross.s...@gmail.com> wrote:
Paul,Assuming you already have a collection of client_secrets.json, oauth2.txt and oauth2service.json files, you can use the following environment variables.OAUTHFILE - select oauth2.txtOAUTHSERVICEFILE - select oauth2service.jsonCLIENTSECRETS - select client_secrets.json.You can have one instance of Gam in a directory and use the environment variables, or you can have multiple instances of gam in different directories as you did in the past; just copy the new gam.exe to your existing directories. You do not have to create any new projects.Ross
On Tue, Dec 13, 2016 at 8:01 AM, Paul Martin <pma...@nmc.edu> wrote:
So within the ~/bin/gam directory, I would just run "gam create project" for each of the domains that I administer? Will the client_secrets.json and oauth2.txt files get clobbered (assuming I've moved the oauth2service.json file out of the way)?
On Friday, December 9, 2016 at 1:33:50 PM UTC-5, Jay Lee wrote:
Just set the environment variable OAUTHFILE:
https://github.com/jay0lee/GAM/wiki/OAuthKeyManagement#selecting-which-oauth-key-file-to-use
Jay
On Fri, Dec 9, 2016, 1:31 PM Gary Kincaid <gkin...@boisestate.edu> wrote:
We have several different Google domains, and with previous versions we could set up multiple instances of GAM in different directories to manage each domain. I can't seem to get this to work with the new version. Is it even possible?--Thanks, Gary
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/6e59a108-df88-4bad-8bb4-ce8aa326da3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Jay
--
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/b99becd0-6f32-46ed-8a84-ded526378433%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/96Kb2e7K8-0/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAJkvRS89GjLw8diTFxma7RvTpbve0KDTCJokEaZQD2M8kjXK7w%40mail.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/CAAOhDXDzw9ujGm5W7TPvq8c8CToaxDPh4Th7xVCh7FZWGsv8nw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Jay
gam user [REGULARACCOUNT]@[DOMAINNAME] show forwardingaddress
ERROR: user [REGULARACCOUNT]@[DOMAINNAME]: unauthorized_client: Unauthorized client or scope in request.User: [REGULARACCOUNT]@[DOMAINNAME], Forwarding Addresses: (1/1)
gam user [ADMINACCOUNT]@[DOMAINNAME] check serviceaccount
User: [ADMINACCOUNT]@[DOMAINNAME]Scope: https://mail.google.com/ PASSScope: https://www.googleapis.com/auth/activity PASSScope: https://www.googleapis.com/auth/calendar PASSScope: https://www.googleapis.com/auth/drive PASSScope: https://www.googleapis.com/auth/plus.me PASS
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.
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/6e59a108-df88-4bad-8bb4-ce8aa326da3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Jay
--
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/b99becd0-6f32-46ed-8a84-ded526378433%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/96Kb2e7K8-0/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAJkvRS89GjLw8diTFxma7RvTpbve0KDTCJokEaZQD2M8kjXK7w%40mail.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-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAAOhDXDzw9ujGm5W7TPvq8c8CToaxDPh4Th7xVCh7FZWGsv8nw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
----Jay
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/96Kb2e7K8-0/unsubscribe.
To unsubscribe from this group and all its topics, 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/CA%2BVVBp-x8%3DRkFJ3Rm6B-mJ%3DzEa88p24JDDf5%3DNKWfcUsQA3kDw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@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/6e59a108-df88-4bad-8bb4-ce8aa326da3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Jay
--
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+unsubscribe...@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/b99becd0-6f32-46ed-8a84-ded526378433%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/96Kb2e7K8-0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsubscribe...@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/CAJkvRS89GjLw8diTFxma7RvTpbve0KDTCJokEaZQD2M8kjXK7w%40mail.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-manager+unsubscribe...@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/CAAOhDXDzw9ujGm5W7TPvq8c8CToaxDPh4Th7xVCh7FZWGsv8nw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
----Jay
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/96Kb2e7K8-0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsubscribe...@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/CA%2BVVBp-x8%3DRkFJ3Rm6B-mJ%3DzEa88p24JDDf5%3DNKWfcUsQA3kDw%40mail.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-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/CAAOhDXDkTAnevFgC8HE_mwM_JxHQ3zzOeRC3i_BAnGKQqO3TzQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAAOhDXDkTAnevFgC8HE_mwM_JxHQ3zzOeRC3i_BAnGKQqO3TzQ%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/96Kb2e7K8-0/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAJkvRS-n0pQM2C211a8GGV2mmHKAf5rb_1meLoOb%3Dg4bhtEPiw%40mail.gmail.com.