Get UID from deleted Users

159 views
Skip to first unread message

AtlasCollege Sysops

unread,
Feb 11, 2022, 4:50:18 PM2/11/22
to GAM for Google Workspace
Hi,
I've got a problem that multiple users are deleted within Google Admin, and afterwards created again, with the same email/firstname/lastname.

I can use GAM to undelete users, but I get an output like:

===
ERROR: more than one matching deleted us...@domain.com user. Please select the correct one to undelete and specify with "gam undelete user uid:<uid>"

 uid:10152450**************
   creationTime: 2022-02-10T11:39:16.000Z
   lastLoginTime: Never
   deletionTime: 2022-02-11T13:07:52.000Z

 uid:1058517818************
   creationTime: 2019-06-04T10:21:59.000Z
   lastLoginTime: 2022-01-19T13:46:37.000Z
   deletionTime: 2022-02-09T14:11:48.000Z
====
Is there an option to get the UID from multiple users with GAM?

Jay Lee

unread,
Feb 11, 2022, 4:51:08 PM2/11/22
to google-ap...@googlegroups.com
gam print users onlydeleted

Jay

--
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/7457ffd6-6aa9-4e40-995b-2b127e327be2n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages