Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Service not applicable / Does not exist : The caller does not have permission

292 views
Skip to first unread message

Gareth Shaw

unread,
Apr 4, 2020, 10:26:38 AM4/4/20
to GAM for G Suite
Hello

I am trying to import my Guardian emails into Classroom via CSV using GAM.

I did this a while (around 12 - 18 months) ago and it worked fine.

Now when I try I get the message as per the title of this questions.

Please help I am at my whits end I have removed / reinstalled GAM and also checked my csv and everything.

I need this to work as soon as possible, due to school closure due to COVID-19 this is way to help parents when it comes to online learning.

Many thanks

Gareth

Gareth Shaw

unread,
Apr 4, 2020, 10:39:44 AM4/4/20
to GAM for G Suite
I am also using GAM and GAMadv-xtd both with the same results. 
Message has been deleted

Gareth Shaw

unread,
Apr 4, 2020, 11:40:23 AM4/4/20
to GAM for G Suite
Hello Ross

Thanks for the Reply

Please see below

I am have SEED ADMIN for my email address. What now ?

G Suite Admin: g...@tea.edu.kw

Expires: 2020-04-04T19:35:47+00:00


garethshaw@Gareths-iMac gamadv-xtd % gam print admins

roleAssignmentId,roleId,role,assignedTo,assignedToUser,scopeType,orgUnitId,orgUnit

704571399733250,704571399733249,_SEED_ADMIN_ROLE,105935717784795956544,@tea.edu.kw,CUSTOMER,,

704571399733254,704571399733249,_SEED_ADMIN_ROLE,117599847622160552783,@tea.edu.kw,CUSTOMER,,

704571399733263,704571399733256,_SERVICE_ADMIN_ROLE,100834997190235490005,g...@tea.edu.kw,CUSTOMER,,

704571399733264,704571399733253,_GROUPS_ADMIN_ROLE,100834997190235490005,g...@tea.edu.kw,CUSTOMER,,

704571399733267,704571399733255,_HELP_DESK_ADMIN_ROLE,100834997190235490005,g...@tea.edu.kw,CUSTOMER,,

704571399733268,704571399733254,_USER_MANAGEMENT_ADMIN_ROLE,100834997190235490005,g...@tea.edu.kw,CUSTOMER,,

704571399733269,704571399733249,_SEED_ADMIN_ROLE,100834997190235490005,g...@tea.edu.kw,CUSTOMER,,

704571399733273,704571399733257,_PLAY_FOR_WORK_ADMIN_ROLE,116717210006933152693,uid:116717210006933152693,CUSTOMER,,

Message has been deleted

Gareth Shaw

unread,
Apr 4, 2020, 12:07:27 PM4/4/20
to GAM for G Suite
HI Ross

Yes, please see below :

garethshaw@Gareths-iMac gamadv-xtd % gam oauth info

Client OAuth2 File: /Users/garethshaw/.gam/oauth2.txt

Client ID: 684849849619-rdgvjjnoast2hjh8g95ju7b4s72fb248.apps.googleusercontent.com

Scopes: 39

  https://apps-apis.google.com/a/feeds/compliance/audit/

  https://apps-apis.google.com/a/feeds/emailsettings/2.0/

  https://sites.google.com/feeds

  https://www.google.com/m8/feeds

  https://www.googleapis.com/auth/admin.datatransfer

  https://www.googleapis.com/auth/admin.directory.customer

  https://www.googleapis.com/auth/admin.directory.device.chromeos

  https://www.googleapis.com/auth/admin.directory.device.mobile

  https://www.googleapis.com/auth/admin.directory.domain

  https://www.googleapis.com/auth/admin.directory.group

  https://www.googleapis.com/auth/admin.directory.orgunit

  https://www.googleapis.com/auth/admin.directory.resource.calendar

  https://www.googleapis.com/auth/admin.directory.rolemanagement

  https://www.googleapis.com/auth/admin.directory.user

  https://www.googleapis.com/auth/admin.directory.user.security

  https://www.googleapis.com/auth/admin.directory.userschema

  https://www.googleapis.com/auth/admin.reports.audit.readonly

  https://www.googleapis.com/auth/admin.reports.usage.readonly

  https://www.googleapis.com/auth/apps.groups.migration

  https://www.googleapis.com/auth/apps.groups.settings

  https://www.googleapis.com/auth/apps.licensing

  https://www.googleapis.com/auth/apps.order

  https://www.googleapis.com/auth/calendar

  https://www.googleapis.com/auth/classroom.announcements

  https://www.googleapis.com/auth/classroom.courses

  https://www.googleapis.com/auth/classroom.coursework.students

  https://www.googleapis.com/auth/classroom.guardianlinks.students

  https://www.googleapis.com/auth/classroom.profile.emails

  https://www.googleapis.com/auth/classroom.profile.photos

  https://www.googleapis.com/auth/classroom.rosters

  https://www.googleapis.com/auth/classroom.topics

  https://www.googleapis.com/auth/cloudprint

  https://www.googleapis.com/auth/contacts

  https://www.googleapis.com/auth/devstorage.read_only

  https://www.googleapis.com/auth/ediscovery

  https://www.googleapis.com/auth/siteverification

  https://www.googleapis.com/auth/userinfo.email

  https://www.googleapis.com/auth/userinfo.profile

  openid


Thanks


Gareth



On Saturday, 4 April 2020 19:05:09 UTC+3, Ross Scroggs wrote:
Gareth,

When you did gam oauth info, was this link included?
On Apr 4, 2020, at 8:40 AM, Gareth Shaw <g...@tea.edu.kw> wrote:

Hello Ross

Thanks for the Reply

Please see below

I am have SEED ADMIN for my email address. What now ?

G Suite Admin: g...@tea.edu.kw

Expires: 2020-04-04T19:35:47+00:00


garethshaw@Gareths-iMac gamadv-xtd % gam print admins

roleAssignmentId,roleId,role,assignedTo,assignedToUser,scopeType,orgUnitId,orgUnit

704571399733250,704571399733249,_SEED_ADMIN_ROLE,105935717784795956544,@tea.edu.kw,CUSTOMER,,

704571399733254,704571399733249,_SEED_ADMIN_ROLE,117599847622160552783,@tea.edu.kw,CUSTOMER,,

704571399733263,704571399733256,_SERVICE_ADMIN_ROLE,100834997190235490005,g...@tea.edu.kw,CUSTOMER,,

704571399733264,704571399733253,_GROUPS_ADMIN_ROLE,100834997190235490005,gsh@tea.edu.kw,CUSTOMER,,

704571399733267,704571399733255,_HELP_DESK_ADMIN_ROLE,100834997190235490005,g...@tea.edu.kw,CUSTOMER,,

704571399733268,704571399733254,_USER_MANAGEMENT_ADMIN_ROLE,100834997190235490005,g...@tea.edu.kw,CUSTOMER,,

704571399733269,704571399733249,_SEED_ADMIN_ROLE,100834997190235490005,gsh@tea.edu.kw,CUSTOMER,,

704571399733273,704571399733257,_PLAY_FOR_WORK_ADMIN_ROLE,116717210006933152693,uid:116717210006933152693,CUSTOMER,,

704571399733274,704571399733249,_SEED_ADMIN_ROLE,105238371573647080147,@tea.edu.kw,CUSTOMER,,On Saturday, 4 April 2020 17:26:38 UTC+3, Gareth Shaw wrote:
Hello

I am trying to import my Guardian emails into Classroom via CSV using GAM.

I did this a while (around 12 - 18 months) ago and it worked fine.

Now when I try I get the message as per the title of this questions.

Please help I am at my whits end I have removed / reinstalled GAM and also checked my csv and everything.

I need this to work as soon as possible, due to school closure due to COVID-19 this is way to help parents when it comes to online learning.

Many thanks

Gareth


The ENGLISH Academy

This e-mail comes to you from The English Academy (TEA). Opinions and thoughts within this message are those of the individual sender and do not necessarily represent those of the management of TEA. 

If you have received this e-mail by mistake, we apologise for any inconvenience caused. Can we ask you not to disclose the information contained within to other parties and to delete it from your computer? Thank you. 

This e-mail and any attachments have been scanned for viruses. Please be aware that the scanner may not detect every virus. It is your responsibility to ensure that you have adequate anti-virus protection. TEA accepts no liability for any loss or damage incurred as a result of downloading any files attached to this e-mail. 

For further information relating to TEA, please have a look a www.tea.edu.kw



--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e1fb7a84-1f17-4af8-86c5-89791c757856%40googlegroups.com.

Message has been deleted

Gareth Shaw

unread,
Apr 4, 2020, 12:14:28 PM4/4/20
to GAM for G Suite
Yes it is 

Screenshot 2020-04-04 at 7.13.02 PM.png



On Saturday, 4 April 2020 19:10:43 UTC+3, Ross Scroggs wrote:
Gareth,

On the admin console, go here: Apps
G Suite
Settings for Classroom
General settings

Is guardian access on?

Ross

Message has been deleted

Gareth Shaw

unread,
Apr 5, 2020, 6:15:35 AM4/5/20
to GAM for G Suite
Hello Kim,

Thanks for your response.

But this would give the caller does not have permission for every single guardian I try to import via CSV ?

Thanks

Gareth

On Sunday, 5 April 2020 11:42:25 UTC+3, +KimNilsson wrote:
@Gareth,

most likely you have one or more Classrooms whose owner/creator account doesn't exist anymore.
GAM can't act on a Classroom unless it's owned by an existing account. Even if it has teacher accounts that exist, if they aren't the actual owner.
If that's the case, there's nothing you can do. The API doesn't allow you do act on such Classrooms.

Find the exact Classroom that's giving you grief and verify that, then exclude that from your command. You will just have to accept that you can't do it via API.
I think perhaps that the secondary teacher can activate Guardians manually, but I don't remember.

Make sure that the deleted teacher isn't still among the Recently Deleted. If it is then you still have a chance. Not sure if a disabled teacher will impair GAM's ability to manage Classroom.

Gareth Shaw

unread,
Apr 5, 2020, 6:17:02 AM4/5/20
to GAM for G Suite
Also Kim,

Can I use GAM / API to list the classrooms and associated teachers ? If so how would I go about doing this, sorry I am just getting to terms with GAM.

Many thanks
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages