--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJuGqD5fUmm%3D8jY2N11OBVggUhtewjP84aFP4WgsqGyd4V1mvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Jay Lee
Try:gam csv deleteusers.csv gam delete user ~usernamethis assumes that the CSV file has a column with username as the heading and contains the email addresses to be deleted.Jay
On Wed, Aug 19, 2015 at 10:13 AM Eric Keiper <kei...@eastonsd.org> wrote:
--Hello,I am having issues trying to bulk delete users in our Google Apps for Ed account.I have used GAM to do a lot of things in the past but I cannot seem to get it to do what I need now.I tried using the command:while IFS=, read username; do python gam.py delete user $username; done < deleteusers.csvbut I get the error: Error 403: Not Authorized to access this resource/api - forbiddenI was really hoping someone would be able to help me in some way, maybe a new command that works to do what I need.I am running GAM on my MacBook Pro running OS X 10.10.3.Thanks,Eric
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJuGqD5fUmm%3D8jY2N11OBVggUhtewjP84aFP4WgsqGyd4V1mvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Jay Lee
gam csv creates.csv gam create user ~mail firstname ~givenName lastname ~sn
creates.csv had columns with the headers: mail, givenName and sn
mail=google email (username)
givenName=first name
sn=last name
I know the column headings are goofy, used same ones from some other software using the same files for. ;)
Then moved them into different orgs after breaking down the groups into different cvs files (6th grade, 5th grade, etc)
python gam.py csv NewUsers.csv gam create user ~Email firstname ~FN lastname ~LN password ~PWD org ~OU changepassword off gal off
Try:gam csv deleteusers.csv gam delete user ~usernamethis assumes that the CSV file has a column with username as the heading and contains the email addresses to be deleted.Jay
On Wed, Aug 19, 2015 at 10:13 AM Eric Keiper <kei...@eastonsd.org> wrote:
--Hello,I am having issues trying to bulk delete users in our Google Apps for Ed account.I have used GAM to do a lot of things in the past but I cannot seem to get it to do what I need now.I tried using the command:while IFS=, read username; do python gam.py delete user $username; done < deleteusers.csvbut I get the error: Error 403: Not Authorized to access this resource/api - forbiddenI was really hoping someone would be able to help me in some way, maybe a new command that works to do what I need.I am running GAM on my MacBook Pro running OS X 10.10.3.Thanks,Eric
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAJuGqD5fUmm%3D8jY2N11OBVggUhtewjP84aFP4WgsqGyd4V1mvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Jay Lee
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.
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/ca2ee371-cad2-4c91-bf49-9f3faa2182b6%40googlegroups.com.