Set org unit when creating new ueser

27 views
Skip to first unread message

Marty Samuels

unread,
Dec 5, 2023, 10:58:45 AM12/5/23
to GAM for Google Workspace
Hi there,

I am using this command to create a new user:

gam create user ne...@domain.com firstname Newby lastname Starter password ‘Password123’

Is it possible to add anything to this command to set the Organisational Unit or does this need to be done after the user has been created?

Thanks

Ross Scroggs

unread,
Dec 5, 2023, 11:02:26 AM12/5/23
to google-ap...@googlegroups.com
See: https://github.com/taers232c/GAMADV-XTD3/wiki/Users#create-a-user
Scroll down to <userBasicAttribute>

gam create user ne...@domain.com firstname Newby lastname Starter password ‘Password123’ ou '/Path/to/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 on the web visit https://groups.google.com/d/msgid/google-apps-manager/c30bc162-4cbb-43f4-8a45-6d72fcd7acfen%40googlegroups.com.

Marty Samuels

unread,
Dec 5, 2023, 11:59:14 AM12/5/23
to GAM for Google Workspace
Thank you
Reply all
Reply to author
Forward
0 new messages