The course info is pasted below. When I try to add a teacher or update the owner, I get an ERROR: 400 Precondition check failed. - failedPrecondition. Any ideas? The teacher who created the course had an email change a while back. Should that have killed the ability to add a teacher or owner to this course?
id: 0B-jAkn_pwtiPfnVyc1BmRTREWkZRZFRaX1ZXeENzNVc4NlJzR29VVVAtVzhlUUh6cFBCb00creationTime: 2017-08-28T19:33:45.009ZownerEmail: 116245035089881460574
teacherGroupEmail: Starling_s_Homeroom_teachers_dbc8...@ccsgafe.orgcourseState: ACTIVEcourseGroupEmail: Starling_s_Homeroom_2ed79d15@ccsgafe.org
ownerId: 116245035089881460574id: 5073095756descriptionHeading: Starling's HomeroomAliases:StarlingMathParticipants:Teachers:Unknown user
--
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/41b34c87-5f52-4019-8025-f5f096aac542%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
John,What are the commands you're trying to execute?Ross
On Thu, Feb 8, 2018 at 10:17 AM, John Lowe <jl...@clinton.k12.nc.us> wrote:
The course info is pasted below. When I try to add a teacher or update the owner, I get an ERROR: 400 Precondition check failed. - failedPrecondition. Any ideas? The teacher who created the course had an email change a while back. Should that have killed the ability to add a teacher or owner to this course?
id: 0B-jAkn_pwtiPfnVyc1BmRTREWkZRZFRaX1ZXeENzNVc4NlJzR29VVVAtVzhlUUh6cFBCb00creationTime: 2017-08-28T19:33:45.009ZownerEmail: 116245035089881460574teacherGroupEmail: Starling_s_Homeroom_teachers_dbc8...@ccsgafe.orgcourseState: ACTIVE
courseGroupEmail: Starling_s_Hom...@ccsgafe.org
ownerId: 116245035089881460574id: 5073095756descriptionHeading: Starling's HomeroomAliases:StarlingMathParticipants:Teachers:Unknown user
--
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.
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/41b34c87-5f52-4019-8025-f5f096aac542%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
$ gam info course 6941461074 owneremail show teachers
Course: 6941461074
Course ID: 6941461074, Owner ID: 114592717926494512783, Does not exist
alternateLink: http://classroom.google.com/c/xxx
calendarId: rdschool.org_classroomxxx@group.calendar.google.com
courseGroupEmail: junk...@rdschool.org
courseState: ACTIVE
creationTime: 2017-07-01T09:13:27-07:00
enrollmentCode: 906z479
guardiansEnabled: False
id: 6941461074
name: junk
ownerEmail: 114592717926494512783
ownerId: 114592717926494512783
teacherFolder:
id: 0By1SKeDrZ1WNfnlqREVqRFBmZV9kMUYwQnZ4TnZ1R3RncTBUZlR3X0hxb0drcVVaQm56Zm8
teacherGroupEmail: junk_teachers_xxx@rdschool.org
updateTime: 2017-07-01T09:14:51-07:00
Participants:
Teachers: 3
Unknown user
Test User1 - test...@rdschool.org
RDS Admin - ad...@rdschool.org
$
Note that the ownerId and ownerEmail are the same, I do this when I can't get the ownerEmail.
Note the unknown Teacher.
Let's promote teacher test...@rdschool.org to be the owner.
$ gam update course 6941461074 owner test...@rdschool.org
Course: 6941461074, Update Failed: @UserInIllegalDomain Invitation cannot be created for user in this domain
$
That's a bust and not very understandable, what illegal domain?
The rule is that only teachers can be promoted to owners, let's verify that, maybe we'll get lucky.
$ $ gam update course 6941461074 owner test...@rdschool.org
Course: 6941461074, Update Failed: @IneligibleOwner Only a co-teacher can be invited as owner of the course
$
No luck there. Let's try adding a new teacher.
$ gam course 6941461074 add teacher test...@rdschool.org
Course: 6941461074, Add 1 Teacher
Course: 6941461074, Teacher: test...@rdschool.org, Add Failed: 400: 400 - Precondition check failed.
$
Ummm? Now what?
Ross
This may be because the original teacher email tsta...@ccsgafe.org was deleted. It is possible to change the ownerid on this course to someone I know is still active?
On Thursday, February 8, 2018 at 5:21:16 PM UTC-5, John Lowe wrote:
gam course 5073095756 add teacher tonya...@clinton.k12.nc.us
On Thursday, February 8, 2018 at 2:56:23 PM UTC-5, Ross Scroggs wrote:
John,What are the commands you're trying to execute?Ross
On Thu, Feb 8, 2018 at 10:17 AM, John Lowe <jl...@clinton.k12.nc.us> wrote:
The course info is pasted below. When I try to add a teacher or update the owner, I get an ERROR: 400 Precondition check failed. - failedPrecondition. Any ideas? The teacher who created the course had an email change a while back. Should that have killed the ability to add a teacher or owner to this course?
id: 0B-jAkn_pwtiPfnVyc1BmRTREWkZRZFRaX1ZXeENzNVc4NlJzR29VVVAtVzhlUUh6cFBCb00creationTime: 2017-08-28T19:33:45.009ZownerEmail: 116245035089881460574teacherGroupEmail: Starling_s_Homeroom_teachers_dbc8...@ccsgafe.org
courseState: ACTIVEcourseGroupEmail: Starling_s_Hom...@ccsgafe.orgownerId: 116245035089881460574id: 5073095756descriptionHeading: Starling's HomeroomAliases:StarlingMathParticipants:Teachers:Unknown user
--
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-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/41b34c87-5f52-4019-8025-f5f096aac542%40googlegroups.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+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/9c868f51-d80b-4958-aafc-81c5ef3e77dc%40googlegroups.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/9c868f51-d80b-4958-aafc-81c5ef3e77dc%40googlegroups.com.
--Ross Scroggs
--
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/CAJkvRS_xu1A4JMk2zoRgNhA56c%3D%3DjNMfuNP0y%3DRc881JPS42zQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJkvRS_xu1A4JMk2zoRgNhA56c%3D%3DjNMfuNP0y%3DRc881JPS42zQ%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+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/CAL7a__ps%2BM5053T6Q%3DMq4Sxnnomcx06FV9m8Hw__N8qt1tL2pw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAL7a__ps%2BM5053T6Q%3DMq4Sxnnomcx06FV9m8Hw__N8qt1tL2pw%40mail.gmail.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-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/CAJkvRS8SzoGePtb%2BUD4qj4dgfOX1V2qhStbBdby%3D90xmx2CgQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJkvRS8SzoGePtb%2BUD4qj4dgfOX1V2qhStbBdby%3D90xmx2CgQA%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+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/CAL7a__pRv4g6OQps%2B0DyW5%2BvOp05NxnTXbN58h5p5D%3Dt4NrPpA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAL7a__pRv4g6OQps%2B0DyW5%2BvOp05NxnTXbN58h5p5D%3Dt4NrPpA%40mail.gmail.com.
--Ross Scroggs
--
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/CAJkvRS_GCm773uWCxE8ivRRNiAKjW4qvDwj4QXRUfzKVuoktug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
The course info is pasted below. When I try to add a teacher or update the owner, I get an ERROR: 400 Precondition check failed. - failedPrecondition. Any ideas? The teacher who created the course had an email change a while back. Should that have killed the ability to add a teacher or owner to this course?
id: 0B-jAkn_pwtiPfnVyc1BmRTREWkZRZFRaX1ZXeENzNVc4NlJzR29VVVAtVzhlUUh6cFBCb00creationTime: 2017-08-28T19:33:45.009ZownerEmail: 116245035089881460574teacherGroupEmail:
calendarId:courseGroupEmail:
Nah, I love GDPR.
--
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/50455871-dde6-46a7-8d1e-539a3c44d5ca%40googlegroups.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.
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/4325335f-131d-4f5c-b6f1-80bfb9caf98d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Ross,
I will forward that information on and we will look into changing that for now.
ERROR: 400: @UserInIllegalDomain Invitation cannot be created for user in this domain - failedPrecondition