eddyc Posted January 10, 2021 Posted January 10, 2021 Hello everyone, I am reaching out to anyone who may use GAM here. We use it modify different aspect of G Suite. I am trying to generate a list of guardian emails from Google Classroom to do some form of data check between G Suite and SIMS. I have found the command gam print guardians all users to drive Running this gives to: Getting all Users in G Suite account (may take some time on a large account)... Got 3162 Users... done getting 3162 Users. Getting Guardians for [email protected] (1/3162) ERROR: 403: The caller does not have permission - 403 It then does this for every user. I've checked and appear to have all API permissions for GAM so am a bit lost. If I do a single user for example gam print guardians student [email protected] it returns the expected data. Can someone else who uses gam see if the command works for them please? Any other suggestions greatly received. Thank you eddyc
gh5000 Posted January 10, 2021 Posted January 10, 2021 The account that authenticated Gam is a super admin?
eddyc Posted January 10, 2021 Author Posted January 10, 2021 The account that authenticated Gam is a super admin? Thanks for your reply. Yes the account which was used to set up GAM is a super admin. I've tried setting GAM up with my own account which is also a super admin but also get the same 403 error message. Thanks eddyc
rogerdnixon Posted January 10, 2021 Posted January 10, 2021 If you are using GAMADV-XTD3 the syntax is "gam print guardians todrive" Never a space in the todrive
eddyc Posted January 10, 2021 Author Posted January 10, 2021 Sorry that’s a typo in my original post. I’m not putting a space between to and drive. Thanks eddyc If you are using GAMADV-XTD3 the syntax is "gam print guardians todrive" Never a space in the todrive
highsky Posted January 30, 2021 Posted January 30, 2021 This works, gam print guardians invitations ou_and_children /your-students-ou > guardians.csv using > guardians.csv stores it locally instead of todrive Do you have 3K active students? gam print users custom all suspended > suspended.csv
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now