gsuite

GSuite/Cloud Platform - Fixing or Resetting Permissions

自作多情 提交于 2020-04-30 04:27:36
问题 I had created a Google Cloud Platform project and an associated service account for accessing the Directory API in the Admin SDK. After some experimentation I decided to remove that project and the service account and start from scratch. Around that same time I also changed the primary domain on our GSuite account. I believe this combination has screwed up my permissions in the Google Cloud Platform. I'm the only SuperAdmin on our GSuite account, and yet it seems I'm unable to do many things

Set Permission for getEmail to Work for Users on Same G Suite Domain

别来无恙 提交于 2020-04-17 21:43:24
问题 I have a simple script that gets the user email and date/time when a cell is edited on a google sheet. This script works when I run it; however, when a user in my G Suite domain runs the script it returns a blank email. I have searched a bit about this and know that this occurs when triggered by onEdit but was under the impression that it would work if authorized by the script creator when all users are in the same G Suite Domain. Here is an example of the code that I am running: function

Set Permission for getEmail to Work for Users on Same G Suite Domain

99封情书 提交于 2020-04-17 21:41:23
问题 I have a simple script that gets the user email and date/time when a cell is edited on a google sheet. This script works when I run it; however, when a user in my G Suite domain runs the script it returns a blank email. I have searched a bit about this and know that this occurs when triggered by onEdit but was under the impression that it would work if authorized by the script creator when all users are in the same G Suite Domain. Here is an example of the code that I am running: function

Service account not Authorized to access this resource/api while trying to access directory api using Python

﹥>﹥吖頭↗ 提交于 2020-03-21 05:15:44
问题 We use Python to get all users from a particular G Suite managed domain, but after completing the following tutorial and granting all the access needed to the Service Account, the following snippet still produces "Not Authorized to access this resource/api: import json from google.oauth2 import service_account from googleapiclient.discovery import build SCOPES = ['https://www.googleapis.com/auth/admin.directory.user.readonly'] credentials = service_account.Credentials.from_service_account

Service account not Authorized to access this resource/api while trying to access directory api using Python

梦想的初衷 提交于 2020-03-21 05:15:24
问题 We use Python to get all users from a particular G Suite managed domain, but after completing the following tutorial and granting all the access needed to the Service Account, the following snippet still produces "Not Authorized to access this resource/api: import json from google.oauth2 import service_account from googleapiclient.discovery import build SCOPES = ['https://www.googleapis.com/auth/admin.directory.user.readonly'] credentials = service_account.Credentials.from_service_account

G Suite and Django for SMTP

梦想的初衷 提交于 2020-03-18 06:28:11
问题 I'm in the process of getting G Suite to work with my django site so that it will replace the SMTP server of my host. I configured my domain within my webhost's config panel. As a result, when I send an email to support@mysite.com, I can see that it successfully comes though to the Google Account, which is great. My application is setup to send out a confirmation email after someone tries to register. I've completed what I believe to be all of the required steps to setup G Suite with my

G Suite and Django for SMTP

大兔子大兔子 提交于 2020-03-18 06:27:30
问题 I'm in the process of getting G Suite to work with my django site so that it will replace the SMTP server of my host. I configured my domain within my webhost's config panel. As a result, when I send an email to support@mysite.com, I can see that it successfully comes though to the Google Account, which is great. My application is setup to send out a confirmation email after someone tries to register. I've completed what I believe to be all of the required steps to setup G Suite with my

Google apps script application publish to google apps marketplace

戏子无情 提交于 2020-02-05 09:22:23
问题 Can I publish google apps script application to google apps marketplace? Thanks. 回答1: No you cant. You can publish to the chrome web store. Look up the gas documentation its explained there. 回答2: EDIT: You can now do that officially: Follow this link: https://developers.google.com/apps-script/guides/domain-wide-web-app I think you can. (I haven't tested yet),... Basically the "zip package" of a Google Script is conformed with two elements: An icon. A manifest file, which contents is this: {

Google SAML app_not_configured_for_user / equivalent of prompt=select_account SAML

≯℡__Kan透↙ 提交于 2020-02-02 11:43:14
问题 I'm using Gsuite as an Saml IDP to authentify users of my organisation on internal apps. Everything is working fine, except for one point: when one of my users if logged in with his/her personal account only , Google will fail with: 403 Error: app_not_configured_for_user This makes sense as the app is intended to be used by internal users only, but I would like to be able to force Google saml authentication to display the account selector even if the user is already logged in to one account

Google Service Account Not able to edit / update a Google Sheet using gspread

大兔子大兔子 提交于 2020-01-25 08:26:24
问题 This is a follow up to this StackOverFlow question. In python, is it possible to edit a publicy shared google sheet, without an auth code? Which advices to use a g-suite service account to access google sheets. import gspread from oauth2client.service_account import ServiceAccountCredentials scope = ['https://www.googleapis.com/auth/spreadsheets'] credentials = ServiceAccountCredentials.from_json_keyfile_name('### downloaded JSON file ###', scope) gc = gspread.authorize(credentials) sht1 = gc