Accepting Google Classroom classes

628 views
Skip to first unread message

Mike McLoughlin (PCA)

unread,
Jun 20, 2017, 5:33:46 AM6/20/17
to GAM for G Suite
Hi,

I successfully set up hundreds of Google Classroom classes and added teachers to those classes. However, in my dashboard, the classes are shown as requiring me to Accept the invitation (even though my GAM account created them and invited me to teach them). Further, other invitees only see the ones I have accepted and are not required to accept them themselves.

So, is there a way to have done this without the need to have to have to accept like this? Or to script the acceptances themselves?

- Mike

Jay Lee

unread,
Jun 20, 2017, 5:36:40 AM6/20/17
to google-ap...@googlegroups.com



The views or opinions expressed in this email are not necessarily those of Plymouth College of Art. If you have received this email in error, please delete it and notify the sender. 

--
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.
To post to this group, send email to google-apps-manager@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/5ef3ee98-24a3-4776-9a36-a2679dea07db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mike McLoughlin (PCA)

unread,
Jun 20, 2017, 8:30:35 AM6/20/17
to GAM for G Suite
Hi Jay,

Yes, that has done it, thanks. I see now I should have included the status in the creation script.

#everydayisaschoolday

- Mike


On Tuesday, 20 June 2017 10:36:40 UTC+1, Jay Lee wrote:
On Jun 20, 2017 5:33 AM, "Mike McLoughlin (PCA)" <mmclo...@pca.ac.uk> wrote:
Hi,

I successfully set up hundreds of Google Classroom classes and added teachers to those classes. However, in my dashboard, the classes are shown as requiring me to Accept the invitation (even though my GAM account created them and invited me to teach them). Further, other invitees only see the ones I have accepted and are not required to accept them themselves.

So, is there a way to have done this without the need to have to have to accept like this? Or to script the acceptances themselves?

- Mike



The views or opinions expressed in this email are not necessarily those of Plymouth College of Art. If you have received this email in error, please delete it and notify the sender. 

--
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.
To post to this group, send email to google-ap...@googlegroups.com.

Jay Lee

unread,
Jun 20, 2017, 8:48:28 AM6/20/17
to google-ap...@googlegroups.com
We could change the default to be active on creation I suppose.

Anyone using Classroom heavily care to sound off on default course state being active vs. provisioned? There'd still be an option to override but if this is a confusing and unnecessary extra step to activate we can fix it.

Jay

On Jun 20, 2017 8:30 AM, "Mike McLoughlin (PCA)" <mmclo...@pca.ac.uk> wrote:
Hi Jay,

Yes, that has done it, thanks. I see now I should have included the status in the creation script.

#everydayisaschoolday

- Mike

On Tuesday, 20 June 2017 10:36:40 UTC+1, Jay Lee wrote:
On Jun 20, 2017 5:33 AM, "Mike McLoughlin (PCA)" <mmclo...@pca.ac.uk> wrote:
Hi,

I successfully set up hundreds of Google Classroom classes and added teachers to those classes. However, in my dashboard, the classes are shown as requiring me to Accept the invitation (even though my GAM account created them and invited me to teach them). Further, other invitees only see the ones I have accepted and are not required to accept them themselves.

So, is there a way to have done this without the need to have to have to accept like this? Or to script the acceptances themselves?

- Mike



The views or opinions expressed in this email are not necessarily those of Plymouth College of Art. If you have received this email in error, please delete it and notify the sender. 

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



The views or opinions expressed in this email are not necessarily those of Plymouth College of Art. If you have received this email in error, please delete it and notify the sender. 

--
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.
To post to this group, send email to google-apps-manager@googlegroups.com.

+KimNilsson

unread,
Jun 26, 2017, 5:17:14 AM6/26/17
to GAM for G Suite
Active on creation by default would be my recommendation.

Any organisation that sets up Classrooms with GAM are probably doing it to be as easy as possible for teachers to use.

Mike McLoughlin (PCA)

unread,
Jun 26, 2017, 5:18:39 AM6/26/17
to GAM for G Suite
+1 What Kim said - and it was certainly my use-case.

- Mike

Brian Dvorkin

unread,
Aug 9, 2017, 2:36:25 PM8/9/17
to GAM for G Suite
Question - Are you also syncing students to those classes?  If so, what is your method?

Mike McLoughlin (PCA)

unread,
Aug 10, 2017, 11:27:44 AM8/10/17
to GAM for G Suite
Hi Brian,

Not 'syncing' as such, but I use the data from a student records system to do one-off GAM enrolment statements for all programmes, with maybe a final catch up process later in the year.

- Mike 

Marta de Souza

unread,
Oct 5, 2017, 7:23:26 AM10/5/17
to GAM for G Suite
Sorry for hijacking this post but I've also successfully created hundreds of classrooms using a known spreadsheet add-on but it created the courses using the provisional flag instead of the active flag.
I know I'm being lazy but I'm running out of time and need a command to update all courses in domain from provisional to active. Is there one that is not too convoluted?

Many thanks.  

+KimNilsson

unread,
Oct 5, 2017, 8:25:38 AM10/5/17
to GAM for G Suite
This will switch all your courses to active.

gam print courses | gam update course ~id status ACTIVE

If you want to can limit the print to certain teachers or students.

Marta de Souza

unread,
Oct 5, 2017, 8:41:51 AM10/5/17
to google-ap...@googlegroups.com
Thanks for that. 

Is that the "print courses" bit that does the trick?

Will I have to run it once for each course ID or the ~id will be fed via the output of "gam print courses"?  I was trying to avoid manually grabbing hold of all course IDs first.

Can I limit it to courses created after a certain date to avoid reopening finished classes? :-)

Regards

Marta de Souza

Senior IT Technician

Bromley A.E. College

      

http://www.baec.ac.uk   


--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/_urucBDDLxk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsub...@googlegroups.com.

To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

Brian Dvorkin

unread,
Oct 5, 2017, 8:47:47 AM10/5/17
to GAM for G Suite
The print courses command will just list them all.

From that output you can see the ID for each course.

Then you can use the update course command to switch each course to active. You'll have to run one command per course on that.  Yeah that will take a long time.  We experimented with batch files on this and that seems to work well, as long as your data is good in the file.


On Thursday, October 5, 2017 at 7:41:51 AM UTC-5, Marta de Souza wrote:
Thanks for that. 

Is that the "print courses" bit that does the trick?

Will I have to run it once for each course ID or the ~id will be fed via the output of "gam print courses"?  I was trying to avoid manually grabbing hold of all course IDs first.

Can I limit it to courses created after a certain date to avoid reopening finished classes? :-)

Regards

Marta de Souza

Senior IT Technician

Bromley A.E. College

      

http://www.baec.ac.uk   


On 5 October 2017 at 13:25, +KimNilsson <there.is.no...@gmail.com> wrote:
This will switch all your courses to active.

gam print courses | gam update course ~id status ACTIVE

If you want to can limit the print to certain teachers or students.

--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/_urucBDDLxk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.

+KimNilsson

unread,
Oct 5, 2017, 8:50:47 AM10/5/17
to GAM for G Suite
When you print you get all these variables.

id,name,alternateLink,calendarId,courseMaterialSets.0.materials.0.driveFile.alternateLink,courseMaterialSets.0.materials.0.driveFile.id,courseMaterialSets.0.materials.0.driveFile.thumbnailUrl,courseMaterialSets.0.materials.0.driveFile.title,courseMaterialSets.0.materials.0.link.thumbnailUrl,courseMaterialSets.0.materials.0.link.title,courseMaterialSets.0.materials.0.link.url,courseMaterialSets.0.title,courseMaterialSets.1.materials.0.driveFile.alternateLink,courseMaterialSets.1.materials.0.driveFile.id,courseMaterialSets.1.materials.0.driveFile.title,courseMaterialSets.1.materials.0.link.thumbnailUrl,courseMaterialSets.1.materials.0.link.title,courseMaterialSets.1.materials.0.link.url,courseMaterialSets.1.title,courseMaterialSets.2.materials.0.link.thumbnailUrl,courseMaterialSets.2.materials.0.link.title,courseMaterialSets.2.materials.0.link.url,courseMaterialSets.2.title,courseState,creationTime,descriptionHeading,enrollmentCode,guardiansEnabled,ownerId,section,teacherFolder.alternateLink,teacherFolder.id,teacherFolder.title,updateTime

So, if one of those fit, you could filter them.
Or first push the print todrive and edit the file and export a new csv.

The actual do part is the second command, after the pipe |.

+KimNilsson

unread,
Oct 5, 2017, 8:53:12 AM10/5/17
to GAM for G Suite
At the end you see the interesting vaues.

courseState
creationTime
updateTime

Marta de Souza

unread,
Oct 5, 2017, 10:02:57 AM10/5/17
to GAM for G Suite
+KimNilsson I've successfully updated my courses after editing the file in drive and exporting it to CSV but I did not need the pipe or to run it recursively. I just added the CSV as input file. 

Many thanks.


Kim Nilsson

unread,
Oct 5, 2017, 10:24:05 AM10/5/17
to Google Apps Manager
Of course.
The pipe was only there as the recipient for the print.

Marta de Souza

unread,
Oct 5, 2017, 10:34:46 AM10/5/17
to google-ap...@googlegroups.com
👍

Marta de Souza


On 5 October 2017 at 15:23, Kim Nilsson <there.is.no...@gmail.com> wrote:
Of course.
The pipe was only there as the recipient for the print.

--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/_urucBDDLxk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.

Jay Lee

unread,
Oct 5, 2017, 10:39:05 AM10/5/17
to google-ap...@googlegroups.com
It looks like it's actually possible to limit course list results based on the status(es) of the courses but GAM wasn't setting that parameter on gam print courses. So with the next release (after 4.31) you'll be able to do:

gam print courses state active

or

gam print courses state active,provisioned

and get back only courses that are in the given state(s).

Jay

On Thu, Oct 5, 2017 at 10:33 AM, 'Marta de Souza' via GAM for G Suite <google-ap...@googlegroups.com> wrote:
👍

Marta de Souza


On 5 October 2017 at 15:23, Kim Nilsson <there.is.no.substitute@gmail.com> wrote:
Of course.
The pipe was only there as the recipient for the print.

--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/_urucBDDLxk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsubscribe...@googlegroups.com.

To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

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

To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

Marta de Souza

unread,
Oct 5, 2017, 11:39:16 AM10/5/17
to google-ap...@googlegroups.com
That will be great!

Regards,

Marta de Souza


On 5 October 2017 at 15:38, Jay Lee <jay...@gmail.com> wrote:
It looks like it's actually possible to limit course list results based on the status(es) of the courses but GAM wasn't setting that parameter on gam print courses. So with the next release (after 4.31) you'll be able to do:

gam print courses state active

or

gam print courses state active,provisioned

and get back only courses that are in the given state(s).

Jay
On Thu, Oct 5, 2017 at 10:33 AM, 'Marta de Souza' via GAM for G Suite <google-apps-manager@googlegroups.com> wrote:
👍

Marta de Souza


On 5 October 2017 at 15:23, Kim Nilsson <there.is.no.substitute@gmail.com> wrote:
Of course.
The pipe was only there as the recipient for the print.

--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/_urucBDDLxk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsubscribe...@googlegroups.com.
To post to this group, send email to google-apps-manager@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/CAGPzzFuy8o3-HO_4pB%2BW%3Dsb0T%2BNW%3DRxWUijAq%3Deg%3Dy6%3DDSkedg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

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

To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/_urucBDDLxk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsub...@googlegroups.com.

To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
Reply all
Reply to author
Forward
0 new messages