Need to add a custom attribute and it's value to all users

156 views
Skip to first unread message

Christian Holton

unread,
Feb 3, 2025, 2:27:20 PM2/3/25
to GAM for Google Workspace
Hello,

My apologies if this has already been asked. If so, kindly point me to the previous conversation.

I need to add a custom attribute "zoomCompanyName" and it's attribute value "PortX, Inc." to all of our 150+ users and Google support can't tell me how to do it. I'm relatively new to GAM, but it's working flawlessly for the few operations I've used it for. 

Any advice would be super helpful.

Cheers,
Christian

Ross Scroggs

unread,
Feb 3, 2025, 2:29:35 PM2/3/25
to google-ap...@googlegroups.com
Send me a private Meet/Zoom invitation, we'll get the solution and publish it.

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/94618296-95bb-4471-8176-24755cc385acn%40googlegroups.com.

Jay Lee

unread,
Feb 3, 2025, 2:29:38 PM2/3/25
to google-ap...@googlegroups.com
Try setting the schema up in the admin console as you want it and then set the value for one user. After that show the output of:

gam info user your...@example.com

Jay Lee


--

Christian Holton

unread,
Feb 3, 2025, 2:39:11 PM2/3/25
to google-ap...@googlegroups.com
Hi Jay and Ross,

I have manually set the value on my own user. This is the part of the output that is of interest.

Screenshot 2025-02-03 at 11.38.27 AM.png

Jay Lee

unread,
Feb 3, 2025, 2:40:44 PM2/3/25
to google-ap...@googlegroups.com
Try:

gam print users | gam csv - gam update user ~primaryEmail ZoomAttribs.companyName "Portx, Inc."

Jay Lee


Christian Holton

unread,
Feb 3, 2025, 2:43:40 PM2/3/25
to google-ap...@googlegroups.com

Christian Holton

unread,
Feb 3, 2025, 2:44:39 PM2/3/25
to google-ap...@googlegroups.com
Screenshot 2025-02-03 at 11.44.01 AM.png

Jay Lee

unread,
Feb 3, 2025, 2:48:26 PM2/3/25
to google-ap...@googlegroups.com
Try:

gam print users | gam csv - gam update user '~primaryEmail' ZoomAttribs.companyName "Portx, Inc."

zsh interprets the ~ automatically so you need to put it in quotes so it leaves it alone.

Jay Lee


Christian Holton

unread,
Feb 3, 2025, 2:52:39 PM2/3/25
to google-ap...@googlegroups.com
That worked! Thanks. Now I just need to make sure Google sends that info to Zoom when we launch Zoom.

Reply all
Reply to author
Forward
0 new messages