Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
70 views

I would like to use the Members function of the Admin SDK of Google. I'm using PHP and Codeigniter 3. I created a Service Account in the Google Cloud Console. My Codeigniter model: use Google\Client ...
Coanda's user avatar
  • 393
1 vote
0 answers
80 views

I keep getting Forbidden while trying to access Google Directory Services API. I am attempting to access via a Service Account. I have enabled Admin API and Directory Services API I have specified ...
lerxst3's user avatar
  • 33
1 vote
1 answer
105 views

I'm trying to connect to the Google Directory API (REST Resource: users) via Airflow. I want to get a list of users within the organizational google workspace as well as update some attributes. I want ...
idk_lol's user avatar
  • 11
0 votes
0 answers
184 views

I'm trying to use Google Workspace's Directory API to list users and running into problems with permissions. I get a 403 response with a message: "Not Authorized to access this resource/api"...
RyanB's user avatar
  • 757
0 votes
0 answers
158 views

The Google Contacts API has a few endpoints useful for getting contacts: people.connections.list otherContacts.list people.listDirectoryPeople otherContacts.list is the most useful: it includes ...
venki's user avatar
  • 413
0 votes
1 answer
105 views

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
2 answers
220 views

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
  • 107
-1 votes
1 answer
950 views

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
683 views

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
1 answer
160 views

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,908
1 vote
0 answers
122 views

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
0 votes
1 answer
445 views

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
1 vote
1 answer
116 views

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
904 views

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
0 votes
1 answer
162 views

I need to delete role assignments from a list of user accounts. I am familiar with Google Apps Script, but need help working out the script needed to delete the role assignments using the Google ...
sjo's user avatar
  • 15
0 votes
0 answers
68 views

I want to get the mails inside workspace mail for my google function. and updating token time to time is a problem so can this be done with directory api and service account json file?? I want to ...
Utsab Subedi's user avatar
1 vote
1 answer
2k views

GET https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}/members I'm unable to make this HTTP call. here's my code is from google.oauth2.credentials import Credentials from google.auth....
develop's user avatar
  • 95
0 votes
1 answer
112 views

I'm attempting to list all events from a Google Workspace Resource Calendar which results in either a "user not found" or "invalid impersonation" depending on which calendar ...
Daniel's user avatar
  • 3,816
1 vote
1 answer
353 views

I am trying to use Google directory API in .NET Console Application where I want to get a user information. I keep receiving not authorised error, even though I have added the scope, done the domain ...
Anusha Swaminathan's user avatar
1 vote
2 answers
593 views

I'm looking for a way to create resource calendars for shared rooms and for booking using any google API. In google documentation, it is mentioned that: The Calendar API does not offer a way to ...
Benyamin Jafari's user avatar
0 votes
0 answers
237 views

How to avoid imperative loops and use the Java's Streaming API for the below mentioned implementation for the google directory API? List<GroupMember> groupMemberList = new ArrayList<>(); ...
Anjula Paulus's user avatar
1 vote
1 answer
324 views

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
  • 913
0 votes
1 answer
433 views

I am looking to search for Groups using the Google Directory API, as per the documentation at https://developers.google.com/admin-sdk/directory/v1/guides/search-groups#fields In particular, I am ...
Tim C's user avatar
  • 3
0 votes
0 answers
10 views

I'm getting info about chromeos devices through the directory API. https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices The autoupdateexpiration field returns an int64 ...
user568551's user avatar
2 votes
1 answer
116 views

please, anyone could tell me which permissions I should grant a user or service account to be able to access "Admin SDK Directory API" and use users.list method? Thanks in advance. Stefano
Stefano's user avatar
  • 23
2 votes
0 answers
2k views

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
122 views

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
1 answer
227 views

I'm working on integration with Google Directory and create subscription channels to watch users updates using this API https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/watch ...
PHP User's user avatar
  • 2,444
0 votes
0 answers
166 views

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
621 views

I have been using Postman to send http requests to Google's Directory API. The GET request works fine (which shows that the admin token as well works fine) to get info for a user. But, what I need to ...
Jason Jurotich's user avatar
4 votes
0 answers
789 views

My org is new to Google Auth and we have poured countless hours into documentation readings. The mission was simple: view members in our google groups through the Directory API. Our setup: The cloud ...
Tiara Porter's user avatar
1 vote
2 answers
524 views

Trying to create user using from golang using library "google.golang.org/api/admin/directory/v1" As docs sad here https://developers.google.com/admin-sdk/directory/reference/rest/v1/users#...
dmitriy.s's user avatar
1 vote
1 answer
3k views

I'm trying to add email ids to a Google group using google APIs and Python3. I need help, figuring out what scopes it needs since I am getting the error: Request is missing required authentication ...
Sumukh Bhat's user avatar
0 votes
1 answer
223 views

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
1 vote
2 answers
2k views

The documentation (https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list#query-parameters) says you can use customFieldMask to get only specific fields. I cannot figure out ...
IMTheNachoMan's user avatar
5 votes
2 answers
6k views

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
1 vote
1 answer
972 views

Can anyone please suggest to me how to get the content of google groups by using 2 different API Cloud identity API google directory API We need to get the google group content.
Ankita Nayi's user avatar
0 votes
1 answer
915 views

I'd like to use a service account to access Google Spreadsheet via Google Apps Script API. But now the Apps Script API doesn't seem to work with service accounts according to the following document. ...
Kono's user avatar
  • 11
0 votes
1 answer
160 views

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
0 votes
1 answer
515 views

I have a script built in .NET that creates users in bulk and also creates an alias. Users are created in Google Admin console, however it seems that it doesn't complete the email alias information. ...
David Salomon's user avatar
0 votes
0 answers
625 views

I'm running the Directory API https://developers.google.com/admin-sdk/directory/v1/quickstart/python in Google Colab. To use the API I need to authorize an account and it prompts me to login using my ...
user avatar
0 votes
2 answers
78 views

I'm trying to create users in Google directory using the Google Directory APIs, specifically Google.Apis.Admin.Directory.directory_v1. If I add a user with an alias, it will fail with an error of &...
jperreault's user avatar
0 votes
1 answer
359 views

I can't get all company calendar resources via service account and Directory API. All good when I fetch the resources with my user account. Somehow service account and my user account do not share ...
Ruslan Yeleussinov's user avatar
1 vote
1 answer
338 views

I am trying to retrieve a user's profile picture in Python using either the users.get method or the users.photos.get method from the Google Directory API. I have set up my service account with the ...
concentratesd's user avatar
1 vote
0 answers
125 views

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 vote
0 answers
302 views

I have one Google workspace account for which I want to get access token which I can use to call APIs for all users of that workspace account. private static GoogleCredential getCredentials(...
Shekhar681's user avatar
1 vote
2 answers
816 views

I'm trying to retrieve/update Google group membership in a background process with a service account but getting this error when executing query. How to add these permissions to the service account? ...
Mihails Simvulidi's user avatar
0 votes
1 answer
189 views

I'm using the google admin api class to check for organization units. First level works, but second level fails. I've tried putting it in single quotes as per other posts, but still won't find it, and ...
Alex's user avatar
  • 1
0 votes
1 answer
1k views

I have a service account key json file like following: { "type": "service_account", "project_id": "project-id", "private_key_id": "key-id&...
wrufesh's user avatar
  • 1,408
-1 votes
1 answer
355 views

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

1
2 3 4 5
9