Reputation: 43
I am trying to authorize my Google App Engine (GAE) Java web application to use Google Big Query (GBQ) service. I have registered a Google business app and domain under xxxxxx.com and I created my GAE app logged in as user in my business space. Then I followed the instructions described here:
https://developers.google.com/bigquery/docs/authorization
======================================
Using App Engine service accounts
The App Identity API provides a means for App Engine apps to identify themselves to Google for server to server API authorization. If you are creating an App Engine application, it's possible to authorize your application's service account to access Google APIs. Typical use cases include public data visualization or dashboard apps that do not require explicit user authorization before making calls to BigQuery.
To allow your App Engine app to make authorized service account calls to the BigQuery API: Copy the App Engine service account name found under the Administration -> Application Settings tab (in the form of [email protected]).
Visit your Google APIs Console project's Team tab, and add the service account name as a project teammate with "Can edit" permissions
================================================
However, when I copy and paste my [email protected] as a teammate , I am greeted with: Only users in domain xxxxxx.com may be added to the project. Why is my GAE app not considered part of my domain, especially since when I go to the GAE admin console, it clearly shows I have created it being logged in as a member of my biz domain???
Thank you.
Upvotes: 1
Views: 597
Reputation: 80330
We had the same problem.
The workaround is to create a group email account (e.g. [email protected]
) on your Apps account and add [email protected]
as a member, then add the [email protected]
under the Team tab in BQ console.
Upvotes: 3