Bulk Remove Members from Spaces

72 views
Skip to first unread message

Arts

unread,
Oct 21, 2024, 9:32:47 AM10/21/24
to GAM for Google Workspace
Hi,

So when chatspaces became available we as a school had no restrictions and students could make their own and we just disabled chat when they were misusing.  Anyway Admin have finally said to turn off making their own spaces.  Now as Gadmin have to delete all student spaces.  So my question is what are some solutions to this.  I first thought to just print all spaces in specific OU and then delete the spaces but I think this prints all spaces they are a part off so if a Staff member made the group this may try to delete this specific group.  So my next solution would be to print all spaces in an OU then delete the user from the chatspace then go through all spaces without members and delete but my command seems to be wrong so any help or other solution is welcome.

GAMADV-XTD3 7.00.24 - https://github.com/taers232c/GAMADV-XTD3 - pyinstaller
Python 3.13.0 64-bit final
MacOS Sequoia 15.0 arm64

gam ou_and_children (my_directory_OU) print chatspaces type space todrive | gam redirect stdout - multiprocess redirect csv ./Chatspaces.csv multiprocess csv - gam user ~User delete chatmember ~name

ERROR: Header "User" not found in CSV headers of "Data uploaded to Drive File:".

Thanks in advance

Ross Scroggs

unread,
Oct 21, 2024, 11:26:12 AM10/21/24
to google-ap...@googlegroups.com
This needs a lot of work, send me a Meet/Zoom invitation.

Ross
----
Ross Scroggs



--
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/2c3a2d57-9e17-40dc-b4b9-e5fedfa73906n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages