Hide Group Id from Global addresses

1,026 views
Skip to first unread message

Niranchana K

unread,
Nov 13, 2022, 3:34:32 AM11/13/22
to GAM for Google Workspace
Is there any solution to avoid auto-fill group email addresses in the message compose tab?
Whether it is possible with the GAM, If so let me know how to do that.

Ross Scroggs

unread,
Nov 13, 2022, 10:26:07 AM11/13/22
to google-ap...@googlegroups.com
gam update group gr...@domain.com gal off

Ross
----
Ross Scroggs



On Nov 13, 2022, at 12:34 AM, 'Niranchana K' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:

Is there any solution to avoid auto-fill group email addresses in the message compose tab?
Whether it is possible with the GAM, If so let me know how to do that.

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" 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/bdfce7b0-3c43-4199-8c9e-b5c0384e0992n%40googlegroups.com.

Niranchana K

unread,
Nov 14, 2022, 12:57:42 AM11/14/22
to google-ap...@googlegroups.com
I tried this one,

gam update group gr...@domain.com gal off
But I am getting this error
 ERROR: gal is not a valid argument for "gam update group"



--
Kind regards,
image
   
NiranchanaK
niranc...@demo.econz.net
demo.econz.net
facebook icontwitter iconlinkedin icon
 

James SEYMOUR

unread,
Nov 14, 2022, 1:29:52 AM11/14/22
to google-ap...@googlegroups.com
I think this command may only apply to GAMADV-XTD3, not standard GAM.

What do you get if you run gam version?

Regards


James Seymour
Head of Systems and Communication
[t] +673.24.11.000  Ext 1203
[Time Zone] GMT +8 Hours



Jerudong International School
https://www.jerudonginternationalschool.com
Follow us on:
http://www.facebook.com/jisbruneidarussalam http://www.twitter.com/jisbrunei http://www.instagram.com/jisbrunei https://www.youtube.com/user/JISBrunei https://www.flickr.com/photos/133960569@N03/albums

Niranchana K

unread,
Nov 14, 2022, 1:46:37 AM11/14/22
to google-ap...@googlegroups.com
I executed gam version, and it showing as below,
GAM 6.30 - https://jaylee.us/gam - staticx
Jay Lee <jay...@gmail.com>
Python 3.11.0 64-bit final
google-api-python-client 2.65.0
Linux Debian 11 Bullseye x86_64
Path: /home/niranchanak/bin/gam 

James SEYMOUR

unread,
Nov 14, 2022, 2:11:17 AM11/14/22
to google-ap...@googlegroups.com
You are using standard GAM. You may want to consider upgrading to GAMADV-XTD3 to enable a wider range of GAM commands/options.


Regards


James Seymour
Head of Systems and Communication
[t] +673.24.11.000  Ext 1203
[Time Zone] GMT +8 Hours

Ross Scroggs

unread,
Nov 14, 2022, 9:50:39 AM11/14/22
to google-ap...@googlegroups.com
This will work in all versions:
gam update group gr...@domain.com includeinglobaladdresslist off

Ross
----
Ross Scroggs


Sivaprakash M

unread,
Nov 14, 2022, 12:56:10 PM11/14/22
to google-ap...@googlegroups.com
Hello,

I tried this command " gam update group gr...@domain.com includeinglobaladdresslist off " 

I have executed this comment but still, users in my organization can view the group email address in suggestions while composing an email.
I want like, the email address should only be visible to group members while composing an email, it will not visible to other users.
one of the users sends an email to that group email id, then that user tried to send another email to the same group email id, but it showing suggestions ( group email id ) while composing an email. we don't want to show this group email address to the users even if they have been sent before.
is there any option to hide that group id permanently from all the users except group members using GAM, kindly let me know.




--
Kind regards,
image
   
SivaprakashM
work
tests
sivapr...@demo.econz.net
demo.econz.net

Ross Scroggs

unread,
Nov 14, 2022, 1:13:27 PM11/14/22
to google-ap...@googlegroups.com
Be sure you've done this:

gam update group gr...@domain.com whocanviewgroup all_members_can_view


When you send an email, Google puts the email address in your Other Contacts.

With Advanced GAM you can delete the group email address from Other Contacts like this:

gam user us...@domain.com delete othercontacts emailmatchpattern gr...@domain.com


You can do this for all users like this:

gam all users delete othercontacts emailmatchpattern gr...@domain.com


Ross




--

Gabriel Clifton

unread,
Nov 14, 2022, 1:15:47 PM11/14/22
to google-ap...@googlegroups.com
It is possible that the group email address ended up in the user's personal contact list, such as they have emailed that list before or even had it pop up in a search. I would clear the email address from personal Contacts as well.
gam all users_ns clear contacts emailmatchpattern gr...@domain.com

gam update group gr...@domain.com includeinglobaladdresslist false (or off)




--

Gabriel Clifton | Network Administrator

Fort Stockton ISD | Technology Center

gabriel...@fsisd.net | http://www.fsisd.net

Office (432) 336-4055 Ext 2

Fax (432) 336-4050

1204 W. Second St., Fort Stockton, TX 79735


Please note: Although we sometimes respond to email, text, and phone calls instantly at all hours, our regular support hours are 8:00 AM - 5:00 PM, Monday through Friday.

We may need to wait until the next school day to address your issue. All issues are taken care of on a first-come, first-served basis, depending on severity, and problems with proper work orders submitted are handled first.


Confidentiality notice: The contents of this email message and any attachments are intended solely for the addressee(s), may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.

Ross Scroggs

unread,
Nov 14, 2022, 1:19:06 PM11/14/22
to google-ap...@googlegroups.com
Gabriel,

You want othercontacts and delete.
gam all users_ns delete othercontacts emailmatchpattern gr...@domain.com

Ross



--

Gabriel Clifton

unread,
Nov 14, 2022, 1:20:59 PM11/14/22
to google-ap...@googlegroups.com
Yes, thanks Ross. I always forget about othercontacts.

Sivaprakash M

unread,
Nov 14, 2022, 9:50:29 PM11/14/22
to google-ap...@googlegroups.com
Hi,

Thanks for the message, Ross and Gabriel.


Sivaprakash M

unread,
Nov 14, 2022, 11:12:03 PM11/14/22
to google-ap...@googlegroups.com
Hello,

While executing these commands " gam user us...@domain.com delete othercontacts emailmatchpattern gr...@domain.com" ,  " gam all users delete othercontacts emailmatchpattern gr...@domain.com "  and " gam all users_ns delete othercontacts emailmatchpattern gr...@domain.com " 

I am getting the below following error:

1gam user us...@domain.com delete othercontacts emailmatchpattern gr...@domain.com -->  user gam...@demo.econz.net delete is not a valid argument for "gam"

2.   gam all users delete othercontacts emailmatchpattern gr...@domain.com  --> 
Getting all Users in Google Workspace account (may take some time on a large account)...
Got 48 Users...
done getting 48 Users.

ERROR: othercontacts is not a valid argument for "gam <users> delete" 

3.  gam all users_ns delete othercontacts emailmatchpattern gr...@domain.com -->  ERROR: users_ns is not a valid argument for "gam all" 

Ross Scroggs

unread,
Nov 14, 2022, 11:20:35 PM11/14/22
to google-ap...@googlegroups.com

Sivaprakash M

unread,
Nov 15, 2022, 12:42:53 PM11/15/22
to google-ap...@googlegroups.com
Hi Ross,

After upgraded to advanced GAM, provided commands are working fine.
Thank you!

Sivaprakash M

unread,
Nov 16, 2022, 5:58:31 AM11/16/22
to google-ap...@googlegroups.com
Hello,

Is it possible to remove the group email address contact from Particular OU ( organizational unit ) using GAM
if it's possible please let me know.

On Tue, Nov 15, 2022 at 9:50 AM Ross Scroggs <ross.s...@gmail.com> wrote:

Sivaprakash M

unread,
Nov 17, 2022, 3:59:51 AM11/17/22
to google-ap...@googlegroups.com
Hello,

Is it possible to remove the group email address contact from Particular OU ( organizational unit ) using GAM
if it's possible please let me know.

Ross Scroggs

unread,
Nov 17, 2022, 9:44:07 AM11/17/22
to google-ap...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages