Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to remove user from Classroom #242

Closed
astrugatch opened this issue Feb 15, 2022 · 7 comments
Closed

Error when trying to remove user from Classroom #242

astrugatch opened this issue Feb 15, 2022 · 7 comments

Comments

@astrugatch
Copy link

Trying to remove a student from a classroom. Getting the following error:

Remove Failed: The caller does not have permission

Running as a batch for some of my team to use, but also fails when typed out manually:

@ECHO OFF

SET /P googleclass= What Classrom ID:
SET /P Student= What Student:

gam course %googleclass% remove students %Student%

GAM OAuth user is a SuperAdmin and a smattering of other commands I tested work without issue.

@taers232c
Copy link
Owner

taers232c commented Feb 15, 2022 via email

@astrugatch
Copy link
Author

That is already enabled. Just confirmed. Our install was working previously this is a new hurdle.

I've also upgraded to the latest version (didn't realize how old my install was originally) and ran through the upgrade process and am still seeing the issue.

@taers232c
Copy link
Owner

Send me a Meet/Zoom invitation.

ross.scroggs @ gmail.com

@astrugatch
Copy link
Author

Sent

@taers232c
Copy link
Owner

taers232c commented Feb 15, 2022 via email

@astrugatch
Copy link
Author

Added you in the meet, but sounds like you didn't get it from that. I just sent the

@astrugatch
Copy link
Author

Looks like the error is related to the new "Unenrollment Permissions" feature in Google Admin. If this is set allow both students and teachers to remove students from classrooms the API and GAM work as expected. If it is set to teachers only the API and GAM fail. I have a ticket open with google, as the super admin should obviously be able to do this regardless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants