Remove suspended users calendar invites from active users

409 views
Skip to first unread message

Dan Casmas

unread,
Feb 10, 2023, 3:26:31 PM2/10/23
to GAM for Google Workspace
I don't want to wipe suspended user calendar or delete them.

I would like to search active users for invites from X suspended user and delete that invite.

therefore the suspended users calendar is intact but the 'bad' invite is gone from active users.

ideas?

Ross Scroggs

unread,
Feb 10, 2023, 6:19:31 PM2/10/23
to google-ap...@googlegroups.com
Dan,

Try this with Advanced GAM:

Test:
Primary calendar for active user

gam user activ...@domain.com print events primary matchfield organizeremail suspen...@domain.com


All calendars owned by active user

gam user activ...@domain.com print events minaccessrole matchfield organizeremail suspen...@domain.com


If the tests seem to work, then you can delete the events:

Delete:

Primary calendar for active user

gam user activ...@domain.com delete events primary matchfield organizeremail suspen...@domain.com doit


All calendars owned by active user

gam user activ...@domain.com delete events minaccessrole matchfield organizeremail suspen...@domain.com doit


You can expand from "user activ...@domain.com"  to "all users"


Ross


--
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/2dfffec2-1bab-41ed-bc56-474bf9599286n%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages