Retroactively Restricting Viewing Permissions for Groups

59 views
Skip to first unread message

Derrek Beeck

unread,
Sep 8, 2026, 3:37:55 PMSep 8
to GAM for Google Workspace
Hello,

I am working on cleaning up my organization's Google groups. One of the things we recently did was change the "Default for permission to view conversations" to be "All group members" so that only members of a group can see the conversations in a group (I know this only changes the default and still allows users to create groups that are visible to everyone in the organization). The issue is that that only helps for groups created in the future. Is there a way with GAM to change the setting for all groups in the the section that is "Who can view converstations" to only be "Group members"?

Ross Scroggs

unread,
Sep 8, 2026, 4:11:54 PMSep 8
to google-ap...@googlegroups.com
See: https://github.com/GAM-team/GAM/wiki/Groups#gui-api-group-settings-mapping
This shows GUI and API naming differences.

Get a list of groups.

gam redirect csv ./Groups.csv print groups 


Edit Groups.csv, delete any rows for groups that are Not to be updated.


Update groups.

gam redirect stdout ./UpdateGroups.txt multiprocess redirect stderr stdout csv Groups.csv gam update group "~email" whocanviewgroup allmemberscanview


Ross


----
Ross Scroggs



On Sep 8, 2026, at 12:37 PM, 'Derrek Beeck' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:

Hello,

I am working on cleaning up my organization's Google groups. One of the things we recently did was change the "Default for permission to view conversations" to be "All group members" so that only members of a group can see the conversations in a group (I know this only changes the default and still allows users to create groups that are visible to everyone in the organization). The issue is that that only helps for groups created in the future. Is there a way with GAM to change the setting for all groups in the the section that is "Who can view converstations" to only be "Group members"?



This e-mail and any files or data transmitted with it are confidential and intended solely for the use of the individual named above. If you have received this email in error and are not the intended recipient, please notify the sender by e-mail and immediately delete the message and all materials without reading them.  If you are not the intended recipient, copying, forwarding or otherwise disseminating or distributing this information is prohibited.

--
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 visit https://groups.google.com/d/msgid/google-apps-manager/657ca803-2287-4611-9bac-a7e7a59dca7fn%40googlegroups.com.

Marshall Giguere

unread,
Sep 8, 2026, 4:52:41 PMSep 8
to google-ap...@googlegroups.com
Derrek;

You might want to include the fields option to save the whoCanViewGroup state of each of the groups just in case something goes sideways.

> gam redirect csv ./Groups.csv print groups fields whoCanViewGroup


Derrek Beeck

unread,
Sep 9, 2026, 11:34:15 AMSep 9
to GAM for Google Workspace
Thank you. I'm going to work on this a bit and get back to once I do some testing. 

Derrek Beeck

unread,
Sep 10, 2026, 1:33:14 PMSep 10
to GAM for Google Workspace
That worked properly. Thank you both for your help. 
Reply all
Reply to author
Forward
0 new messages