OK, this is going to be somewhat long.
One is the staff one, the other is the student one
Both are white-listed for each other, and i have a domain admin account on each one
I am able to create provisioned course
I can also add and remove Teachers to any courses, as long as they are in the same domain.
Adding Student from another domain is where I'm having problems with.
I am unable to use the New-GClassroomStudent cmdlet to directly add a student into a course while using GAuthID to us my domain admin account in Lawrence nor studnets.lawrence. domain
the closest I've gotten to adding student is by adding myself as a teacher to the course, send student invite for student that is missing from the course, then remove myself as a teacher.
I am unable to accept the invite or look it up as my domain admin under the students domain admin account when using GAuthId
So overall I would like to be able to use the -UserId parameter just like in the Drive cmdlets to impersonate the teacher and student accounts, and accept Google Classsroom invites on their behalf.