google-admin-sdk

Google Adminsdk Directory API access

北城以北 提交于 2020-04-30 09:21:25
问题 I am trying to get the list of chrome devices registered with the specified customer Id. I have done the following Steps. Enabled Google Admin Directory API Created Service Account and downloaded the jwt.json file for connectivity. Enabled the Domain wide G-Suite Delegation previlige. Registered this client id as authorized API client Thru Google Admin(Manage API client access) Client Id : our clientid API Scope: View and manage your Chrome OS devices' metadata https://www.googleapis.com/auth

GSuite/Cloud Platform - Fixing or Resetting Permissions

自作多情 提交于 2020-04-30 04:27:36
问题 I had created a Google Cloud Platform project and an associated service account for accessing the Directory API in the Admin SDK. After some experimentation I decided to remove that project and the service account and start from scratch. Around that same time I also changed the primary domain on our GSuite account. I believe this combination has screwed up my permissions in the Google Cloud Platform. I'm the only SuperAdmin on our GSuite account, and yet it seems I'm unable to do many things

Google Admin SDK authentication with service account

女生的网名这么多〃 提交于 2020-04-16 08:16:29
问题 My team is currently developing an application to list my company's domain users in GCP, using the Admin SDK, for onboarding and offboarding purposes. We're using a service account to do this and we've have added the admin.directory.user.readonly scope, in the Google Admin's advanced settings, to it. The Admin SDK API is activated and we can see the service account in the Credentials area. When we invoke the https://www.googleapis.com/admin/directory/v1/users endpoint with the parameters

GCP-The App Engine APIs are not available, with py 3

牧云@^-^@ 提交于 2020-03-22 10:27:07
问题 I am trying to consume Admin SDK API from App Engine using a service account with domain wide delegation that allows it to impersonate an admin. I found several guides to do so but no one works as I expect. The code below are deployed into App Engine Standard. main.py from flask import Flask from google.auth import app_engine import google.auth try: import googleclouddebugger googleclouddebugger.enable() except ImportError: pass SCOPES = ['https://www.googleapis.com/auth/admin.directory.user'

GCP-The App Engine APIs are not available, with py 3

半腔热情 提交于 2020-03-22 10:26:36
问题 I am trying to consume Admin SDK API from App Engine using a service account with domain wide delegation that allows it to impersonate an admin. I found several guides to do so but no one works as I expect. The code below are deployed into App Engine Standard. main.py from flask import Flask from google.auth import app_engine import google.auth try: import googleclouddebugger googleclouddebugger.enable() except ImportError: pass SCOPES = ['https://www.googleapis.com/auth/admin.directory.user'

How to authorise a service account to access the Google Admin API

混江龙づ霸主 提交于 2020-03-22 04:54:09
问题 We are trying to create an integration with the Google Admin SDK in order to be able to retrieve, update and create accounts within our domain. However, we keep receiving a 403 error indicating that we are not authorized to access the resource/api. We are using the credentials obtained from a service account which has Domain-wide Delegation of Authority enabled and the following two scopes: https://www.googleapis.com/auth/admin.directory.user.readonly, https://www.googleapis.com/auth/admin

Programmatically Add Domain Alias google apps api PHP

我是研究僧i 提交于 2020-03-06 07:40:17
问题 I have a reseller account with Google Apps For Business. I am using the google-api-php-client SDK for PHP from the GitHub repository: https://github.com/google/google-api-php-client I have already created the customer account as a reseller. I have verified the primary domain using the site verification service. I am trying to add a domain alias to the primary domain for the customers account. I am not seeing any documentation for this process in the API. I know how to do this using the admin

Programmatically Add Domain Alias google apps api PHP

吃可爱长大的小学妹 提交于 2020-03-06 07:39:25
问题 I have a reseller account with Google Apps For Business. I am using the google-api-php-client SDK for PHP from the GitHub repository: https://github.com/google/google-api-php-client I have already created the customer account as a reseller. I have verified the primary domain using the site verification service. I am trying to add a domain alias to the primary domain for the customers account. I am not seeing any documentation for this process in the API. I know how to do this using the admin

Google API/get directory contacts

耗尽温柔 提交于 2020-02-21 14:37:40
问题 I need get list of contacts/phones from google buisness directory listing. I have tried Google Contacts api, it work ok for all contacts under "My Contacts", but not allow show "Directory" contacts. What i have use/how to access thoose contacts(company ones)? 回答1: To add users to the Global Address List (GAL), use the Domain Shared Contacts API. It's similar to the regular Contacts API but is only accessible to admins and has a special URL. 回答2: Note that to get all users on an account is now

Google API/get directory contacts

廉价感情. 提交于 2020-02-21 14:35:25
问题 I need get list of contacts/phones from google buisness directory listing. I have tried Google Contacts api, it work ok for all contacts under "My Contacts", but not allow show "Directory" contacts. What i have use/how to access thoose contacts(company ones)? 回答1: To add users to the Global Address List (GAL), use the Domain Shared Contacts API. It's similar to the regular Contacts API but is only accessible to admins and has a special URL. 回答2: Note that to get all users on an account is now