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

redirect_uri_mismatch error while creating a classroom through google classroom API

I am trying to use Google classroom API's to integrate into a product. For that I have created a project in developer console and also created oAuth credentials. Downloaded the client secret json file. I am trying to create a class in Google…
0
votes
1 answer

Get last Security Checkup date (Google Apps for Business)

If you go to Google's Account Security page, you can see your own security checkup date: How can I: Get a list of the last security checkup date, for all users Or alternatively, force certain users to go through the security checkup next time…
ffghfgh
  • 294
  • 3
  • 14
0
votes
1 answer

Google API Domain Admin Access

I'm working on a script using Python that will access all students' Google calendars using their Google accounts and then add their school schedule into their calendar. I have figured out adding and deleting events and calendars using the API, but…
Greg B.
  • 1
  • 3
0
votes
2 answers

How to filter mobile devices by list of e-mail address

I'm working with the Google Admin SDK Directory API, more specifically with Mobile Devices. I already used the tool provided by Google here and also created a program using the .Net client library to get all devices with success. The problem is, I…
jpgrassi
  • 5,482
  • 2
  • 36
  • 55
0
votes
1 answer

Argument 1 passed to Google_Service_Directory_Groups_Resource::insert must be an instance of Google_Service_Directory_Group,

I am trying to create a group using google directory api. But i am getting this error Catchable fatal error: Argument 1 passed to Google_Service_Directory_Groups_Resource::insert() must be an instance of Google_Service_Directory_Group, array…
Hitesh
  • 57
  • 6
0
votes
1 answer

How to check administrator of google apps domain?

I am using google oauth in my application, and I need to find out if that user is the admin of that domain. How do I do that?
0
votes
1 answer

Import Google API JSON file to Elasticsearch

I'm totally new with ELK stack and especially with ES. I'm trying to import a JSON file which I got using Google Admin SDK API and I want to import it to Elasticsearch. So far this is the JSON structure of my data: { "kind":…
0
votes
1 answer

How to apply filters to exclude 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
1 answer

JSON output from Google Drive admin SDK activity.list()

I'm working on collecting users activity logs from Google Drive's Admin SDK. So far I did a python script and I'm getting some activity results in JSON format. But still, the format itself is not the one I'm looking for and here is an…
Felz
  • 7
  • 1
  • 3
0
votes
0 answers

Dump of GAFE Admin settings?

For an instance of GAFE, is it possible to programmatically do a dump of the complete configuration, capturing all of the settings available via the Admin console?
0
votes
1 answer

POST request for Google Admin SDK in Javascript/Jquery

Trying to add aliases to users using post request to Directory (Admin SDK). I know that the JS client libraries is still in beta, but it's the simplest solution for what I have to do. The below returns a 401 error. My credentials are just fine on…
0
votes
1 answer

Google API gives login error when adding member to a group using admin sdk api

I am using Simple Http request of google api to add a member in a group I had set up a new project in my google admin console and have a key, clientid, client secret, service account name and after that I write this code to add a member to a group.…
Aashi
  • 389
  • 1
  • 9
  • 20
0
votes
1 answer

Existence of an email id in a domain

How to check a Google app account is present in a domain or not using Google app script (with email id)? I would like to reset the password of accounts in my domain. Before that i need to check if those accounts exists in my domain or not. So with a…
Kanchan
  • 65
  • 2
  • 11
0
votes
1 answer

DoubleClick Bid Manager API not updating the line items

I am downloading line items from DBM, modifying them and uploading them again to DBM. Once uploaded, if I download and view them again, I am not able to see the modifications. There is no error in the code and the API also is not returning any…
0
votes
1 answer

How to create google user account in NodeJS?

I am trying to create Google accounts using NodeJS and return the GoogleID to a file in the working directory. I have a JSON file created in my working directory and I also have the Auth credentials saved there as well. I can read in the JSON but am…