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

email settings imap RetrieveImap() Execution of request failed

I just started getting the error on 8/19/2015: Execution of request failed: https://apps-apis.google.com/a/feeds/emailsettings/2.0/myDomain/myUser/imap The program has been running fine before 8/19. The users are all new users and it fails on most…
0
votes
0 answers

Admin SDK -- get information about the group

Please, help. https://www.googleapis.com/admin/directory/v1/groups/106274944935548788283 sending a GET request to obtain information about the group with id 1062 ... Here is a link to the method in Google…
0
votes
1 answer

Using OAuth2 to manage Google EmailSettings

We have been using the Email Settings API to manage our users signatures, and inject proper HTML signatures for Google Apps. It has worked wonderfully until recently. The old code used 'ClientLogin' with an administrator's credentials. I have been…
IdleGod
  • 369
  • 1
  • 5
0
votes
1 answer

Email Audit API - 403 Forbidden

I am trying to download a user's mailbox using the Email Audit API. I am getting a 403 Forbidden response to this code (the error occurs on the last line, the call to the UploadPublicKey method): var certificate = new…
0
votes
1 answer

Having strange behaviour when using domain shared contacts API to get all domain shared contacts

I have been struggling with an issue when I try to retrieve all the domain shared contacts using the shared contacts API According to this page: https://developers.google.com/admin-sdk/domain-shared-contacts/#Retrieving The API for retrieving ALL…
Bluescrod
  • 81
  • 1
  • 7
0
votes
0 answers

Bulk Operations (Create users) in google apps sdk

I see there are bulk operations for some portions of google apps admin sdk but I'm not seeing one for creating / updating users. Are there bulk operations for creating and updating user accounts in google apps? (Using the .NET API)
Zonus
  • 2,313
  • 2
  • 26
  • 48
0
votes
1 answer

Get count of user documents in Google Drive

How can I get the list of all users and the number of Google Documents they have in Google Apps using Google Script? Regards
0
votes
0 answers

Adding Shared Contact to be a member of a Google Group is not working

I am trying to add Shared Contact to be a member of a Google Group, but it is giving below error Google.Apis.Requests.RequestError Invalid Input: memberKey [400] Errors [ Message[Invalid Input: memberKey] Location[ - ] Reason[invalid]…
0
votes
1 answer

Google php client library loadServiceAccountJson broken - fix enclosed

The new function in the php library loadServiceAccountJson doesn't allow setting sub in the Google_Auth_AssertionCredentials creator, so always gives authorization fails. How do we get the library updated? The following instructions will allow a…
Tim Curtin
  • 87
  • 10
0
votes
0 answers

Google Admin Directory API: how to OR query terms?

I'm trying to query my organization's Directory for users, in a case where I need to match multiple possible incoming familyName and givenName combos. So for instance, I know a user has possible givenName Will or Bill, and possible familyName Gates…
Tim Curtin
  • 87
  • 10
0
votes
1 answer

Group as Owner or Manager Fails with 400 error

When attempting to update a group as manager or owner of another group, I receive a request error: Google.GoogleApiException: Google.Apis.Requests.RequestError Invalid Input: memberKey [400] Errors [ Message[Invalid Input: memberKey] Location[ -…
Peter Godwin
  • 267
  • 3
  • 12
0
votes
1 answer

Do we get same users in reports.userUsageReport.get and directory.users.list

In Google Admin API, For a domain, lets assume today is 1st Jan, 2015. I performed case [1] today. 5 days later I performed case [2] for report date (1st Jan 2015) since case 2 data is not available instantly. Cases: Retrieve list of users from…
Surya
  • 4,824
  • 6
  • 38
  • 63
0
votes
1 answer

Google Directory API with PHP Client Library gives 403

I have gone over several questions in regards to Directory API and PHP Client lib but none helped. The closest one was this one: Google Apps Admin SDK Directory API 403 in PHP However the problem still persists. I cannot access the Directory API…
0
votes
1 answer

Google Admin SDK users watch doesn't push notifications for role changes or moving org units

I subscribed and tested for all of the events listed in [1]. "add": User Created Event "delete": User Deleted Event "makeAdmin": User Admin Status Change Event "undelete": User Undeleted Event "update": User Updated Event I used marketplace…
0
votes
1 answer

apps.groups.migration 'success'ful failure

So, I'm experimenting with apps.groups.migration, and I took my mbox and successfully inserted it into a test group. Then I took another mbox from a list archive, and inserted that. I got nothing but SUCCESS returns, but nothing ever appeared in…