Show domain acls for all calendars in our instance?

247 views
Skip to first unread message

Ian Crew

unread,
Nov 2, 2021, 2:56:32 PM11/2/21
to GAM for G Suite
Hi all:

I’m trying to find a way to duplicate a list of all users in our domain, and what their domain-wide setting is for their calendar.

The closest I’ve gotten so far is gam calendars ic...@berkeley.edu info acls domain:berkeley.edu, but that only shows me, and split across two lines, like:
Calendar: ic...@berkeley.edu, Show Info 1 Calendar ACL
  Scope: domain:berkeley.edu, Role: freeBusyReader

In an ideal world, I’d get something along the lines of a CSV like:
User,Domain:berkeley.edu
ic...@berkeley.edu,freeBusyReader

(and so on)

Any tips would be most appreciated!

Thanks,

Ian

 

Ian Crew

Solutions Architect
Productivity & Collaboration Services
Information Services and Technology

Ian Crew

unread,
Nov 2, 2021, 3:15:12 PM11/2/21
to GAM for G Suite
Gah—a confusing scrambled first line of that email. I meant to say:

I’m trying to find a way to dump a list of all users in our domain, and what their domain-wide setting is for their calendar.

Sorry,

Ian

Ross Scroggs

unread,
Nov 2, 2021, 4:04:06 PM11/2/21
to google-ap...@googlegroups.com
Ian,

Serial:
gam redirect csv CalSettinngs.csv all users print calsettings

Parallel:
gam config auto_batch_min 1 redirect csv CalSettinngs.csv multiprocess all users print calsettings

Ross

--
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/D0448458-202C-4D71-BDA1-07668B6AAFC0%40berkeley.edu.


--

Ian Crew

unread,
Nov 3, 2021, 11:35:16 AM11/3/21
to GAM for G Suite
Thanks Ross!

Unfortunately that output doesn’t seem to include the information I need. The fields I’m seeing in that output are:
  • User
  • autoAddHangouts
  • dateFieldOrder
  • defaultEventLength
  • format24HourTime
  • hideInvitations
  • hideWeekends
  • locale
  • remindOnRespondedEventsOnly
  • showDeclinedEvents
  • timezone
  • useKeyboardShortcuts
  • weekStart

What I’m looking for is the ACLs for the “domain" scope for each calendar. For example, for my calendar, I’ve got the scope "domain:berkeley.edu” set to “freeBusyReader”. I’d like to gather that same piece of info for all 180K of my users.

Thanks,

Ian

Ross Scroggs

unread,
Nov 3, 2021, 12:43:32 PM11/3/21
to google-ap...@googlegroups.com
Ian,

Ahh, you want ACLs.
Serial:
gam redirect csv CalACLss.csv all users print calendaracls primary

Parallel:
gam config auto_batch_min 1 redirect csv CalACLs.csv multiprocess all users print calendaracls primary

Ross

Ross



--
Reply all
Reply to author
Forward
0 new messages