How to change the owner of calendar events

4,116 views
Skip to first unread message

Yuki Saito

unread,
Jun 11, 2019, 4:57:27 AM6/11/19
to GAM for G Suite
<Goal>
We are looking for a way to change owners of calendar events before deleting users.

"Transfer events when deleting a user"

<Already tried>
gam <delete user email> update  owner calendar <transfer email>

But it looks like not working well.
(Owner didn't changed.)

Is there any GAM command?

Yuki

Steve - DynTech

unread,
Jun 11, 2019, 9:11:21 AM6/11/19
to GAM for G Suite
If you want to transfer all events owned to another user like when you go to delete a user and get asked about calendar events (and drive data for example) use the following

gam create datatransfer|transfer <OldOwnerID> calendar <NewOwnerID> [release_resources]
https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Calendars-Transfer#google-background-transfers

If you want to move a specific event to another user look at the following
gam calendar <CalendarEntity> move event <EventEntity> to <CalendarItem> [notifyattendees]
https://github.com/taers232c/GAMADV-XTD3/wiki/Calendars-Events#move-calendar-events-to-another-calendar

For example:
gam calendar st...@demo.cloudbakers.com move event id 3465motdo1t9ktnbqif7k38bh8 to al.bo...@demo.cloudbakers.com

Yuki Saito

unread,
Jun 12, 2019, 2:20:27 AM6/12/19
to GAM for G Suite
Thanks,Steve!
 
I sucsecced to tranfer calender to new owner.

Now,I have an involved question.

<Question>
What's the difference between these 2 commands?
Is it same meening?

(1)gam <OldOwner> update  owner calendar <NewOwnerID>
(2)gam create datatransfer|transfer <OldOwnerID> calendar <NewOwnerID>

Yuki

2019年6月11日火曜日 22時11分21秒 UTC+9 Steve - DynTech:
If you want to transfer all events owned to another user like when you go to delete a user and get asked about calendar events (and drive data for example) use the following

gam create datatransfer|transfer <OldOwnerID> calendar <NewOwnerID> [release_resources]
https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Calendars-Transfer#google-background-transfers

If you want to move a specific event to another user look at the following
gam calendar <CalendarEntity> move event <EventEntity> to <CalendarItem> [notifyattendees]
https://github.com/taers232c/GAMADV-XTD3/wiki/Calendars-Events#move-calendar-events-to-another-calendar

For example:
gam calendar st...@demo.cloudbakers.com move event id 3465motdo1t9ktnbqif7k38bh8 to al.b...@demo.cloudbakers.com
Reply all
Reply to author
Forward
0 new messages