Updating User Schema using GAM

224 views
Skip to first unread message

Pirooz Jolani

unread,
Jan 10, 2022, 11:28:12 PM1/10/22
to GAM for Google Workspace
Hi all,
is there a GAM update limitation to only allow schema updates to a single value field?
I am adding class numbers using the command below:

gam update user us...@company.com Courses.CourseID3 6299-99_sp22

when the CourseID3 is set to a single value the command executes with no issues, but when set to multi-value, I get:

ERROR: 400: Invalid Input: custom_schema - invalid

Is there a different command to use for multivalue?

Thank you in advance,
Pirooz

Ross Scroggs

unread,
Jan 10, 2022, 11:43:33 PM1/10/22
to google-ap...@googlegroups.com
Pirooz,

When you have a multi-value field do:
gam update user us...@company.com Courses.CourseID3 multivalue 6299-99_sp22

Ross

--
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/b5bb2353-697e-450c-87ef-654a8867fd93n%40googlegroups.com.

Pirooz Jolani

unread,
Jan 11, 2022, 9:33:00 AM1/11/22
to google-ap...@googlegroups.com
Thank you Ross.  Is there a way to remove one of the multivalue entries instead of updating the field OR removing the entry from the single value field?  If there is a guide I can reference please let me know.

Thanks for your help
Pirooz

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/wyGLJqh3eIg/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/EA65EA27-9814-48DD-A451-DD9E4FB104A5%40gmail.com.
Reply all
Reply to author
Forward
0 new messages