sign out users from gam

948 views
Skip to first unread message

Alexander Grutza

unread,
Feb 25, 2022, 12:31:16 PM2/25/22
to GAM for Google Workspace
Is there a command we can run to kick people out of their current sessions? ultimately from a csv as well.

we just got a list of 66 users who we are resetting their passwords and would like to know how to also kick them out of all sessions

What I have so far to generate random passwords
gam csv .\listofusers.csv gam update user ~primaryEmail password random

I found "gam <UserTypeEntity> signout" but do not know how to combine the above command with the signout function as well

Ross Scroggs

unread,
Feb 25, 2022, 12:43:24 PM2/25/22
to google-ap...@googlegroups.com
Alexander,

Try: gam csv .\listofusers.csv gam update user ~primaryEmail password random changepassword true

Ross

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/962c4f99-bf92-4b65-ba50-ba377a6afd73n%40googlegroups.com.


--

Alexander Grutza

unread,
Feb 25, 2022, 1:06:19 PM2/25/22
to GAM for Google Workspace
Gotcha, same process different way. Thanks!
Reply all
Reply to author
Forward
0 new messages