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
2 answers

Reports API access for Google Admin

First, I have admin privilege on my domain but I do not have access to security. I am working with my I.T. department, which does have security access, however, everything we've found seems to be enabled on our account. App access control is set…
NMALM
  • 378
  • 2
  • 19
0
votes
1 answer

Google Admin API: Directory - Unable to to clear Recovery Email or Recovery Phone Number

I'm working on a project to automate the steps in the Google Article Maintain data security after an employee leaves and have encountered trouble with automating the step Revoke Recovery Password Access. I'm following the documentation on the Google…
0
votes
1 answer

Manage "Web and Mobile Apps" via REST API

Looking into how to manage (in our case just list and get properties of) the SAML application that we have created via the "Web and Mobile Apps" section of the google console. I don't see any reference to how to get this information from the…
Marc Olin
  • 59
  • 7
0
votes
1 answer

Is it possible to authorize admin service with another user credential?

I would like to write an add-on to GMail via app script that would display some admin directory data. But I want this add-on to work on a different account than my admin account. For example, I daily use my daily-mail@google.com to check emails, and…
mikeyMike
  • 21
  • 4
0
votes
0 answers

Google Service Account access all user drive with single admin token

Hi AllMy application's use case is to Find all the users in my GSuite domain, and For each user, list all the files in his/her drive. I have a Service Account with Domain-wide delegation enabled. To fetch the list of users, I created a JWT with…
Manu
  • 5
  • 5
0
votes
1 answer

Search CSV using values from CSV

I have a CSV that has two Columns a Computer and an action I also have another CSV that has 3 Columns Computer Identifier Serial Number and Device ID. I want to take CSV1 and take Computer column and search for those values in CSV2 and see if its…
0
votes
1 answer

Will be "Domain Shared contacts API" turned down like Contacts API on June 2021?

We received from google-developer email asking us to "Migrate your Contacts API to People API before June 15, 2021, to ensure error-free API calls; API calls will otherwise return 100% errors by December 15, 2021.". Contacts Api…
0
votes
1 answer

Google Directory API Python ETL

I'm trying to build a directory sync ETL for Google Workspace, but I'm getting 403's from the code snippet. from google.oauth2 import service_account from googleapiclient.discovery import build SCOPES =…
poullam7
  • 3
  • 1
0
votes
1 answer

Google Workspace Admin SDK insert member always set type to "USER", how to resolve this?

https://developers.google.com/admin-sdk/directory/reference/rest/v1/members https://developers.google.com/admin-sdk/directory/reference/rest/v1/members (click for image) It doesn't matter what I set "type" field to, in the request. It always sets it…
0
votes
1 answer

Cannot Authorize my Service Account to use the Domain Shared contacts API

I'm trying to impersonate a super admin account to use the shared contacts API to create new contacts in a directory, after using the gdata client library I couldn't authorize my request even tho I used the same method I used to authorize another…
Ahmad Othman
  • 853
  • 5
  • 18
0
votes
1 answer

how to get acess token for google without user login

I use Web server applications to get acess token. It's work but need to acess user login and consent page. Is any way that get the acess token doesn't need user login to the web site? Thanks !!
0
votes
1 answer

Google Report list api is throwing 500

Google Admin report list api suddenly started throwing 500. Have tried from api as well as from SDK and both are throwing GoogleJsonResponseException. after debugging found that if we don't specify eventName filter then it is working but after…
0
votes
1 answer

Firestore on the server side

Is it bad to use the client-side Firestore SDK on the server side? I am building a service that is constantly polling an API and updating a database. I like how it uses the modular approach and how there is an immense supply of documentation it…
0
votes
1 answer

Using Google Admin API (C# / .Net)-- how can I add a first relationship to a user?

I have working code that updates users names and supervisors with data from an HR SQL database. Everything works fine until I try to update the supervisor of a user who doesn't have a manager in Google. The object comes back with the…
Goldilox
  • 15
  • 2
0
votes
1 answer

Authorizing a non admin user to run Admin SDK in Google Apps Script

I'd like to allow a non admin user in our domain to be able to use a Google Sheet which is running code to: List some groups in our organisation Delete/Add users This requires admin rights, so the following code will not run in a non-admin…
Riccardo
  • 2,054
  • 6
  • 33
  • 51