--
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/5128caad-1e2d-4c7f-b4ae-4aba6941a8d0n%40googlegroups.com.
| ||||
| ||||
The information contained in this e-mail message and any accompanying files is or may be confidential. If you are not the intended recipient, any use, dissemination, reliance, forwarding, printing or copying of this e-mail or any attached files is unauthorised. This e-mail is subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. If you have received this e-mail in error please advise the sender immediately by return e-mail or telephone and delete all copies. Stuff Limited does not guarantee the accuracy or completeness of any information contained in this e-mail or attached files. Internet communications are not secure, therefore Stuff Limited does not accept legal responsibility for the contents of this message or attached files.
--
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/ea9b39ed-874b-4a56-bf52-b4ea892f4979n%40googlegroups.com.
| ||||
Have you successfully set up the project and given it domain-wide delegation? That is the only point at which you need to set up access from Google Admin. Once that's been set up, it should be able to do everything your super admin account has access to.
This is what a typical report script for me looks like. This is for all group settings. If you just wanted to report on all the group addresses, just remove the 'settings' part and it's a much quicker report to run.$Date = Get-Date$Date = $Date.ToString('yyyy-MM-dd_hh-mm')$folder = "id:Folder ID of where I want my report to go"$title = "$date - All Groups"#All groupsgam print groups settings todrive tdtitle $title tdparent $folderAnd then for memberships of groups. I just use # to comment out what I don't want it to report on. As written, it would create 3 reports with the same name reporting on 3 different things.$Date = Get-Date$Date = $Date.ToString('yyyy-MM-dd_hh-mm')$folder = "id:Folder ID of where I want my report to go"$title = "$date - Group members"#All membersgam print group-members todrive tdtitle $title tdparent $folder#Members of groups, filtering the groups that match a certain domain#EXAMPLE of an exclusion match: gam print group-members domain <Your Domain> emailmatchpattern not '^<Text to Match>.*' roles owners#Report all external members: add in a memberemailskippattern to of each of your internal domains, so only external domains remain.gam print group-members memberemailskippattern "(.*@internaldomain1.com|.*@internaldomain2.com)" todrive tdtitle $title tdparent $folderAnd where I think this will leading is you probably want to manage the group settings. Here's an example of reporting on all groups, putting it into a CSV, then taking the CSV as an input to update the setting on all groups. ~email is the header of the report CSV (this is case sensitive).
https://protect.checkpoint.com/v2/r06/___https://github.com/GAM-team/GAM/wiki/Groups%23gui-api-group-settings-mapping___.ZXV3MjpzbWctbHRkOmM6ZzphMmE3NGIyZjYwODlkMzU3NTRmZTU4YjkwNTQxZmJhMDo3OmE3Njc6MzIxZTAxYjQ3NDk4Mzg1Mjk4NDcwMDVjNzg0NjI4MTg1MzcxNWIzZDE4YzliNmE2ZTljOTljY2I3ZjMyNWUwYTp0OlQ6Tg (and also ctrl+f on this page for 'GroupSettingsAttribute' to show you the options)
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/ecc8955c-ae66-44aa-b4cb-60c55a8a478bn%40googlegroups.com.