Troubleshooting: Designated admin is subscribed to calendars

Some users have noticed that the Designated Admin set in Little SIS gets subscribed to the Google Classroom Calendars for certain classes. This behavior seems to be related to a recent change in the API as it also happens for users who are creating classes via other methods using the API, such as the command-line tool, GAM.

Using GAM would be the easiest way to bulk delete these calendars from the admin's list without deleting the calendars from the actual teachers and students. The format for Google Classroom Calendar IDs can differ, so there are two sets of commands that look for both options.

While GAM will bulk delete until Google addresses the underlying issues it is likely they may come back up again. To ensure it does not recur, consider changing the Designated Admin that is set in the Sync portion of Little SIS to an account set up specifically for this. This is done in Little SIS > Sync > Administration > Settings > Set designated admin.

DesignatedAdminCalendarsHL.png

  1. Print Google classroom calendars with IDs that begin with the domain.com_classroom. Replace domain.com and user@domain.com with the appropriate domain and Designated Admin Email address.
    • gam config csv_output_row_filter "calendarId:regex:^domain.com_classroom.*" redirect csv ./AdminClassroomCalendars.csv user user@domain.com print calendars.
  2. Verify that AdminClassroomCalendars.csv contains the calendars that you wish to remove from your view.
  3. Delete those calendars from your view. Replace user@domain.com with the Designated Admin Email Address.
    • gam redirect stdout - multiprocess csv ./AdminClassroomCalendars.csv gam user user@domain.com delete calendar "~calendarId"
  4. Using the command below to print calendars with IDs that begin with c_classroom. Replace user@domain.com with the Designated Admin Email Address. Repeat steps 2-3.
    • gam config csv_output_row_filter "calendarId:regex:^c_classroom.*" redirect csv ./AdminClassroomCalendars.csv user user@domain.com print calendars

Articles in this section