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

Google Admin SDK Report API - Renaming a file from uppercase to lowercase error

Playing with the Google Admin SDK I found out that When one of the users under a Google Apps Unlimited account renames a file to lowercase (i.e. from "Test file" to "test file") I see in the Audit logs an 'Edit' event instead of a 'Rename' event. Is…
0
votes
1 answer

Suddenly, google's API service says I'm in the wrong country

I have several analytics API calls that have been performing great up until recently. Now, I've tried two servers, with different IP's and get the same result from my queries. The IP and Results are below. Both servers are in the USA, and I've even…
0
votes
1 answer

Add users to Directory API with oauth2callback.php instead of adding client/secret to file?

After folowing the examples from Google PHP quickstart i managed to create a simple page that reads the user list and displays them in a table. Now i am trying to create an ADD form. All the example are from 2013-2014 and use ID/Secret inside the…
Baron Daniel
  • 43
  • 1
  • 1
  • 10
0
votes
1 answer

Google Apps Directory Sync, unique identifier and directory api

I am using Google Apps Directory Sync to provision users into Google Apps from an LDAP directory. We have specified a unique identifier attribute from our directory to detect and track user renames. The attribute values are eight-character…
0
votes
2 answers

Google Groups Settings API 500 Error

I want to update group settings via web API request. All necessary authorization scopes are provided and groups settings are enabled. I send a put request: body = { "whoCanPostMessage": "ALL_MEMBERS_CAN_POST", "whoCanViewMembership":…
warownia1
  • 2,771
  • 1
  • 22
  • 30
0
votes
2 answers

admin-sdk: users/list works, but members/list doesn't?

Within my company's domain, I'm able to successfully search for users via this call: https://developers.google.com/admin-sdk/directory/v1/reference/users/list (domain: mydomain.com, viewType: domain_public, and my own email as the sub= in the…
Tim Curtin
  • 87
  • 10
0
votes
1 answer

Change Google Service Account picture

As I am using service account to share Google Drive documents, it would be nice to get in invitation email a company picture instead of the silhouette. Is it possible to change somehow Google Service account picture? I tried using the Google Admin…
Maksim Luzik
  • 5,863
  • 4
  • 36
  • 57
0
votes
1 answer

Google Apps API Explorer: BadRequest Error with directory.groups.list

I have setup my google developers account. Enabled Admin API and also gave credentials with localhost as Authorized origin. I am trying to explore the Directory API to fetch the list of groups. But it always throws 400 BadRequest error. Also, I have…
0
votes
1 answer

Migrate from GDATA calendar resource to Google Calendar Resource api

One of our projects used GDATA API and we heard that this will be sunset on January 2017. I would like to know if there's an update available to migrate from GDATA to calendar resource api for…
0
votes
1 answer

How to reset user's password in Google Apps Script using admin SDK?

I have a list newly creates users in my domain. I want to reset all of their password. But I don't want to do it using admin console. How can I do this using admin SDK and Google App script? My idea is get a list of user whose password I need to…
Kanchan
  • 1
  • 1
  • 2
0
votes
2 answers

Where are the Google Admin SDK libraries?

I would like to work with the Google Admin SDK and get information about our domain's email settings per user. I refer to Developer's Guide | Email Settings API I am comfortable approaching the problem in Java, Python, and C# and all three languages…
ThisClark
  • 14,352
  • 10
  • 69
  • 100
0
votes
1 answer

Check if Per User Outbound Gateway is in use via Admin SDK

Recently discovered in our Google Admin Portal that: Per User outbound Gateway is turned on, checking with other people I work with, no one knows why its turned on and when it was turned on. I have been digging through the Google admin sdk and have…
0
votes
1 answer

AdminSettings API using service account auth/keyword failures

Trying to retreive domain number of users, 'GetCurrentNumberOfUsers()', using AdminSettings API via a Service Account in Python. Enabled delegation wide authority and scope, but getting errors. I have used service account for Calendar API,…
0
votes
2 answers

update customerDomain returns 400 for Google Apps for work account when changing primary domain

This is a Google Apps for Work account. It has one primary domain, and one secondary. It is not believed to have been a primary domain created via Google, but rather directly by GoDaddy and then added to google during the account creation. Here is…
0
votes
1 answer

Google Apps Directory API - Change primary domain with secondary domain

I have a Google Apps Free Account with one primary domain and an secondary domain. Recently I came across Google Admin SDK Directory API, where the option to switch the primary domains is available through the API. Directory API - Customer Update I…
Ramesh Lingappa
  • 2,448
  • 20
  • 33