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

Difference in password length enforcement between the Provisioning API and the Directory API?

At my organization, we have a process that synchronizes user password changes with Google. We recently transitioned this process from the Provisioning API to the Admin SDK Directory API. In doing so, however, we started receiving error responses for…
Chris L
  • 1
  • 1
0
votes
0 answers

Why are all of my requests to the Google Provisioning API failing with a 503 error?

All of my requests to the Google Provisioning API started failing with a 503 HTTP error code. Has something changed?
Eric Koleda
  • 12,420
  • 1
  • 33
  • 51
0
votes
1 answer

How to provide credentials for Google Apps user creation using JAVA API

From the Google Documentation I understood that the email quota is not used anymore. I'm OK with that, but the question is how to provide credentials for user creation in Google Apps. Currently I'm doing it like that: GoogleCredential credential =…
0
votes
1 answer

How do I migrate from the Google Reporting API to the Admin SDK Reports API?

On April 20, 2015 the Google Reporting API and Admin Audit API are scheduled to be shut down. I need to migrate my code to use the Admin SDK Reports API instead. How do I go about this migration?
0
votes
1 answer

GData Java client library availability after April 20, 2015

Will the GData Java client library v1.47.1 still be supported after the April 20, 2015 deprecation?
0
votes
1 answer

Do I need OAuth2.0 to create a google account through the Admin SDK API?

Currently using the Provisioning API that is being depreciated April 20. This is the current flow: user (University Alumni) gets to our site http://alumni.columbia.edu/email they click on Create My Account they authenticate through our university…
Izumi Bérat
  • 173
  • 4
  • 14
0
votes
1 answer

Calendar Resource Name change not showing on Subscriptions to the Resource

We've create a New Resource in the Admin Panel of a Google Domain, and we subscribed to that resource using Google Calendar. We then edited the Resource's name in the Admin Panel. We then went back to the Calendar to check if the Subscription to the…
0
votes
0 answers

How to get the group members fro Google Group

I am triying to create a service to list all groups from my domain and members inside the group. I am able to print the group names with the below code , Can anyone suggest on how to get the group members ? Directory.Groups.List request =…
Bipin
  • 71
  • 1
  • 10
0
votes
1 answer

Why is type of these User properties object: Addresses, Emails, Organizations, etc?

I am referring to the Google.Apis.Admin.Directory.directory_v1.Data.User type. The property type of Addresses, for example, in beta versions (i.e. 1.7 and older) was public virtual System.Collections.Generic.IList Addresses { get; set;…
0
votes
1 answer

Google AdminDirectory api in not updating addresses

I am trying to update user's reach profile attributes with below apps script. It is updating all fields except only addresses. Kindly suggest if I am missing anything. Below is the part of code: var resource = { organizations: [{title:…
0
votes
1 answer

403 when listing users with domain delegation in Google Apps

I have a Google Apps domain and I want to retrieve the users via the Google Apps Admin API. I have taken the following steps: Created a service account (under a project associated with a gmail account) Enabled the Admin SDK API and Drive APIs in…
Tim Dierks
  • 2,168
  • 15
  • 28
0
votes
1 answer

Trying to remove Google Groups members gives Not Authorized exception

I have a google apps script attached to a Google Sheets document. I have the following code. function addGroupMember() { var userEmail = 'aaa@example.com'; var groupEmail = 'list@mysite.org'; var member = { email: userEmail, role:…
RealDealNeil
  • 151
  • 5
0
votes
1 answer

Add custom roles to a group using Google API

From group setting we can create new custom roles to be add to the built-in ones (OWNER, MANAGER and MEMBER), and we can assign those custom roles to any member of the group. Using the Directory API, is there any way to add a custom role? and get…
0
votes
2 answers

Need to set minimal permissions for Admin using Calendar Resource API

We are building an app on App Engine to modify Calendar Resources for a client. We need an admin account setup so that we can use the Admin SDK and Calendar Resources API specifically. A full Super Admin can create new Resources, but any more…
AndrewF
  • 148
  • 8
0
votes
1 answer

how to get all parameters for a specific application

I have the below query data_query = service.customerUsageReports().get(**{'date':'2015-01-07','parameters':'gmail:num_outbound_rerouted_emails'}) What I'm wondering is how to just receive all the gmail specific parameters without listing each one…
BostonMacOSX
  • 1,369
  • 2
  • 17
  • 38