On Wed, Aug 14, 2013 at 7:47 AM, N <cloud.srini...@gmail.com> wrote:

> I'm working on a GWT RPC application, a sample migration Tool. which is
> supposed to migrate all the users info like calendar, mails, contacts etc.
> to a Google account.
> I've set the scope for admin to "https://www.googleapis.com/
> auth/admin.directory.orgunit";
>
> I'm getting the following error.
> "error": {"errors": [{"domain": "global", "message": "Insufficient
> Permission"
> }], "code": 403,"message": "Insufficient Permission"}}
>



The admin scope you listed is meant for organization-as-a-whole-unit
operations. Try asking for user permissions such as *
https://www.googleapis.com/auth/admin.directory.user*, group permissions
with *https://www.googleapis.com/auth/admin.directory.group*, and device
permissions with *
https://www.googleapis.com/auth/admin.directory.device.chromeos* and *
https://www.googleapis.com/auth/admin.directory.device.mobile*.
Also, which API calls are resulting in that error?


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to