Skip to main content

Questions tagged [google-directory-api]

Google Apps and reseller administrators can use the Directory API to manage Mobile and Chrome OS devices, groups, group aliases, members, organization units, users, and user aliases.

google-directory-api
0 votes
0 answers
7 views

In Google's Directory API, how can I get details for more than one user in a request?

I want to get the details for the members of a group in the Google Directory API. I see that I can list the members of the group with GET https://admin.googleapis.com/admin/directory/v1/groups/{...
jhurshman's user avatar
  • 6,009
0 votes
1 answer
25 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
30 views

Is there a way to catch all members being added to a group in batches?

I wrote a python class to add members to a Google group in batches of 100 to a Google group. The problem is that the number of members in the new_members variable does not match the number of members ...
user3621877's user avatar
0 votes
0 answers
66 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
0 votes
2 answers
126 views

How can I get the Google Role of the User?

I am setting up an web application on ASP .NET Core 5 with Google Auth. I want to be able to mark certain pages with an Authorize attribute to only allow users with a given Role to access. The access ...
Zvi's user avatar
  • 97
-1 votes
1 answer
276 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
2 votes
1 answer
317 views

C# Google API for requesting a list of users returns "badRequest"

I have been looking for information on this for a couple days now. I believe I have everything relevant to the API set up correctly for access but I keep getting this error: The service admin has ...
Joey 's user avatar
  • 37
0 votes
0 answers
66 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
94 views

User Mailbox usage report from Google Workspace

I am trying to get a basic email usage report. We need to get user names and the size of their email boxes. The code provided below throws an exception "<HttpError 400 when requesting https://...
Yuri's user avatar
  • 2,880
1 vote
0 answers
61 views

Search for multiple users by email address using admin directory users.list Google API

I am trying to use the Admin Directory users.list API (https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list) to query multiple users with their email address. I can do query=...
IMTheNachoMan's user avatar
1 vote
1 answer
273 views

Google Directions Api Problem on optimisation

i am using directions api with some waypoints. the thing is that its not optimized, it goes with the order of my array and not with the most efficient order. i dont want the order of my array to take ...
vasilis tertylinis's user avatar
0 votes
0 answers
67 views

403 error on google groups api in admin sdk, directory api

I am trying to get a list of google groups in my domain but getting: error 403 "Not Authorized to access this resource/api". What am I doing wrong? This is the node.js code I used: const ...
Ofer's user avatar
  • 1
0 votes
0 answers
183 views

How do I get all connected applications for a google workspace via the Google Admin Directory or Report API

I need to obtain all users in a workspace and what applications they have granted access to their account. This list needs to be updated on a day-to-day basis (not just one time). I'm using the google-...
Joseph Yancey's user avatar
1 vote
1 answer
64 views

Delay of 30s after creating new user via Google Directory API necessary to see it via Google Classroom API?

I'm developing an API extension of our Woocommerce eshop. The task is to create a new Google Classroom user (if not yet existing) and add this user to the Course. If the user does not exist yet, i ...
ostryweb.cz's user avatar
0 votes
1 answer
506 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

15 30 50 per page
1
2 3 4 5
29