Org Unit ID

3,075 views
Skip to first unread message

Ryan Buffa

unread,
Sep 21, 2022, 10:35:59 AM9/21/22
to GAM for Google Workspace
Is there a GAM command to return the Org Unit ID for one or all Org Units?

Walter Moore

unread,
Sep 21, 2022, 11:18:45 AM9/21/22
to google-ap...@googlegroups.com
`gam print orgs' will do it

# gam print orgs
Getting all Organizational Units in Google Workspace account (may take some time on a large account)...
orgUnitPath,orgUnitId,name,parentOrgUnitId



On Wed, Sep 21, 2022 at 10:36 AM Ryan Buffa <rbu...@purepm.co> wrote:
Is there a GAM command to return the Org Unit ID for one or all Org Units?

--
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/1c3c4989-0d1e-47e2-895b-108915f79c59n%40googlegroups.com.


--
+-----------------------------------------------------------------+
Walter R. Moore --  Sr. Systems Administrator, Eckerd College

"It was glorious to see -- if your heart were iron,
And you could keep from grieving at all the pain" - The Iliad (13.355)

***Reminder! ITS will never ask you to e-mail your password!***


Ross Scroggs

unread,
Sep 21, 2022, 11:44:15 AM9/21/22
to google-ap...@googlegroups.com
For a one-off:

gam info org "/Path/to/OU" nousers


Ross




--
Reply all
Reply to author
Forward
0 new messages