GAM icon indicating copy to clipboard operation
GAM copied to clipboard

Switch between domains - Reseller

Open coccoinomane opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. I manage 20+ Google Workspace domains for my clients. All commands that require specifying the domain (say gam user [email protected] show sendas) work fine, but if I want to execute a command that does not explicitly contain the domain (say gam print aliases), it defaults to my reseller account.

Describe the solution you'd like As a reseller, I would love to have a way to switch between domains, either at the command level (for example, gam print aliases --domain=example.com) or at the environment level (for example: gam switch_to example.com && gam print aliases).

Describe alternatives you've considered I have looked up GAMADV-XTD3 and the gamselect.sh script, but I would rather use vanilla GAM, if possible.

coccoinomane avatar Jul 26 '21 14:07 coccoinomane

I too would love this ability as our school has several domains for "reasons".

davidsev7 avatar Sep 13 '21 03:09 davidsev7

Agreed.

jondthompson avatar Jan 04 '22 22:01 jondthompson

I'd love this too - other suggestions such as using multiple oauth files (e.g. https://github.com/GAM-team/GAM/issues/69) haven't worked - e.g. if I try to create a new oauth for another domain, I get "Access blocked: GAM can only be used within its organisation". Unless maybe I'm doing something wrong?

tdvaughan avatar Nov 16 '22 13:11 tdvaughan

Advanced Gam handle this quite simply: See: https://github.com/taers232c/GAMADV-XTD3/wiki/gam.cfg#multiple-customers-and-domains https://github.com/taers232c/GAMADV-XTD3/wiki/gam.cfg#multiple-customers-and-domains

Ross

Ross Scroggs @.***

On Nov 16, 2022, at 5:57 AM, tdvaughan @.***> wrote:

I'd love this too - other suggestions such as using multiple oauth files (e.g. #69 https://github.com/GAM-team/GAM/issues/69) haven't worked - e.g. if I try to create a new oauth for another domain, I get "Access blocked: GAM can only be used within its organisation". Unless maybe I'm doing something wrong?

— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1402#issuecomment-1317064736, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZXUOHDPKMABWIVSHTWITR5RANCNFSM5BAICCUA. You are receiving this because you are subscribed to this thread.

taers232c avatar Nov 16 '22 14:11 taers232c