Secondary Calendar Subscribe

258 views
Skip to first unread message

kushal mohan

unread,
Oct 13, 2021, 9:07:24 AM10/13/21
to google-ap...@googlegroups.com
Hi All,

Does anyone know what's the command to subscribe to a calendar for a user in GAM silently(without sending an email notification)? We just want the calendar subscribed for these users and don't need users listed as "reader" under "sharing and settings"?

Thanks!

Ian Bevan

unread,
Oct 13, 2021, 10:55:10 AM10/13/21
to GAM for Google Workspace
For an OU
gam ou_and_children "/Users/Staff" add calendar <calendarem...@group.calendar.google.com> selected TRUE

For an Individual
gam user user...@email.com add calendar <calendarem...@group.calendar.google.com> selected TRUE

Ross Scroggs

unread,
Oct 13, 2021, 11:48:30 AM10/13/21
to google-ap...@googlegroups.com
Ian's commands will add <calendarem...@group.calendar.google.com> to the user's list of calendars.
You must also add an ACL to <calendarem...@group.calendar.google.com> allowing the user access.
For an OU
gam print users query "orgUnitPath='/Users/Staff'" | gam csv - gam calendar <calendarem...@group.calendar.google.com> add reader user "~primaryEmail" sendnotifications false
For an Individual
gam calendar <calendarem...@group.calendar.google.com> add reader user "us...@domain.com" sendnotifications false

Ross

Disclaimer
Please help to protect the environment by not printing e-mails unnecessarily. The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

--
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/0df723d9-6f65-40e1-b8c4-383ea53db269n%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages