Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
0 answers
5 views

App Engine server-server OAuth2 request blocked by Context-aware access location policy

We have an application that integrates with Google Drive API to allow the user to access their files directly from our application. The Frontend for this application is accessed via an AWS Cloudfront ...
Constantine Vlahos's user avatar
0 votes
1 answer
52 views
+100

How do I get user email and name changes in google workspace report api?

I am trying to get the audit log of changes to user email addresses and names in Google Workspace. No matter which eventName I choose, I receive an error like Invalid request: Event UPDATE_USER not ...
Chemdream's user avatar
  • 587
0 votes
1 answer
74 views

How does the execution happen when a Google Apps Script is run as a webapp?

I'm trying to understand how an Google Apps Script deployment actually work, and my question has two parts: When an Apps Script is run as a web application, and multiple users access it using the ...
drox's user avatar
  • 7,973
-2 votes
1 answer
76 views

Google Workspace sandbox environment

I'd like to test a Google Apps Script that I'm building and I'm looking for a place to test it. It's a script that will be executed by a service account and collecting information on users in an OU. ...
Gemini's user avatar
  • 1
1 vote
1 answer
101 views

Google Meet Space creation using meet api and service account Error: 7 PERMISSION_DENIED: Permission denied on resource Space (or it might not exist)

Iam trying to create meeting spaces using service accounts, but i get "Error: 7 PERMISSION_DENIED: Permission denied on resource Space (or it might not exist)" although i followed the same ...
Wisely D Cruizer's user avatar
0 votes
1 answer
340 views

How do I remove the iam.disableServiceAccountKeyCreation constraint

I am trying to implement backups for a Google Workspace using Synology's Backup for Google Workspace, and following their implementation guide. I have set up a Project and am now trying to create a ...
David Maxwell's user avatar
1 vote
1 answer
110 views

How to restrict Service Account read-access of Gmail-API to specific accounts

I need a service account for e2e tests in order to simulate the signup-flow (sending email with initial password etc). however, as far as I am aware, gmail as a service is managed on the level of the ...
Phil's user avatar
  • 7,431
0 votes
1 answer
40 views

How to manage archived accounts in Google Workspace?

I am very new to the Google world and trying to get some automation done to see if the below would work in App-script. I am also not a Java guy, so I try my best. We use Okta as our SSO. Once a user ...
user23538794's user avatar
0 votes
0 answers
64 views

Trying to open a new Google Cloud account, being forced to sign up for Google Workspace

The company i work for uses a google account per project, mostly to limit the blast radius if an account is hacked. This morning I need to start a new project, so i head to https://cloud.google.com/ ...
MerlinTheMagic's user avatar
0 votes
0 answers
73 views

Chrome Verified Access API returning empty body or PERMISSION_DENIED

I'm trying to implement the verified access API but I have ran into an issue when attempting to verify the challenge response. I believe this is a bug with the actual google API or I am seriously ...
Patrick McManamon's user avatar
0 votes
1 answer
161 views

Setting up GCP with Azure SSO using Cloud Identity

I want to set up GCP with Azure AD user provisioning and single signon (SSO) without using Google Workspace. I have previously followed this path but have now gotten an email from Google that on lack ...
moirK's user avatar
  • 661
0 votes
0 answers
38 views

Access Regular Gmail Account with API in Lambda

I want to create a simple service that periodically checks my gmail in search for bank transactions. My objective is to turn this into a simple app for other users eventually, but for now I just want ...
David Diaz's user avatar
1 vote
2 answers
190 views

How to validate Google Bearer Token?

I have a chat app in Google Workspace that uses a Google Cloud Function as its back-end. The cloud function can currently be invoked without authentication. It has to be this way because the ...
prismo's user avatar
  • 1,799
1 vote
0 answers
95 views

Testing my Sheets Workspace Add-on will Install but will not "run" onOpen in a new test sheet

Here is my expected and actual breakdown, based on my reading of the various Google Developer documentation for building a Google Sheets Editor and Workspace Add-on Expected outcome: After navigating ...
GPP's user avatar
  • 2,265
0 votes
0 answers
51 views

Getting generic server error on Image.getBlob() in Appscript

In appscript for a Google Slides extension I am getting a generic error in my logs: Exception: We're sorry, a server error occurred. Please wait a bit and try again. In my code, I am simply getting an ...
scuzzy muffin's user avatar
-1 votes
1 answer
301 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
1 answer
59 views

How can i make gmail send me HTTP request everytime i get new message [closed]

I am creating a laravel app to manage my Gmail using google client api to manage my customers and connect them with the emplyees In my app there is last_interaction attribute to each client that ...
Abdelaziz Mohamed's user avatar
0 votes
0 answers
100 views

Does Cloud Search API require cloud search to be signed up?

I need to use Google Cloud Search API for using with non-google workspace data (third party data like PDF etc.) Is it mandatory to sign up for cloud search to use cloud search API? Right now don't ...
Shashank Varanasi's user avatar
0 votes
0 answers
21 views

App Script works in editor but permissions denied when running from sheets [duplicate]

I'm trying to make a script that syncs group membership to whatever emails are in this google sheet. I put the main body of my script in the onEdit function so it runs every time any cell is changed. ...
FailureGod's user avatar
-1 votes
1 answer
65 views

Frequent Reauthentication Requests with GCP Organization Account

I am experiencing an issue with my organization's Google Workspace account used on Google Cloud Platform (GCP), which is registered with a domain from Google Domains. Unlike my personal Gmail account (...
Donghu Kim's user avatar
0 votes
1 answer
40 views

Trying to delete file from Google Drive Folder

Please, How can I delete my file on Google workspace from google cloud service account? my architecture is : Local machine : executing scripting. service account from Google cloud; xxxxxx@myproject-...
user avatar
0 votes
0 answers
62 views

How to test web app in google workspace marketplace sdk before store listing?

I wanted to create one web app for Gmail that scan mail for malicious URL and attachment and display it on the Web console. So I have created one app that requires domain-wide admin installation in ...
Prashant Vidja's user avatar
1 vote
1 answer
158 views

Programatically access Google Sites content

I need to scrape the content of a Google site that I own but can't pass the Google identity authentication layer To do so, I created a Service Account in my Google Cloud console and added it to my ...
Sebastian's user avatar
1 vote
0 answers
145 views

Not able to Application icon in google workspace marketplace SDK store listing configuration

I want to list one app on the Google Workspace marketplace app. When I do store listing required configuration. I am not able to upload an icon. I have tried every format PNG, JPG, and GIF with the ...
Prashant Vidja's user avatar
1 vote
1 answer
403 views

Can you programmatically add external users to Google Groups?

I am building a mailing list for customers using Google Groups. I am trying to programmatically sync customer email addresses from a contact database to a preexisting Google Group using the Cloud ...
benjibo's user avatar
  • 21
0 votes
0 answers
37 views

How do I fix the "This app is blocked" error message in ShareGate

I'm configuring ShareGate migration tool for Google workspace to OneDrive migration. But I'm getting the below error while connecting to Google workspace. Error: I have added ShareGate as a trusted ...
Mayuresh Jaiswal's user avatar
0 votes
1 answer
379 views

Get Google space members for all spaces under google workspace

I'm working on Google workspace analysis and got stuck on one analysis, where i want to fetch Google space members for all spaces under google workspace. I have tried to use the GAM command for this ...
Mayuresh Jaiswal's user avatar
0 votes
1 answer
178 views

Is it possible to migrate a Google BigQuery Project or Workspace from one google Account to another? (e.g. from personal account to business)

I have set up many tables and queries in a Google BigQuery Project/Workspace using my personal gmail account. I just started a new business and would like to migrate that Project to my new Google ...
CloudTech Agency's user avatar
-1 votes
1 answer
949 views

How do I debug "unauthorized_client" error in a google api call

I'm trying to fetch some data using a service account. I can query any resource that the IAM roles attached to this service account allow but am not able to fetch data from Google Workspace like from ...
Devesh's user avatar
  • 887
0 votes
1 answer
142 views

I am trying to get all users from google workspace using python but I am getting a HTTP error with code 400 after making the API call

I am trying to get all users from google workspace using python but I am getting this error message as a response " "exception": "googleapiclient.errors.HttpError: <HttpError ...
Verckys Orwa's user avatar
0 votes
1 answer
790 views

Using a GCP service account to impersonate a Workspace user... without a key file

I have been using a GCP service account json key file for years to impersonate a Google Workspace service account for accessing various Workspace Admin SDK APIs. I would like to move away from having ...
jldupont's user avatar
  • 96k
0 votes
0 answers
80 views

Looking for an API call to fetch all domain-wide delegations within my Google Admin Console

For security reasons we are looking to automate calls into Google Admin Console (Workspace) in order to fetch, once a day, all the domain-wide delegations within our Google Admin console, the call ...
Jariv Ashkenazy's user avatar
1 vote
2 answers
1k views

Get emails of users of my Google workspace as Admin

I'm currently trying to get all emails of users of my google workspace (i have an admin account)! i started by doing these steps on the console. Create a project in Google Cloud Platform (GCP) ...
Ramzi Missaoui's user avatar
0 votes
1 answer
176 views

Google Calendar Workspace Add-on function not invoked

I have followed this guide to get a Calendar add-on up and running. The functions for Gmail are invoked and working correctly, but the Calendar function is not invoked at all - i.e. I see Executions ...
kenny_k's user avatar
  • 3,939
0 votes
1 answer
495 views

Credentials to use google ADMIN SDK API

I've been tasked to write a short script that will add a user to a group in google workspace. However, I'm really new to the documentation and its not making any sense to me. I created a new account ...
Hadi Khan's user avatar
0 votes
1 answer
112 views

what will happen with the running jobs/requests in GCP after user account is disabled/suspended?

Let's assume Security Command Center (SCC) raised the following finding: https://developers.google.com/admin-sdk/reports/v1/appendix/activity/login#account_disabled_hijacked Can I assume that all ...
rtbf's user avatar
  • 1,577
0 votes
1 answer
521 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
0 answers
313 views

signing in with external emails on a SAML App configured in Google's admin console

My question is as follows: can an external user from my organisation be authenticate with a SAML App I have configured the google admin console? Why I'm confused: There is the Identity Platform which ...
Adam  M.'s user avatar
  • 1,163
0 votes
1 answer
37 views

able to access each user’s detail using Admin SDK api but unable to access each user's drive file it just reads files which is present in my drive

We have created service account on GCP console. We have enabled domain-wide delegation - which helps to authenticate as a domain user and list the Drive files We have added private key, client email ...
Sumitra Kumari Shaw's user avatar
0 votes
1 answer
255 views

Can we uninstall/remove Google Workspace Marketplace App from organization using API?

basically user can manually uninstall app, but we want uninstall app using any RestAPI using access Token
Mohan Krishna's user avatar
0 votes
1 answer
126 views

How can the Google App Script cards be styled?

The following button always displays the text in all caps (SIGN IN). Is there a way to avoid capitalized text strings using CardService.newTextButton().setText('Sign in')? Is there a way to custom-...
DevOne's user avatar
  • 9
1 vote
1 answer
149 views

GmailAPI can retrieve User's mail, but not Group's mail

I want to get the email information used by Group in GoogleWorkspace with GmailAPI. Currently, I am able to get the mail used by User in GoogleWorkspace with the following code. However, an error ...
sami's user avatar
  • 19
0 votes
1 answer
393 views

Google Cloud Console shows Client is unauthorized to retrieve access tokens using this method in python

I saw so many question relating to this GCP issue, none of it helped. I have created service account and added to "Manage Domain-wide delegation" with scopes. But I still get this error ...
Sins97's user avatar
  • 337
5 votes
0 answers
135 views

How to get Google Editor Add-on menus and custom formulas in Google Sheets from a Google Workspace Add-on

This accepted answer says that it's not possible to get custom Google Sheets functions into Google Sheets from a Google Workspace Add-on. However, I came across a counterexample that proves the above ...
Let Me Tink About It's user avatar
0 votes
1 answer
74 views

How to allow a service account to receive the entire list of courses that are in the Classroom domain?

I'm a Google Admin super admin and when I try to get a list of all courses I get all the courses that are in my domain. Is there a way to allow another account to get a list of courses that are in the ...
Azazel's user avatar
  • 47
0 votes
0 answers
223 views

How Do I list the oauth2 scopes of a service account using the google python sdk?

I have a service account with oauth2 scopes assigned to him (from scopes list) in my Domain Wide Delegation (For example, https://www.googleapis.com/auth/admin.chrome.printers, https://www.googleapis....
DavidHaGever's user avatar
1 vote
1 answer
176 views

Request had insufficient authentication scopes after trying create Schema for google workspace directory with golang client

I tried to create Schema for the google workspace directory with golang client, with this code: config, err := google.ConfigFromJSON(b, admin.AdminDirectoryUserReadonlyScope, admin....
Ali Zohrevand's user avatar
0 votes
0 answers
219 views

gcloud cli authentication with google workspace scopes not allowed - "this app is blocked"

I am attempting to deploy some GCP and Google Workspace resources via Terraform. I am using a GCP identity which has admin access to both GCP and Workspace. Everything is fine when I perform the ...
thomas's user avatar
  • 2,632
2 votes
1 answer
4k views

How to find a list of all groups that I am a member of in GCP

How do I find a list of all groups that I am a member of for an organization in GCP? I am able to go to the IAM > Groups page and see a list of member users for an individual selected group, but I ...
Matt Kocak's user avatar
0 votes
1 answer
327 views

Can't seem to impersonate user or not getting token with google oauth2 in python using a service account

Very new to the Google API and Python but have had some success with some small actions like getting files under google drive with my own creds etc I am a Google Workspace admin, I have granted domain-...
zimbo_ouen's user avatar

15 30 50 per page