Change calendar sharing options for all existing calendars

1,037 views
Skip to first unread message

Edara Cloud

unread,
Apr 1, 2014, 6:34:27 AM4/1/14
to google-ap...@googlegroups.com
Hello,


I would like to set calendar sharing options to Only free/busy information (hide event details) for all existing calendars.


Regards,
Edara

Yves Mainville

unread,
Apr 29, 2014, 9:50:04 AM4/29/14
to google-ap...@googlegroups.com
I have written a short bash script to do this, but still no luck... no error messages or anything. Not sure what I am missing of if in fact there is a bug.

I can do all the other operations via script (create groups, add users to groups, delegate accounts, etc.) but I cannot set a basic "no share" on all the calendars in the domain.

Any suggestions?

I am executing (via a loop in a bash script) the following commande:
gam calendar bob@example.com delete user domain

Yes, no matter what I try and do, all my calendars still have :


  Scope domain - mydomain.com

  Role: freeBusyReader


Any pointers?
Message has been deleted

Yves Mainville

unread,
Apr 30, 2014, 10:22:30 PM4/30/14
to google-ap...@googlegroups.com
damn.
I _finally_ got  GAM3OAuthServiceAccountSetup  this running, thanks to this post and thought it would resolve my problem with deleting the domain user from a user's calendar ACL... but alas, no go.

Thoughts anyone as to how I can successfully execute :

gam calendar some...@domain.ca delete user domain

and not get this bit:

  Scope user - some...@domain.ca

  Role: owner


  Scope domain - domain.ca

  Role: freeBusyReader


Does this particular command work for anyone?

Jay Lee

unread,
May 1, 2014, 8:30:50 AM5/1/14
to google-ap...@googlegroups.com
Try:

gam calendar some...@domain.ca delete domain domain.ca domain.ca

where domain.ca is your Google Apps primary domain (and yes it's repeated twice). There's a syntax issue I'll need to fix in the next release here.


Regards,

Jay Lee
Director, Apps Deployments   |  Dito
☎ (267) 712-9533  |  ✉ j...@ditoweb.com

  


--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/a339d07f-26f7-4102-b23e-488a156f5476%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Yves Mainville

unread,
May 8, 2014, 6:34:50 PM5/8/14
to google-ap...@googlegroups.com, j...@ditoweb.com
Hi Jay.

Tried the command as you state it with the double domain... still no calendar update love.


MBP13YM:_gam mainer$ gam calendar some...@somedomain.ca delete user domain somedomain.ca somedomain.ca

MBP13YM:_gam mainer$ gam calendar some...@somedomain.ca showacl

  Scope user - some...@somedomain.ca

  Role: owner


  Scope domain - somedomain.ca

  Role: freeBusyReader

Open to any other suggestions...


Le jeudi 1 mai 2014 08:30:50 UTC-4, Jay Lee a écrit :
Try:

gam calendar some...@domain.ca delete domain domain.ca domain.ca

where domain.ca is your Google Apps primary domain (and yes it's repeated twice). There's a syntax issue I'll need to fix in the next release here.


Regards,

Jay Lee
Director, Apps Deployments   |  Dito
☎ (267) 712-9533  |  ✉ j...@ditoweb.com

  


On Wed, Apr 30, 2014 at 10:22 PM, Yves Mainville <main...@cscprovidence.ca> wrote:
damn.
I _finally_ got  GAM3OAuthServiceAccountSetup  this running, thanks to this post and thought it would resolve my problem with deleting the domain user from a user's calendar ACL... but alas, no go.

Thoughts anyone as to how I can successfully execute :

gam calendar some...@domain.ca delete user domain

and not get this bit:

  Scope user - some...@domain.ca

  Role: owner


  Scope domain - domain.ca

  Role: freeBusyReader


Does this particular command work for anyone?

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.

To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.

Grant

unread,
May 28, 2014, 11:54:15 PM5/28/14
to google-ap...@googlegroups.com, test...@edaracloud.com
Hi Yves,

Looks like you nearly had it right: gam calendar some...@somedomain.ca delete domain somedomain.ca somedomain.ca
Note that there is no 'user' between delete and domain

Grant.

MikeP1

unread,
Dec 15, 2015, 8:32:01 AM12/15/15
to Google Apps Manager
Was this ever figured out? I'm trying to change sharing options for all current users from share everything to show only free/busy info. I don't see any documentation in GAM Wiki to do this, is it possible?
Reply all
Reply to author
Forward
0 new messages