Add calendars to subscribed list

47 views
Skip to first unread message

Nikolay G

unread,
Oct 19, 2022, 6:44:16 AM10/19/22
to GAM for Google Workspace
I am trying to set up calendars from multiple users to be shared with one dedicated user.

So far I managed to share the calendars with the user using
gam calendar csvfile calendars.csv:calendar add editor|owner <user email>

but the calendars are not showing in the Calendar web interface. Is it possible for all those users calendars to show on the dedicated one?

Nikolay G

unread,
Oct 19, 2022, 10:31:23 AM10/19/22
to GAM for Google Workspace
I managed to sort that out by using the batch command and adding all gam commands in it and running

the commands in the batch-file.txt file were:
gam user <user1> add calendar <user2> selected false
paste each command on a new line and change the user2 (the user from which you get the calendar)

Then used 
gam batch <batch-file.txt>

Let me know if there was a more simple way to do it and I didn't overcomplicated it. Thank you !

Ross Scroggs

unread,
Oct 19, 2022, 10:50:05 AM10/19/22
to google-ap...@googlegroups.com
Nikolay,

Another approach:
Make a CSV file ShareCals.csv with two columns: User,ShareUser
User,ShareUser
...

gam csv ShareCals.csv gam user "~User" add calendar "~ShareUser" selected false

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/1f993191-eb49-4112-9571-40d3865920acn%40googlegroups.com.


--

Nikolay G

unread,
Oct 19, 2022, 10:52:51 AM10/19/22
to google-ap...@googlegroups.com
Thanks Ross,

I will save that script for future use.

Kind Regards,



Nikolay G

Google Workspace Technical Manager

Google Cloud Premier Partner - Middle East & Africa
nik...@kaitec.com | +359 88 3391 355www.kaitec.com





Kaitec LLC is a certified Google partner and a limited liability company registered in the United Arab Emirates (UAE) and is authorized and regulated by the Laws of Sharjah Media City Free Zone and the UAE, with registered number 2008158.01.

This email (including all attachments) is intended for the named addressee. It is confidential and may be privileged. If you have received it in error, please contact us immediately and then delete it. You should not disclose its contents to any other person. 

Our bank account details will be provided to you when necessary, and you will be informed by letter if these change. Please do not reply to or act upon any email you receive purporting to advise you that our bank account details have changed and if you do receive any such communication, please telephone us and speak to your contact at our office. We will also require independent verification of changes to any account to which we are asked to send money.

Americas   |   Europe   |   Middle East   |   Asia Pacific




You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/dMFLqse-Kvk/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAJkvRS_8BXyxmVXkfiYA0Ryu_YowN%2BzgF4Z9XOX4uPwV0CBDQg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages