Sharing Calendars Between Google Workspaces

1,964 views
Skip to first unread message

Jovanny Gonzalez

unread,
Jan 24, 2023, 1:00:37 PM1/24/23
to GAM for Google Workspace
Hello,

We wanted to see if something like this would be possible via GAM, since we can't do this through the admin console.

We currently have a situation where we have a Company A and Company B on two separate workspaces. We are going to be merging them soon, but in the meantime we want the users to be able to see each others calendars (free/busy).

This is possible by having each user go in their calendar and share their calendar with the distro list on the other end.

We were hoping to do this for our users on the backend. 

We were given a script that looks like it could be useful, with some needed modified parameters:

 gam csv ~/Downloads/example.csv gam calendar "~Email" add editor user[insert email or distro list] sendnotifications false

Glancing at this script, could something like this be done? 

My knowledge with GAM is close to none, any help would be greatly appreciated.




Ross Scroggs

unread,
Jan 24, 2023, 1:07:10 PM1/24/23
to google-ap...@googlegroups.com
Jovanny,

Looks good; test with a small CSV file.

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/6f7613be-8057-4cd0-983e-7cf37da50f81n%40googlegroups.com.


--

Jay Lee

unread,
Jan 24, 2023, 1:11:35 PM1/24/23
to google-ap...@googlegroups.com
You don't need a dl/group for this, just share each user's calendar with the other domain:

gam calendar us...@domainA.com update read domain domainB.com

Jay Lee


Jovanny Gonzalez

unread,
Jan 24, 2023, 1:23:56 PM1/24/23
to GAM for Google Workspace
Thank you!

I'll definitely test this tonight. I'll probably need to add a modifier so it only shares "see only free/busy".

Don Beck

unread,
Jan 24, 2023, 2:50:13 PM1/24/23
to GAM for Google Workspace
I have the same situation - please post how your test goes.

Jovanny Gonzalez

unread,
Jan 25, 2023, 1:57:59 PM1/25/23
to GAM for Google Workspace
So after testing we ended up with this:

#run on gam project for Company A#
gam csv ~/Desktop/Company A email.csv gam calendar "~Email" add freebusy group [Company B Google Group that has entire org in it] sendnotifications false

#run on gam project for Company B#
gam csv ~/Desktop/[Company B email.csv] gam calendar "~Email" add freebusy group  [Company A Google Group that has entire org in it] sendnotifications false


So we did it this way so the script would read the csv file and grab all employee calendars automatically. All the csv needs is the full emails with the header "Email". We chose to share this with a Google Group instead of individually that way anyone in each org can see each others calendars. We lastly turned off the email notification so everyone wouldn't receive all of the emails that said calendars are now available. So once we run the scripts for both companies all a user has to do is click the "+" button to subscribe to someone's calendar, and they should just be able to search as if Company A and B are one entity.

Peter Long

unread,
May 10, 2023, 1:46:20 PM5/10/23
to GAM for Google Workspace
Jovanny, is your CSV just a single column labeled Email with all user emails? Fairly new to GAM and I'd like to achieve what you do for two domains.

Jovanny Gonzalez

unread,
May 10, 2023, 1:50:03 PM5/10/23
to GAM for Google Workspace
Hey Peter! Yeah, that's correct. I just did a google workspace dump of the OU I wanted. Created a csv with "Email" as the header in column A, and then filled the emails in the same column.
Reply all
Reply to author
Forward
0 new messages