View the Groups Email Address

1,224 views
Skip to first unread message

Diogo Soares

unread,
Oct 10, 2016, 2:17:07 PM10/10/16
to Google Apps Manager
Hello guys,

With this amazing tool, Is it possible to add the groups email address in the Contacts Directory? 

I know that there is a way to share a contact, is it possible with GAM?

I'm migrating from Microsoft Exchange, and I need something like the Global Address List to see the users and groups email address.

Thanks! 

Ross Scroggs

unread,
Oct 10, 2016, 3:53:26 PM10/10/16
to google-ap...@googlegroups.com
Diogo,

There is already a Global Address List for addresses within your domain, see: https://support.google.com/a/answer/1628009?hl=en&ref_topic=3056086
Gam supports setting a flag for users and groups that indicates whether the address should appear in the GAL.

gam update user us...@domain.com gal true
gam update group gr...@domain.com includeinglobaladdresslist true

If you want a directory of addresses outside of your domain, then you need Domain Shared Contacts. I have implemented this in my

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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/23739b0a-b03e-4623-af35-1e51c5407a74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Diogo Soares

unread,
Oct 10, 2016, 9:10:20 PM10/10/16
to Google Apps Manager
Thanks Ross,

All my internal groups are the includeinglobaladdresslist set to true, but I can't see any email group in Directory on Contact Manager or in Contacts on Gmail.

I see only the personal address e-mails from my users.




Em segunda-feira, 10 de outubro de 2016 16:53:26 UTC-3, Ross Scroggs escreveu:
Diogo,

There is already a Global Address List for addresses within your domain, see: https://support.google.com/a/answer/1628009?hl=en&ref_topic=3056086
Gam supports setting a flag for users and groups that indicates whether the address should appear in the GAL.

gam update user us...@domain.com gal true
gam update group gr...@domain.com includeinglobaladdresslist true

If you want a directory of addresses outside of your domain, then you need Domain Shared Contacts. I have implemented this in my

On Oct 10, 2016, at 11:15 AM, Diogo Soares <diogo....@ibeu.org.br> wrote:

Hello guys,

With this amazing tool, Is it possible to add the groups email address in the Contacts Directory? 

I know that there is a way to share a contact, is it possible with GAM?

I'm migrating from Microsoft Exchange, and I need something like the Global Address List to see the users and groups email address.

Thanks! 

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.

Isaac Lau

unread,
Oct 10, 2016, 10:38:34 PM10/10/16
to Google Apps Manager
Hi Ross,

It's great that you have developed this advanced branch of GAM.
Would you tell us more about the differences between GAM and GAMADV-X ?

Thanks!


Ross Scroggs於 2016年10月11日星期二 UTC+8上午3時53分26秒寫道:
Diogo,

There is already a Global Address List for addresses within your domain, see: https://support.google.com/a/answer/1628009?hl=en&ref_topic=3056086
Gam supports setting a flag for users and groups that indicates whether the address should appear in the GAL.

gam update user us...@domain.com gal true
gam update group gr...@domain.com includeinglobaladdresslist true

If you want a directory of addresses outside of your domain, then you need Domain Shared Contacts. I have implemented this in my

On Oct 10, 2016, at 11:15 AM, Diogo Soares <diogo....@ibeu.org.br> wrote:

Hello guys,

With this amazing tool, Is it possible to add the groups email address in the Contacts Directory? 

I know that there is a way to share a contact, is it possible with GAM?

I'm migrating from Microsoft Exchange, and I need something like the Global Address List to see the users and groups email address.

Thanks! 

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.

Ross Scroggs

unread,
Oct 11, 2016, 1:22:31 AM10/11/16
to google-ap...@googlegroups.com
Issac,

I support three versions of GAM.

GAM is basically Jay's version (https://github.com/jay0lee/GAM/releases) with some bug fixes.
GAM-N is GAM with some enhancements and better error checking.
GAM and GAM-N are drop-in replacements for Jay's version.
GAMADV-X is an extensive rewrite/enhancement of GAM.

The following discusses GAMADV-X.

** Configuration File **

There is a configuration file, gam.cfg, that is used instead of the various environment variables and signal files.
Here is an example:
[DEFAULT]
activity_max_results = 100
auto_batch_min = 0
batch_size = 50
cache_dir = /Users/admin/.gam/gamcache
cache_discovery_only = false
charset = utf-8
client_secrets_json = client_secrets.json
config_dir = /Users/admin/.gam
customer_id = 0000000000
debug_level = 0
device_max_results = 500
domain = main.com
drive_dir = /Users/admin/Downloads
drive_max_results = 1000
email_batch_size = 100
extra_args =
no_browser = false
no_cache = false
no_update_check = false
no_verify_ssl = false
num_threads = 5
oauth2_txt = oauth2.txt
oauth2service_json = oauth2service.json
section =
show_counts_min = 1
show_gettings = true
user_max_results = 500

[foo]
domain = foo.com
customer_id = 1111111111
config_dir = foo

[goo]
domain = goo.com
customer_id = 2222222222
config_dir = goo

If you only support one domain, you'd have just the [Default] section. If you support multiple domains, you'd have an additional section per domain. 
When you say gam <Commands>, the values from the [Default] section are used, main.com is the domain in this case.
To select the foo.com domain on the fly, you say: gam select foo <Commands>, foo.com is the domain.
To change to the goo.com domain for several commands, you say: gam select goo save.
Subsequent commands without a select will use the [goo] section. When you're ready to switch back to the default section: gam select default save.

** Contacts **

Domain shared contacts and user contacts are supported.

** Sites **

There is basic support for sites and site ACLs.

** Calendars **

In addition to managing access to existing calendars, you can create and manage new calendars.
You can add, update, delete and review events in calendars.

** Gmail **

There are additional commands for processing email messages.

** Data Selection/Processing **

There are powerful data selection capabilities. Suppose your SIS produces the following CSV file each night listing the parent email addresses for your school grades.
You have to sync the membership of the group representing each grade. There is one line per family per grade; here are the CSV file headers for the file GradeEmails.csv.
Grade,Email1,Email2

One command does all of the work, no additional file processing is required.
Gam reads the CSV file, produces the list of grades and the associated members and does the syncs.
gam update groups csvkmd GradeEmails.csv keyfield Grade datafield Email1:Email2 sync member csvdata Email1:Email2

Most commands have been extended to operate on collections of items rather that just a single item.

** Cleaner output **

The output from commands is easier to read and gives more information about what actions have taken place and what errors have occurred.

** CSV file output **

Commands that produce CSV files have been enhanced to give you better control over the format and content of the file.

** Command line arguments **

There is extensive error checking of the command line arguments; when you make a mistake, the location and nature of the problem is indicated.
As Gam grew, the command syntax of similar commands was not always consistent. Where possible, while trying to support backwards compatibility,
this has been corrected.

** API error checking **

All API calls are error checked; when processing a list of items, if an error occurs, it is noted and processing continues.

** API batch processing **

Several commands use API batch processing to speed up operations. Adding/removing users to org units, groups, courses are examples.

Ross

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.
Reply all
Reply to author
Forward
0 new messages