Remove Group alias email

390 views
Skip to first unread message

Cuthbert Thomas

unread,
Jun 16, 2021, 11:00:52 AM6/16/21
to GAM for Google Workspace
Is there a way to use gam csv to remove the alias email of groups?

Ross Scroggs

unread,
Jun 16, 2021, 11:05:07 AM6/16/21
to google-ap...@googlegroups.com
Cuthbert,

gam delete alias group...@domain.com

Ross

On Wed, Jun 16, 2021 at 8:00 AM Cuthbert Thomas <cth...@upeducationnetwork.org> wrote:
Is there a way to use gam csv to remove the alias email of groups?

--
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/49ab1d18-b293-4508-9125-60ca63838443n%40googlegroups.com.


--

Cuthbert Thomas

unread,
Jun 16, 2021, 11:15:04 AM6/16/21
to GAM for Google Workspace
Would that work through csv commands as well? I know for users there needs to be a target type "User". Can I just change that to say "Group" and it would work just the same?

Ross Scroggs

unread,
Jun 16, 2021, 11:41:06 AM6/16/21
to google-ap...@googlegroups.com
Cuthbert,

You can specify user|group in delete alias but it's ignored.
gam delete alias [user|group] group...@domain.com

If you have a CSV file (GroupAliases.csv) with a column alias you can say
gam csv GroupAliases.csv gam delete alias "~alias"

Ross



--

Riccardo Pereira

unread,
Oct 3, 2024, 10:39:00 AM10/3/24
to GAM for Google Workspace
Hi Ross,

I am struggling to get this cmd to work for me gam delete alias alia...@domain.com group gr...@domain.com 

It says ERROR: Extra arguments

Riccardo

Ross Scroggs

unread,
Oct 3, 2024, 10:45:19 AM10/3/24
to google-ap...@googlegroups.com

This email was sent by a company owned by Financial Times Group Limited ("FT Group"), registered office at Bracken House, One Friday Street, London, EC4M 9BT. Registered in England and Wales with company number 879531. This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately, delete all copies and do not distribute it further.  It could also contain personal views which are not necessarily those of the FT Group.  We may monitor outgoing or incoming emails as permitted by law.


--
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.

✉ Kevin Melillo

unread,
Oct 3, 2024, 10:49:18 AM10/3/24
to google-ap...@googlegroups.com
I believe Ross knows better than I do at this point, but the GAM documentation doesn't have any targets.

gam delete alias <alias>
or
gam csv aliases.csv gam delete alias ~alias

I don't believe you need to specify a user or group.  But I could be mistaken.

Riccardo Pereira

unread,
Oct 3, 2024, 12:37:02 PM10/3/24
to GAM for Google Workspace
Awesome thanks all.  
Reply all
Reply to author
Forward
0 new messages