Simple isEnrolledIn2Sv=False not returning

104 views
Skip to first unread message

Alexander Grutza (Alex)

unread,
Nov 3, 2023, 10:33:10 AM11/3/23
to GAM for Google Workspace
Running gamadv-xt3 the following command gives an error 

gam print users query "orgunitpath='/<ouname>'" isEnrolledIn2Sv=False

Returns "command .... >>>isEnrolledIn2Sv=False<<< invalid argument

I'm trying to just get the users in a particular OU that have 2sv not turned on. Perhaps I need to use the gam report functions?

Ross Scroggs

unread,
Nov 3, 2023, 10:35:52 AM11/3/23
to google-ap...@googlegroups.com
The whole query needs to be quoted:
gam print users query "orgunitpath='/<ouname>' isEnrolledIn2Sv=False"

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/8e0ec39d-fbfd-4bd5-9365-378cc0d59f58n%40googlegroups.com.

Alexander Grutza (Alex)

unread,
Nov 3, 2023, 10:40:03 AM11/3/23
to GAM for Google Workspace
Out of all the formats I tried, the one that works is always the one I did not try haha

Thanks Ross!

Kim Nilsson

unread,
Nov 5, 2023, 5:37:36 PM11/5/23
to GAM for Google Workspace
It's exactly the same with lost keys.
They are always in the last place you look! :-)
Reply all
Reply to author
Forward
0 new messages