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

Resource not Found userKey Google Directory API using Service Account

Here is my credential built using service account, GoogleCredential credential = new GoogleCredential.Builder() .setJsonFactory(jsonFactory).setTransport(httpTransport) …
simpleProgrammer
  • 107
  • 3
  • 12
0
votes
1 answer

Google Apps Calendar Resource API in PHP

I implemented a php application that creates events in google calendar. But i need also to create resources, and i found the documentation for Google Apps Calendar Resource API My first question is: where can I download the API files. And second: i…
0
votes
1 answer

gdata.apps.audit.service authentication without ClientLogin

I want to utilize gdata.apps.audit.service.AuditService to create mailbox export requests (specifically via createMailboxExportRequest). Is it possible to access this api authenticating via oauth or another means? I'm trying to avoid requiring a…
0
votes
2 answers

how do I send the credentials of an administrator account so that they can create user accounts on google?

I understand that to use the Admin SDK only works with OAuth2.0 protocol, which requires that the logged on to Google and use the credentials that are created in developer console. My situation is that I'm implementing a process to enlist employees…
0
votes
2 answers

Google directory api always returns 403

I am trying to use the Admin SDK Directory api to look up user profiles. I am able to do this successfully all day (with in quota) with 99% of the time. Though there are certain times where it just fails no matter what. Yes I have set the service…
0
votes
1 answer

Google Directory API and reset user passwords through .net

Well, after a lot of help from posts on this site and others I've finally got my .net application connected and authenticating to my google apps instance! Hooray! I can search and get user details to my hearts delight utilizing a service account…
0
votes
1 answer

Add custom properties/values to a Google Apps Acount via Admin SDK

Best way to add custom information to a Google Account via AdminSDK I will add custom information to accounts in Apps, what would be the best practice? Im thinking of adding the data to "ims" were I can add custom types, any feedback on that, is…
John Smith
  • 387
  • 2
  • 8
  • 24
0
votes
1 answer

Google Admin SDK JAVA API getting empty user list

Following code is same from PlusService Account Sample and I have modified it for Directory API, created new test user, assigned id and password, it returns empty {} instead of returning user test GoogleCredential credential = new…
simpleProgrammer
  • 107
  • 3
  • 12
0
votes
1 answer

Admin SDK does not retrieve full profile information

I am developing an application that extracts Google Apps domain user information using the Admin SDK. I want to gather all data (in particular phones) that appear in the Directory profile of domain users in the Apps contacts list. The domain users…
Lorenzo
  • 53
  • 5
0
votes
3 answers

Google Apps Script trigger to run every 2 months is not working

I have created a script for my enterprise Google Apps account (script.google.com) to require all users to change their passwords. I've gone into the Google Script settings under Resources > Current Project's Triggers and set the script to run as a…
Zac
  • 3
  • 2
0
votes
1 answer

(403) Insufficient Permission with Reports scope

I'm stumped on this one. I have an example php script, using the most recent version of the Google API PHP client. This script functions perfectly:
0
votes
2 answers

How can I create google apps user account programatically

My organisation (Polish Scouting Association) has it's own google apps domain, and every scout is entiteled to have one e-mail address. We decided to create an WWW application in which user can authorize, and sets up his own google apps account. To…
jb.
  • 23,300
  • 18
  • 98
  • 136
0
votes
1 answer

UTF-8 encoding Google Apps Email Settings API

I've been using Google Apps Email Settings API for a while but I came to a problem when I tried to insert aliases, signatures or any information with "ñ" or "Ñ". It adds garbage instead of those characters and it doesn't seem to respect the charset…
0
votes
1 answer

how to access one google app with another google app

I have one google app engine applicaion(app1) and I want to access it from another google app engine applicaion(app2). I do not want install two separate apps. I want to one app within another app. While installing app2 how can i assign scopes of…
RBP
  • 481
  • 1
  • 9
  • 29
0
votes
1 answer

Google API Admin SDK Error (Requested client not authorized)

Quick Background: Creating a php class to add/remove emails from a group under a google apps account. I used the same google account for the Apps Admin Console to create a project under the Developers Console. Also the google apps account is in…