add an entire ou to a mailing group via gam-adv

13 views
Skip to first unread message

Benjamin Wexler

unread,
Jul 26, 2024, 8:26:28 AM (24 hours ago) Jul 26
to GAM for Google Workspace
is there a command to add all users of an ou to a mailing group?

Message has been deleted

Maj Marshall Giguere

unread,
Jul 26, 2024, 8:54:57 AM (23 hours ago) Jul 26
to google-ap...@googlegroups.com
Ben;

You should never do anything before having your first cup of coffee in the morning.  I think you can use this as a guide https://github.com/taers232c/GAMADV-XTD3/wiki/Groups-Membership#select-users-based-on-suspension-state
for selecting a user entity type.  In your case I'm assuming you want to add non-suspended members, you would use the "ou_ns" user entity type.

-Marsh

On Fri, Jul 26, 2024 at 6:26 AM Benjamin Wexler <benjami...@gmail.com> wrote:
is there a command to add all users of an ou to a mailing group?

--
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/365659fd-c2aa-44fa-9a54-b1481368d9a1n%40googlegroups.com.

Marsh

unread,
Jul 26, 2024, 9:42:46 AM (22 hours ago) Jul 26
to GAM for Google Workspace
$> gam update group <group email address> add member ou_ns "<org unit >"
Reply all
Reply to author
Forward
0 new messages