Gam Calendar Unsubscribe vs Delete

727 views
Skip to first unread message

Tim Nethers

unread,
Mar 22, 2020, 2:43:44 PM3/22/20
to GAM for G Suite
We made the mistake of adding a few unnecessary users to Google Courses in bulk. Now they have calendars for all the courses. We were able to use gam to remove them from the Google Courses, but we would also like to use gam to unsubscribe them via csv from calendars. That said, it looks like our options is to delete the calendar from the user. Does this perform an unsubscribe (great!), or literal deletion of the calendar (we don't want that)?

Ross Scroggs

unread,
Mar 22, 2020, 7:12:45 PM3/22/20
to google-ap...@googlegroups.com
Tim,

gam <EmailAddress> delete calendar <CalendarItem>

This does not delete the calendar, it deletes the calendar from the user's list of calendars.

Ross

On Mar 22, 2020, at 11:43 AM, Tim Nethers <tim.n...@foundationacademy.net> wrote:

We made the mistake of adding a few unnecessary users to Google Courses in bulk. Now they have calendars for all the courses. We were able to use gam to remove them from the Google Courses, but we would also like to use gam to unsubscribe them via csv from calendars. That said, it looks like our options is to delete the calendar from the user. Does this perform an unsubscribe (great!), or literal deletion of the calendar (we don't want that)?

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/342e2dc2-a653-4641-ba30-39ac51f006a7%40googlegroups.com.

Tim Nethers

unread,
Mar 22, 2020, 7:23:56 PM3/22/20
to GAM for G Suite
Thank you, that is what I needed to know! I will proceed with deleting calendars.


On Sunday, March 22, 2020 at 7:12:45 PM UTC-4, Ross Scroggs wrote:
Tim,

gam <EmailAddress> delete calendar <CalendarItem>

This does not delete the calendar, it deletes the calendar from the user's list of calendars.

Ross
On Mar 22, 2020, at 11:43 AM, Tim Nethers <tim.n...@foundationacademy.net> wrote:

We made the mistake of adding a few unnecessary users to Google Courses in bulk. Now they have calendars for all the courses. We were able to use gam to remove them from the Google Courses, but we would also like to use gam to unsubscribe them via csv from calendars. That said, it looks like our options is to delete the calendar from the user. Does this perform an unsubscribe (great!), or literal deletion of the calendar (we don't want that)?

--
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-manager+unsub...@googlegroups.com.
Message has been deleted
Message has been deleted

Ross Scroggs

unread,
Mar 22, 2020, 10:45:17 PM3/22/20
to google-ap...@googlegroups.com
Time,

From GamCommands.txt
gam <UserTypeEntity> add calendar <CalendarItem> <CalendarAttributes>*
gam <UserTypeEntity> update calendar <CalendarItem>|primary <CalendarAttributes>+
gam <UserTypeEntity> delete|del calendar <CalendarItem>
gam <UserTypeEntity> show calendars
gam <UserTypeEntity> info calendar <CalendarItem>|primary
gam <UserTypeEntity> print calendars [todrive]

Ross

On Mar 22, 2020, at 5:31 PM, Tim Nethers <tim.n...@foundationacademy.net> wrote:

Or export to csv todrive?

On Sunday, March 22, 2020 at 8:28:59 PM UTC-4, Tim Nethers wrote:
What command would I use to show all calendar for a user? I can't seem to get the correct formatting.


On Sunday, March 22, 2020 at 7:12:45 PM UTC-4, Ross Scroggs wrote:
Tim,

gam <EmailAddress> delete calendar <CalendarItem>

This does not delete the calendar, it deletes the calendar from the user's list of calendars.

Ross
On Mar 22, 2020, at 11:43 AM, Tim Nethers <tim.n...@foundationacademy.net> wrote:

We made the mistake of adding a few unnecessary users to Google Courses in bulk. Now they have calendars for all the courses. We were able to use gam to remove them from the Google Courses, but we would also like to use gam to unsubscribe them via csv from calendars. That said, it looks like our options is to delete the calendar from the user. Does this perform an unsubscribe (great!), or literal deletion of the calendar (we don't want that)?

--
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-manager+unsub...@googlegroups.com.

--
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.

Jay Strumwasser

unread,
Jan 12, 2021, 8:27:08 AM1/12/21
to GAM for Google Workspace
Good morning,

Is it possible to restore a deleted calendar from Classroom?  We were troubleshooting an issue with a teachers' calendar and they were not showing.  I thought by deleting and reading the calendar, she would be able to see them, since she had over 60 calendars.

@ross.scroggs
I feel terrible and want to help her to restore the calendar.  Please let me know if this is possible using ADV-XTD3?

Thank you,

Ross Scroggs

unread,
Jan 12, 2021, 10:40:02 AM1/12/21
to google-ap...@googlegroups.com
Jay,

These commands add/delete a calendar from a user's calendar list, there don't affect the calendar itself.

These commands add/delete calendars.

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.


--

Jay Strumwasser

unread,
Jan 12, 2021, 10:59:01 AM1/12/21
to google-ap...@googlegroups.com
Did not work:

c:\GAMADV-XTD3>gam update course 224709649331 copyfrom 204016482506 announcementstates all
Getting all Course Announcement IDs that match query (Course Announcement States: DRAFT,PUBLISHED,DELETED) for Course: 204016482506
Got 6 Course Announcement IDs...
Course: 204016482506, Course Announcement ID: 205170505567, Course Material Form: Turning in a late assignment???, Not Copied: Not Copyable
Course: 204016482506, Course Announcement ID: 205170505563, Course Material Form: Need to schedule an extra-help session?, Not Copied: Not Copyable
Course: 224709649331, Copy from Course: 204016482506
  User: jason.st...@irvingtonschools.org, Service not applicable/Does not exist

c:\GAMADV-XTD3>gam update course 224709649331 copyfrom 204016482506 announcementstates draft,published,deleted
Getting all Course Announcement IDs that match query (Course Announcement States: DRAFT,PUBLISHED,DELETED) for Course: 204016482506
Got 6 Course Announcement IDs...
Course: 204016482506, Course Announcement ID: 205170505567, Course Material Form: Turning in a late assignment???, Not Copied: Not Copyable
Course: 204016482506, Course Announcement ID: 205170505563, Course Material Form: Need to schedule an extra-help session?, Not Copied: Not Copyable
Course: 224709649331, Copy from Course: 204016482506
  User: jason.st...@irvingtonschools.org, Service not applicable/Does not exist

c:\GAMADV-XTD3>

You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/zH07Vm63SfE/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAJkvRS_dc4x9fMywPBn4GjWtwYL6VNjKAF%2B-qZ-bybODfHVSBA%40mail.gmail.com.


--
Jay Strumwasser
Director of Technology/Chief Information Officer/Data Privacy Officer


40 N. Broadway
Irvington, NY 10533






Reply all
Reply to author
Forward
0 new messages