gsuite

Sheets add-on Chrome Web Store to G suite migration: Change visibility?

风流意气都作罢 提交于 2019-12-11 04:12:34
问题 I have a sheets add-on currently accessible only to a specified group of users through the Chrome Web Store. Google recently let it be known that they are moving all add-ons from the Chrome Web Store to the G suite marketplace and posted directions to do this here. All the settings from the Chrome Web Store listing were imported with the exception of the 'visibility' settings below. It was defaulted to 'public' without the ability to change to private or select a Google Group as the Chrome

Fetch the details of all suspended users in G-suite Admin SDK

我与影子孤独终老i 提交于 2019-12-08 11:44:45
问题 I am trying to extract the details of all suspended users in G-Suite Admin SDK, for which I wrote a query in Google Apps script: function fetchUser(){ var pageToken; var membersList = AdminDirectory.Users.list({ domain: 'xyz.com', orderBy: 'email', query: isSuspended=true, maxResults: 100, pageToken: pageToken }); Logger.log('membersList:' +membersList); } The result that I am getting in the logs is: [18-06-20 16:32:15:413 EDT] membersList:{"kind":"admin#directory#users","etag":"\

Google forms script on form submit - event does not have FormResponse object

血红的双手。 提交于 2019-12-08 04:55:25
问题 I have a google form, and have added a script to it. I created a function: function myFunction(e) { Logger.log(e); } Then I went to Edit > Current Project Triggers I added a new trigger, selecting myFunction, and the following settings: Select Event Source = From Form Select Event Type = On form submit When I submit the form and check the logs, I see: {authMode=FULL, source=Form, triggerUid=25580} It does not have a response object I have a number of other forms set up and are working and

Email Settings APIs Authentication

拟墨画扇 提交于 2019-12-07 20:05:17
问题 I would like to use the Email Settings API with Apps Script to manage all users signatures on a Google Site. I have used Documents Data APIs before with 2-legged OAuth and it worked just fine. I am currently stuck on the authentication step for Email Settings API. Code example: // Setup OAuthServiceConfig var oAuthConfig = UrlFetchApp.addOAuthService("signature"); oAuthConfig.setAccessTokenUrl("https://www.google.com/accounts/OAuthGetAccessToken"); oAuthConfig.setRequestTokenUrl("https://www

Allowing anonymous access to Google Apps Script web app (Google Apps account)

一笑奈何 提交于 2019-12-07 05:20:33
问题 I have a spreadsheet in my Google Drive that I would like to share through a web app. I want the script to run as me and allow everyone to access the web app. When this is done in my personal Google account (non Google App account), I get "Anyone, even anonymous" option under "Who has access to the web app" section in the "Publish as a web app" dialog in the Apps Script editor. And everything works fine. However when I try to do the same thing in my Google Apps account in my organization, I

DMARC/SPF configuration error

前提是你 提交于 2019-12-07 02:11:50
问题 I have a domain registered at domains.google.com that I use with a G Suite account and also to send email from SES and mailchimp. My DNS records look correct to me (Mailchimp instructions): @ TXT "v=spf1 include:_spf.google.com include:amazonses.com include:servers.mcsv.net ~all" _dmarc TXT "v=DMARC1; p=none; pct=100; rua=mailto:re+aml1ryadtn7@dmarc.postmarkapp.com; sp=none; aspf=r;" I use postmark's nifty service to get a weekly DMARC digest, and they report this error for mailchimp emails:

Batch Request - SendAs Emails

时间秒杀一切 提交于 2019-12-06 09:09:29
问题 Is there a way to do a batch request to get SendAs emails from multiple or all users? Currently we are using a service account with user impersonation to go through each user and get the SendAs email list - lot of requests. GmailService as service - this is impersonated as the user. service.Users.Settings.SendAs.List("me").Execute(); P.S. I posted this in google group, but just read a post that said the forum is now read-only! It's weird that it allowed me to make a new post (and obviously i

“Integrate with Google” button suddenly disappeared (receiving 404)

混江龙づ霸主 提交于 2019-12-03 00:39:18
I have Google-Apps-Marketplace app in which I'm using "Integrate with Google" button to start the google OAuth2 process. For some unknown reason the button disappear today, and I'm receiving the error 404 - https://apis.google.com/marketplace/button Does anybody know if it's a temporary issue in google API, or something had changed and I need to update my app? I saw similar questions regarding the disappearance of the button from 4 years ago, however they refer there to access problems (error 403). Help will be appreciated. Sorry for the inconvenience, it was a temporary issue that has already

Login Required 401 using Google ServiceAccountCredential using Google Admin Directory API

孤街醉人 提交于 2019-12-02 16:19:46
问题 I have tried to follow the simple example listed here: https://developers.google.com/admin-sdk/directory/v1/quickstart/dotnet The difference is I generated a Service Account Credential, and assigned it as a Delegate with the Role Project Owner, so it has full access. I also assigned it the proper namespaces for scopes. Here it has access to orgunits which is what I'm trying to list in the Directory API Here is my service account defined Here are my credentials I downloaded the JSON for the

Publishing Google Script Addon to G Suite Marketplace SDK

亡梦爱人 提交于 2019-12-01 10:53:53
I've got some Google Sheet script code that I'd like to extract into Google Sheet Addon to be published for just of our domain (not public web). Individuals on my team have been able to do this successfully in the past but after 1/25/2019 when Google removed Add-Ons from Google Chrome Store we've been having difficulties. I am trying to follow: https://developers.google.com/gsuite/add-ons/how-tos/publish-addons#publishing_instructions But get the following error when trying to configure the G Suite Marketplace API: Project Key is not associated with current project or the script version doesn