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 Directory API limits

I am constructing an app that will query the Google Admin SDK/Directory API and retrieve users group information. This is the only type of query that will be performed. Will these queries count towards the allotted 150,000 Directory API queries…
0
votes
2 answers

Reseller API not working via service account

We can't make reseller API calls working using a service account. The steps on the link: https://developers.google.com/drive/delegation#delegate_domain-wide_authority_to_your_service_account were followed without any luck. With regards
0
votes
1 answer

Admin SDK Audit Service returns 400 Bad request

I'm using the Google Admin SDK and am trying to set up a MailMonitor for an audit. Here is the code I am currently using MailMonitor monitor = new MailMonitor(); monitor.BeginDate = new DateTime(2013, 11, 8); …
Ryan Duffing
  • 664
  • 3
  • 11
  • 20
0
votes
1 answer

Can you use both oauth2 and oauth1 ath the same time for authorization?

As far as I understand, oauth2 is the way to go for Google Apps authentication (not openId anymore). However I am still a bit confused about authorization: can you use at the same time 3-legs oauth2 (for contacts, calendar and drive access...) and…
Ben.SaaSt
  • 7
  • 2
0
votes
1 answer

Getting list of users in Google Admin SDK

I have OAuth login in my app. After that I have access_token. I check token in google token info service: https://www.googleapis.com/oauth2/v1/tokeninfo?access_token= And It returns: { "issued_to":…
alekseiko
  • 3
  • 1
  • 2
0
votes
2 answers

Admin SDK Customer Report API - how to specify a customer domain (as a reseller)

I read that the Admin SDK works for Google Apps resellers, but I'm having one specific problem. I want to use the following request to get the number of user licenses in use on one of my customer's…
artooro
  • 1,479
  • 1
  • 8
  • 20
0
votes
1 answer

List subdomains attached to a google apps domain?

Referring to the admin SDK APIs, I don't see anything that would allow me to list the subdomains defined for the google apps domain (via the CPanel in Domain Settings->Domain Names). Is there any way to collect this information directly? Even the…
technomage
  • 9,861
  • 2
  • 26
  • 40
0
votes
1 answer

Google Apps Calendar Resource API v1 (Atom/OAuth 1.0) likely lifespan?

I work with a Google Apps for Education domain and have been asked to write an application that maintains some Google Calendar resources and permissions thereof. I am aware that Google has deprecated support for OAuth 1.0/1.0a and is moving away…
Mark McLaren
  • 11,470
  • 2
  • 48
  • 79
0
votes
1 answer

Switching from Google provisioning API to JSON service authorizing through oauth2

I'm just getting started porting my old code over to the new google apps json service but I'm not clear on the oauth. I'm looking at: https://developers.google.com/admin-sdk/directory/v1/guides/prerequisites It says: "Set up a new project in the…
Zonus
  • 2,313
  • 2
  • 26
  • 48
0
votes
1 answer

How to Ovecome User Rate Limit Exceeded in Admin SDK?

I am working on AdminSdk when I am trying to fetch the user from AdminSdk I got User Rate Limit Exceeded

User Rate Limit Exceeded

Error…

user2893081
  • 1
  • 1
  • 2
  • 4
0
votes
1 answer

How do I rename a user with the Google Admin SDK Directory API?

In the old Provisioning API, we were able to rename user accounts. I don't see a pertinent parameter in the new Directory API documentation which would allow for renaming of a user account. Is this still…
0
votes
1 answer

As a reseller, how do I create a new Google Apps user using the Admin SDK Directory API?

As we transition from the deprecated Provisioning API over to the new Directory API, I see some gaping holes in the documentation in regards to how I as a reseller can manage my customers (Google Apps customers). Specifically, I'd like to know how I…
0
votes
1 answer

Google App Engine Admin SDK Reports API returning 403 Insufficient Permission error

I started with some sample code for App Engine from Google. My app needs to use the Directory API and the Reports API from the Google Admin SDK. I have created a project in the API Console and turned on the Admin SDK in Services. I added the scopes…
0
votes
1 answer

How to retrive perticular contacts only using Contacts API

I have added one custom attribute as "category". It's values should be 'Sales','Support' etc. I have to retrieve only those contacts who have category as custom attributes. I tried using below code. But It is not giving the excepted…
RBP
  • 481
  • 1
  • 9
  • 29
0
votes
2 answers

ArgumentException: Precondition failed.: !string.IsNullOrEmpty(authorization.RefreshToken) with Service Account for Google Admin SDK Directory access

I'm trying to access the Google Directory using a Service Account. I've fiddled with the DriveService example to get this code: public static void Main(string[] args) { var service = BuildDirectoryService(); var results =…
user2871239
  • 1,499
  • 2
  • 11
  • 27