Skip to content

Group Management

Create and manage email groups and security groups in {ORG_NAME}


Email Groups

Email groups are for distributing messages to multiple people.

Create Group

gam create group teamname@{DOMAIN} name "Team Name" description "Description"

Add Members

gam update group teamname@{DOMAIN} add member user@{DOMAIN}

Remove Members

gam update group teamname@{DOMAIN} remove member user@{DOMAIN}

List Group Members

gam print group-members groupemail teamname@{DOMAIN}

{ORG_NAME} Email Groups

Organization-Wide

Group Purpose Members
allstaff@{DOMAIN} All organization members Everyone
admin@{DOMAIN} Administrators Admin team
managers@{DOMAIN} Management team Managers

Department Groups

Create department-specific groups as needed: - sales@{DOMAIN} - Sales department - marketing@{DOMAIN} - Marketing department - finance@{DOMAIN} - Finance team


Group Settings

Change Group Owner

gam update group teamname@{DOMAIN} owner newowner@{DOMAIN}

Allow External Members

gam update group teamname@{DOMAIN} allowexternalmembers true

Require Approval for New Members

gam update group teamname@{DOMAIN} whocanapproveentity ALL_MANAGERS

Security Groups

Security groups control access to Shared Drives and other resources.

Create Security Group

gam create group sales-team@{DOMAIN} name "Sales Team" securityEnabled

Add to Shared Drive Access

# Once you have a security group, use it for Shared Drive permissions

See Shared Drives for details.


Best Practices

Do: - Use descriptive group names - Document group purpose - Review membership regularly - Archive unused groups

Don't: - Add distribution lists to other distribution lists - Make everyone an owner - Use groups for direct access control (use Shared Drives instead)


Common Tasks

Mailing List for Department

  1. Create group: sales@{DOMAIN}
  2. Add all sales team members
  3. Users can email sales@{DOMAIN} to reach entire team

Permission Control via Groups

  1. Create security group: sales-shared-drive-access@{DOMAIN}
  2. Add sales team members to group
  3. Grant group access to Shared Drive
  4. Users can be added/removed by updating group

Project-Based Groups

  1. Create group for each project
  2. Add team members
  3. Use group for email, document sharing, calendar invites

Bulk Operations

Create Multiple Groups

$groups = @(
    @{email="sales@{DOMAIN}"; name="Sales Team"},
    @{email="marketing@{DOMAIN}"; name="Marketing Team"}
)

foreach ($group in $groups) {
    gam create group $group.email name $group.name
}

Export Group Membership

gam print group-members groupemail teamname@{DOMAIN} > group_members.csv

Group Policies

Moderation

Require approval for new members:

gam update group teamname@{DOMAIN} joinwhitelist ""

Who Can Post

gam update group teamname@{DOMAIN} who_can_post_message ANYONE_CAN_POST

Resources


Need help? Contact {ADMIN_EMAIL}