Offboarding taks

36 views
Skip to first unread message

Mateusz Powałowski

unread,
May 11, 2026, 12:41:15 PM (7 days ago) May 11
to GAM for Google Workspace
Hi guys, Is there a command in GAM that allows you to remove an employee's account from all meetings in calendars where they were not the owner but only a participant?

Regards Mateusz

Ross Scroggs

unread,
May 11, 2026, 2:00:42 PM (7 days ago) May 11
to google-ap...@googlegroups.com
There is no API call that provides this data. For all calendars, you'd heve to list events that contained the user as a participant.

Ross
----
Ross Scroggs



On May 11, 2026, at 8:14 AM, Mateusz Powałowski <mate...@elementor.red> wrote:

Hi guys, Is there a command in GAM that allows you to remove an employee's account from all meetings in calendars where they were not the owner but only a participant?

Regards Mateusz

--
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/338d0815-c916-4465-bc87-5d1104d2ad68n%40googlegroups.com.

Mateusz Powałowski

unread,
May 12, 2026, 4:33:30 AM (6 days ago) May 12
to GAM for Google Workspace
Hello Ross, is it possible to do it somehow? How complicated is this process?

Ross Scroggs

unread,
May 12, 2026, 11:33:14 AM (6 days ago) May 12
to google-ap...@googlegroups.com
Start here; replace us...@domain.com with actual email address.

gam config auto_batch_min 1 num_threads 20 redirect csv ./UserEvents.csv multiprocess redirect stderr - multiprocess all users print events minaccessrole owner singleevents matchfield attendees us...@domain.com fields start,end,summary,attendees.email,attendees.organizer


This does not handle the requirement that the user is only a participamt, that will probale require a GAM change.

Ross
----
Ross Scroggs


Ross Scroggs

unread,
10:34 AM (3 hours ago) 10:34 AM
to google-ap...@googlegroups.com
IN GAM 7.43.05 I believe that you can achieve what you want.

Added option `matchfield attendeesorganizer <Boolean> <EmailAddressEntity>` to `<EventMatchProperty>`

that is used in commands that process events. The match is true if all of the addresses in `<EmailAddressEntity>`

are present as attendees in the event and are an organizer or not based on `<Boolean>`.



gam config auto_batch_min 1 num_threads 20 redirect csv ./UserEvents.csv multiprocess redirect stderr - multiprocess all users print events minaccessrole owner singleevents matchfield attendeesowner false us...@domain.com fields start,end,summary,attendees.email,attendees.organizer

Ross

----
Ross Scroggs


Reply all
Reply to author
Forward
0 new messages