listing and adding calendars

79 views
Skip to first unread message

Miguel Pérez

unread,
Nov 2, 2017, 6:14:45 PM11/2/17
to GAM for G Suite
Hi all,

I'm trying to list and add calendars to a list of users but I'm having problems with the simple action of listing:

$gam user user...@domain.com show calendars allcalendars
Calendar: user...@domain.com, Service not applicable/Does not exist

This example user has at least a secondary calendar, so I don't know what I did wrong.

And when I try to batch the adding I get this:

$gam csv export_users.csv gam user ~email add calendars domain.com_...@group.calendar.google.com

And same result here:

Using 1 process...
Calendar: user...@domain.com, Service not applicable/Does not exist

Any ideas?

Thanks in advance!
Miguel

Ross Scroggs

unread,
Nov 2, 2017, 6:45:36 PM11/2/17
to google-ap...@googlegroups.com
Miguel,

Do: gam info user user...@domain.com
Do: gam user user...@domain.com show gmailprofile

Report results

Ross

On Thu, Nov 2, 2017 at 3:14 PM, Miguel Pérez <miguel...@gmail.com> wrote:
Hi all,

I'm trying to list and add calendars to a list of users but I'm having problems with the simple action of listing:

$gam user user...@domain.com show calendars allcalendars
Calendar: user...@domain.com, Service not applicable/Does not exist

This example user has at least a secondary calendar, so I don't know what I did wrong.

And when I try to batch the adding I get this:

$gam csv export_users.csv gam user ~email add calendars domain.com_XXXXXXXXXXXX@group.calendar.google.com

And same result here:

Using 1 process...
Calendar: user...@domain.com, Service not applicable/Does not exist

Any ideas?

Thanks in advance!
Miguel

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/dbed89f5-c4eb-483e-a6b0-dd2822e22fb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Miguel Pérez

unread,
Nov 3, 2017, 3:45:36 AM11/3/17
to GAM for G Suite
Hi Ross,

Thanks for your time here.

Results:
$ gam info user user...@domain.com
  Settings:
    First Name: XXXX
    Last Name: XXXX
    Full Name: XXXX XXXX
    Is a Super Admin: True
    Is Delegated Admin: False
    2-step enrolled: False
    2-step enforced: False
    Has Agreed to Terms: True
    IP Whitelisted: False
    Account Suspended: False
    Must Change Password: False
    Google Unique ID: XXXXXXXXXXXXXX
    Customer ID: XXXXXXXXXXXX
    Mailbox is setup: True
    Included in GAL: True
    Creation Time: XXXXXXXXXXXXXXX
    Last login time: XXXXXXXXXXXXXXX
    Google Org Unit Path: /
    Photo URL: XXXXXXXXXXXXXXX
  Gender:
    type: male
  Organizations:
    customType: work
      department: XXXXXXXXXXXXXXX
      title: XXXXXXXXXXXXXXX
  Groups: (7)
    XXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXX
  Licenses: (1)
    Google-Apps-For-Business (G Suite Basic)

$ gam user user...@domain.com show gmailprofile
User: user...@domain.com, Service not applicable/Does not exist

What does this mean?

Thanks again!
Miguel

On Thursday, 2 November 2017 23:45:36 UTC+1, Ross Scroggs wrote:
Miguel,

Do: gam info user user...@domain.com
Do: gam user user...@domain.com show gmailprofile

Report results

Ross
On Thu, Nov 2, 2017 at 3:14 PM, Miguel Pérez <miguel...@gmail.com> wrote:
Hi all,

I'm trying to list and add calendars to a list of users but I'm having problems with the simple action of listing:

$gam user user...@domain.com show calendars allcalendars
Calendar: user...@domain.com, Service not applicable/Does not exist

This example user has at least a secondary calendar, so I don't know what I did wrong.

And when I try to batch the adding I get this:

$gam csv export_users.csv gam user ~email add calendars domain.com_...@group.calendar.google.com

And same result here:

Using 1 process...
Calendar: user...@domain.com, Service not applicable/Does not exist

Any ideas?

Thanks in advance!
Miguel

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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.



--

Ross Scroggs

unread,
Nov 3, 2017, 7:28:02 AM11/3/17
to google-ap...@googlegroups.com
Miguel,

There are two authentication methods that Google requires, Client and Service Account; it appears that your Service Account authentication is not completely set up.

Do the following command and follow directions: gam user user...@domain.com check serviceaccount

Ross
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 https://groups.google.com/group/google-apps-manager.

Miguel Pérez

unread,
Nov 3, 2017, 10:13:13 AM11/3/17
to GAM for G Suite
Ross,

You made my day! Problem resolved!

Thanks a bunch!

Miguel
Reply all
Reply to author
Forward
0 new messages