how to figure out the date of archiving users

110 views
Skip to first unread message

Oleg Adamyuk

unread,
Jan 5, 2025, 10:15:15 AMJan 5
to GAM for Google Workspace
Hi,

Is it possible to get the list of all archived users and the date when they were archived?

Thank you,

Ross Scroggs

unread,
Jan 5, 2025, 1:30:20 PMJan 5
to google-ap...@googlegroups.com
I don't see a way to get that info directly.

List archived users
gam print users query "isArchived=True"

Get archive events from the last 6 months

gam report admin events ARCHIVE_USER


Ross


----
Ross Scroggs




linkedin  |  instagram  |  facebook  |  twitter

55 Bartholomew Close, London, EC1A 7ES United Kingdom | ST Tower, Level 11, Triq Testaferrata, Ta' Xbiex XBX 1405
https://www.pushgaming.com/games/mystery-nile.html
IMPORTANT CONFIDENTIALITY NOTICE: This message is the property of Push Gaming Holding Limited and/or its subsidiaries and may contain proprietary, confidential or trade secret information. This message is intended solely for the use of the addressee. If you are not the intended recipient and have received this message in error, please delete this message from your system. Any unauthorised reading, distribution, copying, or other use of this message or its attachments is strictly prohibited.

--
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 visit https://groups.google.com/d/msgid/google-apps-manager/1d41ef77-1fd6-479a-a487-891102b3800dn%40googlegroups.com.

Ross Scroggs

unread,
Jan 5, 2025, 6:45:44 PMJan 5
to google-ap...@googlegroups.com
Try This:

# get Archived Users

gam redirect csv ./ArchivedUsers.csv print users  query "isArchived=True"


# Get Archive Events

gam redirect csv ./ArchivedEvents.csv multiprocess redirect stderr - multiprocess csv ArchivedUsers.csv gam report admin filter "USER_EMAIL==~~primaryEmail~~" events ARCHIVE_USER


Ross
----
Ross Scroggs


On Jan 5, 2025, at 7:15 AM, Oleg Adamyuk <oleg.a...@pushgaming.com> wrote:

Oleg Adamyuk

unread,
Jan 6, 2025, 4:06:19 AMJan 6
to GAM for Google Workspace
Hi Ross,

Thank you for your quick response! 
Appreciate it!

Regards,

Oleg

Oleg Adamyuk

unread,
Jan 6, 2025, 7:50:06 AMJan 6
to GAM for Google Workspace
Hi Ross,

Seems it shows the data and time of archiving users last 6 months.
Is it possible to get a report for a longer period of time than 6 months (for example, 5 years) or a period that can be specified by yourself?

Thank you,

✉ Kevin Melillo

unread,
Jan 6, 2025, 7:55:09 AMJan 6
to google-ap...@googlegroups.com
You could create a custom user schema, and use that to record the date the users are archived.  This will not help in determining the date of all previously archived users, only those moving forward.

Ross Scroggs

unread,
Jan 6, 2025, 10:06:39 AMJan 6
to google-ap...@googlegroups.com
The activities log ony goes back 6 months, they is no data beyond that.

Ross
----
Ross Scroggs


Oleg Adamyuk

unread,
Jan 13, 2025, 9:29:04 AMJan 13
to google-ap...@googlegroups.com
Hi Ross,

Thank you,

Oleg



--
Best regards,
Oleg Adamyuk
IT Systems Administrator



linkedin  |  instagram  |  facebook  |  twitter

55 Bartholomew Close, London, EC1A 7ES United Kingdom | ST Tower, Level 11, Triq Testaferrata, Ta' Xbiex XBX 1405
https://www.pushgaming.com/games/dragon-hopper.html
Reply all
Reply to author
Forward
0 new messages