Query for users missing "Building id"

27 views
Skip to first unread message

Matthew Shirley

unread,
Oct 1, 2025, 3:19:49 PM (4 days ago) Oct 1
to GAM for Google Workspace
I've been trying any commands I can find that will query users based on location type building:id. Does anyone have a query that will find any users missing their building id or "isblank"?

Ross Scroggs

unread,
Oct 1, 2025, 3:40:23 PM (4 days ago) Oct 1
to google-ap...@googlegroups.com
There is no query.

Try this:
gam config csv_output_row_filter "locations.0.buildingId:regex:^$" redirect csv ./NoBuildingUsers.csv  print users location

Ross

On Wed, Oct 1, 2025 at 12:19 PM Matthew Shirley <mshi...@central.k12.or.us> wrote:
I've been trying any commands I can find that will query users based on location type building:id. Does anyone have a query that will find any users missing their building id or "isblank"?

--
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/60f80bfc-d311-4f95-8779-59ceb48a458an%40googlegroups.com.


--

Matthew Shirley

unread,
Oct 1, 2025, 5:08:13 PM (4 days ago) Oct 1
to GAM for Google Workspace
sorry, it is creating a csv, but all columns are blank, except "primaryEmail"
Reply all
Reply to author
Forward
Message has been deleted
0 new messages