Skip to main content

All Questions

0 votes
1 answer
23 views

Is there a way to fetch a list of computer assets from google workspace directory API?

I'm trying to fetch a list of computer assets (Linux, macOS, and Windows) from the Google Workspace Directory API but haven't found any relevant documentation. In the available documentation, there ...
Madhana S.K's user avatar
0 votes
0 answers
65 views

Create new Google Workspace account and send sign-in instruction automatically using API

As a new user onboarding process, I'm creating new account in workspace using API. I'm using below API to create new account: https://admin.googleapis.com/admin/directory/v1/users New account gets ...
Bharat's user avatar
  • 11
-1 votes
1 answer
271 views

Google workload identity federation to call directory API

I'm trying to set up Google Identity Federation with AWS to make admin.directory API calls from aws lambda function. It is written in Java. I set up workload pool, created service account and ...
Sanghyun Kim's user avatar
0 votes
0 answers
65 views

App Script Sync to Workspace Directory Function error: Required parameter: [resource.about.Value]

When I try to execute my script its getting an error. 4:37:30 PM Info Attempting to update user with email: EMAIL 4:37:46 PM Info Failed to get or update user with email: EMAIL Error: ...
Michael Lochtefeld's user avatar
0 votes
1 answer
500 views

Create External Contact in Google Workspace Directory using Domain Shared Contacts API + Python

I cannot figure out how to create (make it visible for all) External Contact in Google Workspace Directory using Domain Shared Contacts API. The idea is to create an external contact (directory-wide) ...
Raman K.'s user avatar
1 vote
1 answer
201 views

Grant Third Party Application Access to Google Drive API and Admin SDK API of another Organization's Google Workspace

We are working on a Migration App for Google Drive (Google Workspace) and are relatively new to Google APIs. I read that administrator need to grant domain-wide delegation of authority to third-party ...
Gags's user avatar
  • 873
2 votes
0 answers
2k views

"oauth2: cannot fetch token: 401 Unauthorized" happens sometime in Google Workspace Directory API

I created the code which get the member's information by Google Workspace Directory API. This code is executed everyday, and sometime I fece the error which is "oauth2: cannot fetch token: 401 ...
y-kishi's user avatar
  • 21
-1 votes
1 answer
95 views

Will Directory api store my password as plain text if I dont specify hashfunction value in request body?

Will Directory api store my password as plain text if I dont specify hashfunction value in request body . kindly tell me
Try Something New's user avatar
0 votes
0 answers
114 views

Is there a programmatic way to access and retrieve data from the Google Admin Dashboard Settings?

Is there any way to get the settings data from Google Admin Dashboard. I have a list of policies that need to be satisfied with this. I've already gone through Google's documentation for Workspace ...
professorbruh's user avatar
0 votes
1 answer
193 views

Google Directory API - OS version policy compliance

On the Google admin console, when looking at chrome devices, you can see their "OS version policy compliance", as seen in the image below: However, when retrieving a device from the ...
Steve Norwood's user avatar
4 votes
2 answers
4k views

Does a Service Account have to impersonate a user to access the Directory Api?

I think I might be misunderstanding how Service Accounts work in GCP, as I don't understand why (in my situation) they need to impersonate a user to complete a task. I need to access some information ...
Steve Norwood's user avatar
0 votes
1 answer
123 views

Google Workspace Admin SDK insert member always set type to "USER", how to resolve this?

https://developers.google.com/admin-sdk/directory/reference/rest/v1/members https://developers.google.com/admin-sdk/directory/reference/rest/v1/members (click for image) It doesn't matter what I set &...
Ajinkya Ronghe's user avatar
1 vote
0 answers
105 views

Error When Trying To Insert New User With Google Apps Script

My script is failing with the following error when attempting to insert a new user through Google Apps Script: GoogleJsonResponseException: API call to directory.users.insert failed with error: ...
Joel Beebe's user avatar
-1 votes
1 answer
224 views

Having issues with the Appscript pulling data from Google workspace using Reports API

The following code is pulling data to Google sheets from Google workspace using Reports API. However it is giving me only last 2 days of data not sure why, there are no limits set in the script. The ...
Mohammed Zaid's user avatar
0 votes
0 answers
131 views

Sending query parameter and input value to a method

looking for some help here please. So, I have a page that list the users from a group using the groupID as the parameter. Sometimes these list of users could be really long and I wanted to build in a ...
Sachin K's user avatar

15 30 50 per page