Delete AnnotatedUser

65 views
Skip to first unread message

Chris Lacy

unread,
Jul 1, 2021, 9:56:01 AM7/1/21
to GAM for Google Workspace
Hey everyone, I have about 1400 Chromebooks that I need to remove the AnnotateUser from.

I've tried this command:

gam update cros $Device annotatedUser " "

Which sets the field to a space, but I need it to actually null the field.

Anyone know if this is possible with GAM?

Thanks.

Ross Scroggs

unread,
Jul 1, 2021, 10:35:07 AM7/1/21
to google-ap...@googlegroups.com
Chris,

Set the field to an empty string, not a space.

gam update cros $Device annotatedUser ""

Ross

This is a staff email account managed by Iberia Parish.  This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender.

--
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/573d51d1-28e1-4061-af9f-2e5673943b1dn%40googlegroups.com.


--

Chris Lacy

unread,
Jul 1, 2021, 10:54:34 AM7/1/21
to GAM for Google Workspace
I've tried that, I get this error on GAMADV-XTD3 6.03.02 :

Command: C:\GAMADV-XTD3\gam.exe update cros $device annotatedUser >>><<<

ERROR: Missing argument: Expected <String>

perhaps changed in updates?

Ross Scroggs

unread,
Jul 1, 2021, 10:55:44 AM7/1/21
to google-ap...@googlegroups.com
Chris,

Update to current version.

Ross



--

Chris Lacy

unread,
Jul 1, 2021, 10:57:59 AM7/1/21
to GAM for Google Workspace
Just updated to GAMADV-XTD3 6.04.19

GAMADV-XTD3 issue?

Ross Scroggs

unread,
Jul 1, 2021, 12:17:02 PM7/1/21
to google-ap...@googlegroups.com
Everyone,

Chris is using PowerShell and having an empty argument requires magic.
PowerShell drops empty arguments, e.g., "" and ''. To get an empty argument user `"`"

gam update cros $Device annotatedUser `"`"

Ross


--
Reply all
Reply to author
Forward
0 new messages