TwistedHelixis Posted October 2, 2019 Posted October 2, 2019 Just realised that when I suspend a user they are still a member of any groups they were in. I seem to remember that opening the groups page it used to list suspended if someone was suspended, but it does not seem to do this anymore. Is there a way to list suspended users and the groups they are a member of?
DGardiner Posted October 2, 2019 Posted October 2, 2019 (edited) use gam for all suspended users in an OU ./gam print users query "orgUnitPath='/Staff that have left' isSuspended=True" | ./gam csv - gam user ~primaryEmail delete groups or for a single account gam user delete groups uh... i misread, i thought you wanted to clear out suspended users Edited October 2, 2019 by DGardiner 1
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