Moving Chrome devices by serial number to different OUs

22 views
Skip to first unread message

Brett Cavanaugh

unread,
Jul 24, 2025, 12:24:31 PMJul 24
to GAM for Google Workspace
Hey all,

This seems like a silly one likely due to me being very new to pretty much any coding, but why does this command, basically ripped right from documentation, tell me my .csv path is an invalid argument?

gam update ou csvkmd C:\temp\oumove.csv keyfield OU datafield deviceId add croscsvdata deviceId quickcrosmove

As reference, this is the line I took from documentation here.

gam update ou csvkmd cros.csv keyfield OU datafield deviceId add croscsvdata deviceId quickcrosmove

Here's a couple of rows from my .csv file as well, but as far as I can tell, this isn't the source of the problem.

deviceId,OU
<serialnumberhere>,/<oupathhere>
<serialnumberhere>,/<oupathhere>

Thanks in advance!

Ross Scroggs

unread,
Jul 24, 2025, 12:40:22 PMJul 24
to google-ap...@googlegroups.com
That command works wih deviceIds, you have serial numbers
gam csv C:\temp\oumove.csv gam cros_sn "~deviceId" update ou "~OU"

Ross
----
Ross Scroggs



--
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/7d1b87e8-f09f-46e0-a24c-56fd37d67f3an%40googlegroups.com.

Brett Cavanaugh

unread,
Jul 24, 2025, 6:10:52 PMJul 24
to GAM for Google Workspace
Thank you so much! You've been a great resource here and in every other thread!
Reply all
Reply to author
Forward
0 new messages