gam command to set calendar time zone setting

596 views
Skip to first unread message

Dan Casmas

unread,
Oct 1, 2021, 5:38:47 PM10/1/21
to GAM for Google Workspace
gam user <Email> show calsettings

Will show the setting but is there a command to set the calendar time zone ?

Jay Lee

unread,
Oct 1, 2021, 5:44:49 PM10/1/21
to google-ap...@googlegroups.com
Unfortunately not. The Calendar API allows you to read these settings but not modify them.

Loving my Beam soundbar btw :-)

Jay Lee


On Fri, Oct 1, 2021 at 5:38 PM Dan Casmas <dan.c...@sonos.com> wrote:
gam user <Email> show calsettings

Will show the setting but is there a command to set the calendar time zone ?

--
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/ec3750c6-2b29-4b7e-acdf-2fa0e52ebc83n%40googlegroups.com.

Dan Casmas

unread,
Oct 1, 2021, 5:52:15 PM10/1/21
to GAM for Google Workspace
I am glad you are enjoying the sound bar!

Ross Scroggs

unread,
Oct 1, 2021, 6:10:38 PM10/1/21
to google-ap...@googlegroups.com
Dan,

gam user <Email> modify calendar primary timezone <TimeZone>


Ross



--

Jay Lee

unread,
Oct 1, 2021, 7:03:05 PM10/1/21
to google-ap...@googlegroups.com
That's modifying the calendar timezone. The question was about the user settings.

Jay

Ross Scroggs

unread,
Oct 1, 2021, 7:25:38 PM10/1/21
to google-ap...@googlegroups.com
Yes, if you have a zillion secondary calendars you'll have to do the command for each one, but don't you wind up where you want to be?

Ross



--

Jay Lee

unread,
Oct 1, 2021, 8:04:32 PM10/1/21
to google-ap...@googlegroups.com
That still won't change the timezone of the user. Not clear which one Dan meant.

GAM can modify calendar settings with:

gam calendar <email> modify timezone <tz>

I've not tested this but I am seeing some suggestions that changing the user's primary calendar will also change the user timezone. I'd suggest doing some testing.

Jay

Jay Lee


Ross Scroggs

unread,
Oct 1, 2021, 8:26:37 PM10/1/21
to google-ap...@googlegroups.com
Jay,

The suggestions are correct.

$ gam user testsimple show calsettings

User: tests...@rdschool.org, Calendar Settings:

...

  timezone: America/Los_Angeles


$ gam user testsimple modify calendar primary timezone America/New_York

User: tests...@rdschool.org, Modify 1 Calendar

  User: tests...@rdschool.org, Calendar: tests...@rdschool.org, Modified


$ gam user testsimple show calsettings

User: tests...@rdschool.org, Calendar Settings:

...

  timezone: America/New_York


$ gam user testsimple modify calendar primary timezone America/Los_Angeles

User: tests...@rdschool.org, Modify 1 Calendar

  User: tests...@rdschool.org, Calendar: tests...@rdschool.org, Modified


$ gam user testsimple show calsettings

User: tests...@rdschool.org, Calendar Settings:

  autoAddHangouts: false

...

  timezone: America/Los_Angeles


Ross




--

Dan Casmas

unread,
Oct 4, 2021, 9:01:06 AM10/4/21
to google-ap...@googlegroups.com
Crazy! I looked for that.

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/MVtOfMF2d5A/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-FQsE1qXbO89L_NUjX4smhqwy0fDZiQSWMnk4umw6CJQ%40mail.gmail.com.


--
Dan Casmas
SONOS | Senior Systems Engineer
Dan.C...@Sonos.com | he/him/his

Dan Casmas

unread,
Oct 4, 2021, 9:07:55 AM10/4/21
to google-ap...@googlegroups.com
My intention was to change the user's time zone. I will do some testing however.
Reply all
Reply to author
Forward
0 new messages