Deprovisioned devices

1,258 views
Skip to first unread message

Tim Rott

unread,
Aug 25, 2021, 6:04:58 PM8/25/21
to GAM for Google Workspace
There doesn't seem to be a way to delete /remove from the admin console the deprovisioned devises.

Can GAM run a script to get rid of all the devices you NEVER are going to re activate.
Broke, Stolen, Lost, going to sell....


Adam Wanninger

unread,
Aug 26, 2021, 5:33:32 PM8/26/21
to GAM for Google Workspace
I found this on Reddit.  Is it what you are looking for?
"For anyone needing this process for themselves after testing this morning following u/jay0lee advice, this is what I'm planning on doing

Move Senior Grad devices via serial number csv to OU with the Chrome device setting force re-enrollment turned off.

Command to move devices into desired OU: gam csv "FILEPATH" gam update cros query "id:~~serial~~" ou "NEW-OU"

Command to powerwash devices that are in the "NEW-OU": gam issuecommand cros "query:orgunitpath:/NEW-OU" command remote_powerwash doit

The powerwash command will be pending on the device until the next ping and then it will wipe itself.

After that, the only thing left to do is deprovision from your fleet in the console using the original command in this post: gam csv "FILEPATH" gam update cros query:id:~~serial~~ action deprovision_retiring_device acknowledge_device_touch_requirement"

Gabriel Clifton

unread,
Aug 26, 2021, 5:38:36 PM8/26/21
to GAM for Google Workspace
I believe he was wanting to completely remove the device from his console and never see it again.

Tim Rott

unread,
Aug 26, 2021, 5:45:19 PM8/26/21
to google-ap...@googlegroups.com
Thank you for the answers but what Gabriel Clifton said is correct. I would like to completely remove them from the console.



Tim Rott
Systems Engineer
Waco ISD



--
You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/gdqITaLWS8c/unsubscribe.
To unsubscribe from this group and all its topics, 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/00e6118a-4cdf-4c3e-a9bc-6fb50cad183dn%40googlegroups.com.

Gabriel Clifton

unread,
Aug 26, 2021, 5:48:06 PM8/26/21
to GAM for Google Workspace
There is absolutely no way to remove them from your Console. They will be there until Google finally gives in and gives us that option. I guess when people are complaining because they have millions of deprovisioned devices and it is causing the Console to be flakey.

Jay Lee

unread,
Aug 26, 2021, 5:51:10 PM8/26/21
to google-ap...@googlegroups.com
There's no way to remove them completely. The admin console hides deprovisoned devices by default and GAM can exclude them from queries also.

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/6ac6ad06-4c38-4fab-b6d8-49729e7819bcn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages