Report on 2-Step Verification by ou

179 views
Skip to first unread message

Adam Forsyth

unread,
Nov 21, 2016, 4:27:27 PM11/21/16
to GAM for G Suite
I can do something like this: ./gam print users fullname lastlogintime ou and print out a list of all of our users and their last login time, and include their ou.

Something like this: ./gam report users filter "accounts:is_2sv_enrolled==true" gets me a report of all users that have enrolled in 2-Step verification.

What I can't figure out how to do is to get both 2-Step verification status and the user's ou into the same report. accounts:is_2sv_enrolled doesn't seem to be a field that gam print can deal with and ou doesn't seem to be something that gam report can deal with.

Can anyone tell me of a way to get both in the same report without having to run both a gam print and a gam report command and then write code or make a spreadsheet that could combine the two?

Ross Scroggs

unread,
Nov 21, 2016, 4:37:24 PM11/21/16
to google-ap...@googlegroups.com
Adam,

It's two reports and you combine them; neither the Directory API nor the Reports API will give you everything you want.

Ross

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/1bdae888-161d-49a3-b329-93521dcdfac9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages