Delete email ids

50 views
Skip to first unread message

Pravenesh B

unread,
Jun 18, 2024, 7:35:56 AM6/18/24
to GAM for Google Workspace
Hi,

I'm planning to remove users' email addresses from the address book to avoid them being displayed while composing emails. I've used two commands for this. The first command is "gam all users delete othercontacts emailmatchpattern us...@domain.com" and the second one is "gam update group gr...@domain.com includeinglobaladdresslist false". Both commands ran successfully, but the email addresses have not been deleted. Note that the email addresses are alias IDs. Is there a way instead of removing specific email addresses we can revome domain-wide and avoid adding sub-domain email IDs from the global address list?
  

Jay Lee

unread,
Jun 18, 2024, 7:38:27 AM6/18/24
to google-ap...@googlegroups.com
What are the email addresses? You said they were users but the 2nd command you showed was for groups and then said they were aliases?

See also:


On Tue, Jun 18, 2024, 7:35 AM 'Pravenesh B' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:
Hi,

I'm planning to remove users' email addresses from the address book to avoid them being displayed while composing emails. I've used two commands for this. The first command is "gam all users delete othercontacts emailmatchpattern us...@domain.com" and the second one is "gam update group gr...@domain.com includeinglobaladdresslist false". Both commands ran successfully, but the email addresses have not been deleted. Note that the email addresses are alias IDs. Is there a way instead of removing specific email addresses we can revome domain-wide and avoid adding sub-domain email IDs from the global address list?
  

--
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/d892f006-d789-454a-840d-94a08f82e17fn%40googlegroups.com.

Pravenesh B

unread,
Jun 18, 2024, 8:17:22 AM6/18/24
to GAM for Google Workspace
Hi jay,

I mistakenly pasted the wrong command. The command  I have used is  "gam update user us...@domain.com includeinglobaladdresslist false". Currently, the email IDs are active as aliases.
Reply all
Reply to author
Forward
0 new messages