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

How to negate some users while retrieving users from Google Apps

I can apply the filter to get the specific users while retrieving all the users based on givenName, familyName and email attributes. But the requirement is to apply the filter such that it excludes some users while retrieving all the users e.g i…
0
votes
2 answers

Error to create user with API Google Admin-sdk

I have the following code which me serves to get information such as mailing list etc ... But when I try to create a new mails (user) I get the following error, hope you can help me I tried to find more information but only find old api . This is…
0
votes
1 answer

List of user from the Secondary Domain in Google Apps

I create a script to get all the users in one SpreadSheet, Name and Email, but I'm not able to get the users that are created under the secondary domain. This is my code: function writeToSpreadsheet(){ var values = [], users = [], …
Charlie_
  • 303
  • 1
  • 3
  • 7
0
votes
1 answer

Google Groups Audit Email

is it possible to audit google groups mails? I would like to know when the last time someone write to a google group. Email Log Search is nice but i cant find this in any Google API. Or something like Account Activity for Google Groups. Regards
Taaut
  • 437
  • 4
  • 15
0
votes
2 answers

How to recognise an existing Google OAuth authentication made via Firebase and perform a Google Directory API request in Angular 2?

I want to use my existing authentication and be able to use that same authentication to perform a get request to the Google Directory API. Here's my current code: login() { this.firebaseRef = new Firebase('https://xxx.firebaseio.com'); …
0
votes
1 answer

Accessing list of groups along with user's role

I want to get a list of groups where i have member access and also i want to know which role I have in those Google groups. for example, assume a user is a member of 70 groups. Through admin console I can check which role is assigned to that…
0
votes
1 answer

Is it possible to use the Google Admin SDK to remove/disable two-factor authentication & app-specific passwords and, if so, how?

I've looked through the documentation; I can find out how to revoke the backup codes but I can't see an option to explicitly disable two-factor authentication or to revoke any app-specific passwords. Thanks. Philip
Philip Colmer
  • 1,426
  • 2
  • 17
  • 30
0
votes
1 answer

how to list the messages of a certain number of users with admin SDK?

Is it possible that an administrator of domain acceded to the list of the messages of the users to be able to see the quantity of sent and received messages, together with the information of addressee and sender?
0
votes
2 answers

Reset password of a user in Google Apps

How to reset password of a Google App user using Google App script/Python/Java script. I know it can be done using GAM, I want to know if its possible through above…
Kanchan
  • 65
  • 2
  • 11
0
votes
0 answers

Get Email Status from Google in Java

I am working on an application that is authenticated by Google for the login part. The application is on AngularJS and is managed by Java RESTful services. The domain that we are using is managed by Google. The requirement is that I need a service…
0
votes
0 answers

Chromebook unique identifier in enterprise setting

I'm looking for a way in a chrome extension/app to retrieve a unique identifier for a device. I've found this API: https://developer.chrome.com/extensions/enterprise_deviceAttributes but I don't want to have to put everyone on the dev channel.…
0
votes
0 answers

"Google Admin SDK in C#" No department adds

Good morning I am using the "admin SDK" for creating accounts in C # .Net, but at the time of shipment of the organization or address does not add the user if created but does not add this information, leave the code I'm using. var service1 = new…
0
votes
1 answer

AdminSettings API using service account in a C# Console application

I'm trying to use the Google Admin Settings API with a Service Account with no success from a C# Console application. From what I've understood, I first have to get an OAuth token. I've tried 2 methods successfully for this: using…
Ryan
  • 477
  • 5
  • 12
0
votes
1 answer

Unable to receive Google reports api push notifications

We have an application where in we need to notify a URL whenever a new user is created in the Google Apps Domain. The notifying url is https://projectId.appspot.com/userWatcher. Have verified the domain in the app engine console as…
0
votes
1 answer

API User Usage Report: Inconsistent Reporting

I'm using a JVM to perform API calls to the Google Apps Administrator API. I've noticed with the User Usage Reports, I'm not getting complete data when it comes to a field I'm interested in (num_docs_externally_visible) and the fields which form…