Giving Calendar Access to User

3,300 views
Skip to first unread message

Michael Kayal

unread,
Mar 14, 2021, 7:51:46 PM3/14/21
to GAM for Google Workspace
I'm having troubles adding a Google calendar to a user through GAMADV.

I created the calendar in Google Admin Resources, and when I try adding the calendar through GAMADV it's coming up with an error: DOES NOT EXIST.

Here's a screenshot:

Screenshot 2021-03-15 10.19.38 AM.png

Though when I look up the calendar using GAMADV, it shows the details of said calendar - like so:
Screenshot 2021-03-15 10.21.05 AM.png

Why can't I give the calendar to a user?

Brian Kim

unread,
Mar 14, 2021, 8:05:12 PM3/14/21
to GAM for Google Workspace
Try a different syntax.

Message has been deleted
Message has been deleted

Brian Kim

unread,
Mar 14, 2021, 10:26:05 PM3/14/21
to google-ap...@googlegroups.com
The step I described gives edit access to the resource calendar. (Or you can give different role)

For the calendar to be visible for the end user they have to subscribe to the calendar.

gam user <username> add calendar <resourcecalId> selected true


On Sun., Mar. 14, 2021, 8:14 p.m. Michael Kayal, <michae...@southerncrosscare.com.au> wrote:
If I use it this way, will the calendar automatically be added to the users calendar list?
--
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/1LZvK2COJls/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/d4d477b2-03c7-41e6-846d-8033b50c5e9bn%40googlegroups.com.

Peter L.

unread,
Mar 19, 2021, 11:55:06 AM3/19/21
to GAM for Google Workspace
Hello, I am trying to figure out the command to add and/or verify 3 calendars for a user?

Ross Scroggs

unread,
Mar 19, 2021, 12:03:09 PM3/19/21
to google-ap...@googlegroups.com
Peter,

First, you have to give the user access to the calendar.

<CalendarACLRole> ::= editor|freebusy|freebusyreader|owner|reader|writer

gam calendar <CalendarItem> add <CalendarACLRole> <EmailAddress>


Add a calendar the the user's list

gam <UserTypeEntity> show calendars


Show a user's list of calendars 

gam <UserTypeEntity> add calendar <CalendarItem> <CalendarAttribute>*


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/7a02edd0-87fb-4278-9aab-5a915d2f99f5n%40googlegroups.com.


--

Peter L.

unread,
Mar 19, 2021, 12:14:31 PM3/19/21
to GAM for Google Workspace
Thanks Ross, what is <CalendarAttribute>*

Ross Scroggs

unread,
Mar 19, 2021, 12:16:30 PM3/19/21
to google-ap...@googlegroups.com
Peter,

<CalendarAttribute> ::=

        (selected <Boolean>)|(hidden <Boolean>)|(summary <String>)|(colorindex|colorid <CalendarColorIndex>)|(backgroundcolor <ColorValue>)|(foregroundcolor <ColorValue>)|

        (reminder clear|(email|sms|pop <Number>))|

        (notification clear|(email|sms eventcreation|eventchange|eventcancellation|eventresponse|agenda))


There is a file named GamCommands.txt in the same folder as your gam executable; all command definitions/syntax are there.


Ross




--

Peter L.

unread,
Mar 22, 2021, 9:34:09 AM3/22/21
to GAM for Google Workspace
Thanks again
Reply all
Reply to author
Forward
0 new messages