Questions tagged [google-admin-sdk]

Use for questions about using APIs and services that are part of the Google (G Suite) Admin SDK, platform for developers that write applications to manage G Suite domains, migrate from and integrate with existing IT infrastructure, create users, update settings, audit activity, and more.

About

The Google (G Suite) Admin SDK allows developers to write applications to manage Google Apps domains, migrate from and integrate with existing IT infrastructure, create users, update settings, audit activity, and more.

Use for questions

About APIs and services that are part of the G Suite Admin SDK

Do not use for questions

About general interaction with Google APIs, use instead.

Admin SDK APIs

: Admin Settings API
: Alert Center API
: Directory API
: Domain Shared Contacts API
: Email Audit API
: Enterprise License Manager API
: Groups Migration API
: Groups Settings API
: GSuite Email Audit API
: GSuite Reseller API (former Enterprise Apps Reseller API)
: Reports API

Deprecated APIs

  1. Email Migration API on November 1, 2015
  2. Email Settings API on October 16, 2019
1554 questions
0
votes
1 answer

Not able to call directory APIs

we would need to integrate with GSuite API to retrieve the group members and the user details of them by a daily job. I've followed the guide and: setup a service account enabled "Admin SDK" at "Google Cloud console" checked "Enable API access" at…
Anita
  • 119
  • 5
0
votes
1 answer

Not able to upload certain parameters like emails and phones while inserting users with gsuite admin sdk > directory api (python)

While creating gsuite user using directory api (python lib: google-api-python-client), values of certain parameters,viz., "emails", "externalIDs", "phones", "organisations", "gender", and all others that do not have simple string values, but rather…
0
votes
0 answers

Google EntitiesUsageReport API

Has anyone used the EntitiesUsageReport API? I am looking to use the gplus_communities entity type via the Advanced Google Services in Google Apps Script. See example: https://developers.google.com/apps-script/advanced/admin-sdk-reports I have used…
AlexMc
  • 1
0
votes
1 answer

Authenticating to the Google Admin Directory API

I'm trying to figure out how to authenticate to the Admin Directory API. My goal is to be able to create new GSuite users. I have followed this guide https://github.com/jay0lee/GAM/wiki/CreatingClientSecretsFile to setup a client/id secret and…
jimjam
  • 85
  • 1
  • 7
0
votes
1 answer

Google Admin SDK unauthorized client PHP after 1 time works perfectly

Need help with Google admin SDK. I'm a newbie to google admin SDK. So I am stuck on its showing error while authorizing like: { error: "unauthorized_client", "error_description": "Client is unauthorized to retrieve access tokens using this…
Zubair Sultan
  • 43
  • 2
  • 7
0
votes
1 answer

Batch Delete Domain Shared Contacts With PHP

I am using Google API PHP Client Library v2.1.3 I am following the documentation for Domain Shared Contacts I am following the batch processing guidelines for delete Here is the logic I'm using: $xmlBuild = "
Morfinismo
  • 4,985
  • 4
  • 19
  • 36
0
votes
0 answers

GSuite: Difference between Managing API client access and Whitelisting connected apps

I want to enable an application developed by third-party using admin console. I find two options which do want I am looking for. Two options are "Managing API client access" and "Whitelisting connected apps". But I am unable to understand the…
Kiran
  • 499
  • 2
  • 6
  • 17
0
votes
1 answer

Google Admin SDK getting 403 Insufficient Permissions error

I've created a service account and given it's client ID the scope https://www.googleapis.com/auth/admin.directory.group When I run the following code, I get a 403 error: Insuffient Permission. = PHP 5.4 require_once(__DIR__ .…
0
votes
1 answer

G Suit - Token Validation like unprotect

I have an G-Suite Account..I have created a project in developer console. In that i have chosen the Oauth client Id credential for Application Type (Others). I have received client secret and Client ID..... Using this i have tried the sample mvc…
0
votes
0 answers

Trying to find a list of active users on ChromeOS Devices

We have a list of ChromeOS Devices assigned to a group of people. Every user needs to login onto their ChromeOS machine with their Google account. I can find all devices where a given user has been signed on, but I cannot find the exact time they…
0
votes
1 answer

How can I impersonate an admin user from Google API in Javascript?

I am trying to make a request for gapi.client.directory.users.list with the following parameters: 'customer': 'my_customer', 'maxResults': 100, 'orderBy': 'email' getting a success result when my account is an admin of the domain. When I do the…
0
votes
1 answer

google admink reports api disabled_reason

Today (October 24, 2017) the reports api stopped returning the disabled_reason field. I have a program that uses GAM (google apps manager) to generate a report on all of our user accounts and then parses the disabled_reason field (…
0
votes
1 answer

How do I get a list of and perform actions on "Chrome devices for meetings" from the GSuite Admin Directory API?

I've found the API for managing Chrome Devices (https://developers.google.com/admin-sdk/directory/v1/guides/manage-chrome-devices) but its list operation does not return any of my "Chrome devices for meetings" which are in a separate menu in the…
jtolds
  • 3,341
  • 3
  • 17
  • 14
0
votes
0 answers

Where I can see tokens of native google apps

On this page: https://developers.google.com/admin-sdk/directory/v1/reference/tokens/list I can see all tokens from applications that installed on my devices , that authenticate to google services , however I don't see here tokens of native google…
0
votes
1 answer

How can I search users by id

Correct me if I'm wrong but it appears that the admin-sdks's Users>list operation doesnt support searching users by ID (According to the docs here). For example I use the Members api to get all the members of a given group. It returns a list or User…
Grim
  • 937
  • 10
  • 24