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

What is the URL to authenticate Gsuite users using curl?

I want to authenticate Gsuite users in order for them to be able to create groups from my company's application, I have to do so using CURL, what URL should I send a post request to? For example, if I want to login a user to Google plus, I would hit…
0
votes
1 answer

Re-seller API - insufficient permissions

I'm trying to create a new customer and attach a G-Suite subscription to the customer, but seem to be unable to do this. Where am I currently: Can create a google client object Can check if a customer already exists with that domain Can create a…
0
votes
1 answer

HttpError 403 : "Not Authorized to access this resource/api"> when trying to add members to a group

Here is my code: def addUsersToGroup(users,group):#users is a list of emails. SCOPES1 = 'https://www.googleapis.com/auth/admin.directory.group' store = file.Storage('token.json') creds = store.get() if not creds or creds.invalid: flow =…
SLedsaak
  • 1
  • 1
0
votes
0 answers

G-Suite Reseller Sandbox

I'm trying to integrate a WooCommerce store, to allow our customers to easily purchase new subscriptions in the g-suit environment. So far I have been using the following, for all information regarding the g-suit…
0
votes
0 answers

java: cannot access com.google.auth.Credentials

Am trying to set up a firebase admin server,when i try to run it,it shows this error java: cannot access com.google.auth.Credentials class file for com.google.auth.Credentials not found Is there someone who can help me fix this error? Am…
Wojuola Ayotola
  • 608
  • 8
  • 16
0
votes
1 answer

Invalid value for ByteString on updating user photo in google admin-sdk

Hello I have created node project in which I am trying to update user photo in G-suite using admin-sdk/directory API I am passing base64 image from postman and converting it to web-safe base64 bytedata req.body.photoData.replace(/\//g,…
0
votes
0 answers

Result of function returning undefined

I'm trying to use a Service Account to populate a spreadsheet for end users. I am using this script to get the ChromeOS devices: function listChromeOSDevices_(accessToken) { var devices = []; var pageToken; do { var params = { …
SL8t7
  • 617
  • 2
  • 9
  • 27
0
votes
1 answer

Unable to build a calculated datasource from a user list request to AdminDirectory

I have been trying to work on a requirement where I made an app using App Maker, it is a directory app, user will open the homepage for that app and should be able to see the list of his contacts in the same OrgUnit that he is in on G Suite. I…
Bluescrod
  • 81
  • 1
  • 7
0
votes
0 answers

Properties removed from Admin SDK Reports API

I've been using the Admin SDK's Reports API to monitor G Suite license utilization (via GAM). It appears that around mid-June of this year, the relevant accounts properties were removed from the API results, causing all my license checks to fail. If…
dgc
  • 555
  • 3
  • 7
0
votes
1 answer

G Suite Admin SDK - get users list based on query with field schemaName.fieldName

I'm trying to get only users list based on a query. According to the Google API client documentation for python, it will look something like…
0
votes
1 answer

How to return Document Index Name Value

This is a GoLang, Firebase AdminSDK question. This example works to iterate through all of the documents in a FireStore DB. How can I get the Document Name? To put another way: If the collection name is JohnyCollection, and JohnyCollection has…
IrishGringo
  • 3,864
  • 7
  • 37
  • 49
0
votes
1 answer

Reports API Google - Calendar Audit Activity Events

I'm trying to use this API(https://developers.google.com/admin-sdk/reports/v1/reference/activities/list) to list calendar activities for G Suite users but this error appears: Exception in thread "main" java.lang.IllegalArgumentException: Parameter…
0
votes
1 answer

API for Login information

I have had a call logged with Google to get all logon/logoff events as there has been an incident in our school where we suspect another user has logged on with the credentials of another user in school and posted unsavoury information. I want to…
0
votes
2 answers

Update user using google admin directory api returns 200 but does not update. Malformed request body?

I have a user in my google admin console with the email dog@jopfre.com. I can auth successfully and add and delete users using the api. Now I am trying to update the user using the api. Here is a simplified version of my code: const admin =…
0
votes
0 answers

Accessing Google Admin SDK Directory API on remote server

I am trying to use directory API of GSuite to get all the employee information from a domain. I have followed this tutorial to do it. I am able to fetch the user information when i was deploying it in my local server. There was a google link which i…
Vaibhav Savala
  • 315
  • 2
  • 7
  • 17