query syntax

27 views
Skip to first unread message

Roberto Felloni

unread,
May 6, 2026, 5:56:48 AM (12 days ago) May 6
to GAM for Google Workspace
Good morning.
How should a query be written that wants to locate a specific team drive only if it is within a specific OU?

gam print shareddrive query "orgUnitId='<orgUnitRootID>' (teamdrive='<teamdrivename>')"

or

gam print shareddrive query "orgUnitId='<orgUnitRootID>' (teamdriveid='<teamdriveid>')"

Both return "Invalid Value"

or ??

Is there any documentation on the "query" syntax?

Thanks in advance

Jay Lee

unread,
May 6, 2026, 6:15:33 AM (12 days ago) May 6
to google-ap...@googlegroups.com
See Google's docs on the query parameter at:


Jay Lee

--
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/3819574e-2ece-459f-b502-5b4dfe72c08cn%40googlegroups.com.

Roberto Felloni

unread,
May 6, 2026, 6:54:56 AM (12 days ago) May 6
to GAM for Google Workspace
thanks Jay
SOLVED

Reply all
Reply to author
Forward
0 new messages