Re: How to remove Calendar meeting from resource calendar if the user is inactive

4,709 views
Skip to first unread message
Message has been deleted

Tardotz

unread,
Oct 24, 2016, 11:42:47 PM10/24/16
to GAM for G Suite
We have the exact problem.....did you end up finding a solution?

On Tuesday, March 8, 2016 at 7:37:58 AM UTC+11, Mike Patel wrote:
I would like to remove meetings that are organized by inactive users from resource calendar.

Example:

User A creates an recurring event on google calendar and selects XYZ Room.
User's leaves the company so by policy we don't delete account. We make it inactive.
When User B tries to book XYZ Room, He is not able to do it since it's already booked by User A.

How do we solve this problem?

Thank you

Tony Fernandez

unread,
Nov 4, 2016, 1:12:21 PM11/4/16
to GAM for G Suite
Looking for a resolution to the same issue.

+KimNilsson

unread,
Nov 7, 2016, 9:38:59 AM11/7/16
to GAM for G Suite

Jay Lee

unread,
Nov 7, 2016, 10:20:09 AM11/7/16
to GAM for G Suite
Yep, I added that command to GAM 4.02 based on this thread but forgot to post back to the thread :-)

Upgrade to 4.02 and give it a shot.

Jay

On Mon, Nov 7, 2016 at 9:39 AM +KimNilsson <there.is.no...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/f8e27bf4-61b0-49de-9339-250ae4431ced%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Jay

Ignacio

unread,
Nov 28, 2018, 8:05:48 AM11/28/18
to GAM for G Suite
Hi Jay, 

Could you please provide some command examples, seems to be that I am not the only one finding trouble to release rooms booked by suspended users (Realase resources for non suspended users would help too). 

Thanks, 
Ignacio

Ignacio

unread,
Jan 9, 2019, 10:54:24 AM1/9/19
to GAM for G Suite
This is how I did it.  This way you don't need to reactivate the user.

# Installed GAMADV-X instead of gam.
 https://github.com/taers232c/GAMADV-X.git

#  Scan resource calendar for events created by the user.

 gam calendar <resource> print events starttime today matchfield creatoremail <user_email> > <events_file>

# Delete all events created by the user from the resource calendar. 

 gam csv <events_file> gam calendar ~calendarId deleteevent eventid ~id notifyattendees doit

(You can test this without deleting any event by removing "doit" from the command.)

Hope this helps. 
Reply all
Reply to author
Forward
0 new messages