Not able to install editor add-on for whole domain - google-apps-script

I have published a Sheets Editor Add-on on Chrome Web Store and my colleagues on the same G Suite domain can install it just fine, via the Web Store link.
However, the G Suite account admin doesn't have the option to install it for the whole domain. Anyone have a clue on where to start investigating this?
Edit: I have read in other places that it sometimes takes 3-4 days from publishing in Chrome Web Store until it shows up in the Marketplace. However this doesnt seem to be the case for us since we now have waited for about a week.

The app has to be published on the G Suite Marketplace in order to enable a domain-wide installation.
If it is only published on the Chrome Web Store it has to be installed manually by each user.
Choosing where to publish: GSuite Marketplace or Chrome WebStore
If it is published on the G Suite Marketplace it can be installed for the whole domain by admin account following this steps:
Sign in to Google Admin console.
On the dashboard, click on the Apps icon:
Once there, go to 'Marketplace apps'
Add services to your domain
Search your App and choose to install it for the whole domain
And you are done, the app is installed for the whole domain.
Install Marketplace apps

So I have found a way to publish the app even if it's not discoverable in the Marketplace.
Go to https://console.cloud.google.com/
Go to G Suite Marketplace SDK
Under Publish in the left pane, Publish the add-on and get the App URL.
From the app URL, the domain admin can install the add-on for the whole domain.

Related

Unable to get scope permission from G suite marketplace app

I have created a marketplace app to capture google drive changes.
Enabled two API & services.
1) Google Drive API
2) G Suite Marketplace SDK
Added required content in marketplace SDK and it is published via google chrome tool. So, got a marketplace app url which I can share with others and can install app in their domain.
With this app url I have installed an app by clicking on "DOMAIN INSTALL" button.
In order to receive notification of each drive changes my script is trying to create a channel for each user under this domain But, channel is not getting created. It shows error called "invalid_grant"
So, I took another approach to add marketplace client id and scope permissions under Admin Console->security->Advance Setting ->Manage API client access manually.
Now, I am able to create a channel for user in domain and can access drive files content.
Please help me to figure out that why I am not able to get permission while installing a published G suite marketplace app?
Thanks you.

Domain-wide installed script not appearing to Domain Admin's marketplace apps gallery whilst being publicy available

I'm having trouble making my publicly available app script visible to the Domain Admins for domain-wide installation.
G Suite Marketplace SDK is enabled, with the [Configuration] tab configured. The [Publish] tab never seems to enable the [Publish] button, with the warning "This form is only for specific add-ons".
My app has recently been reviewed and allowed to proceed by the review team, and I can see in the Chrome Web Store that my app has been published
Published Version 14 Published
Draft Version 15 - Public Pending Review
GAM: Published
The perma link is available to install the app individually:
https://chrome.google.com/webstore/detail/seal-atn/mojoekeedapimnnamfjgmnoihijnming?utm_source=permalink
However it's not available in the G Suite Marketplace. I can only locate the application when searching for it within a Google Doc. The application doesn't appear to be visible to the Domain Admin user, so they are unable to push the application down onto their end-users
I've read somewhere that there needs to 2 listings in the Chrome Web Store Developer Dashboard, one for the G Suite Marketplace and one for the Chrome Web Store. I've followed the instructions for for publishing domain-wide installation: https://developers.google.com/gsuite/add-ons/how-tos/publish-for-domains
I now have two entries in my chrome dashboard, the new entry is in the following state:
Published
GAM: Pending
Yet the Domain Admins still cannot see the app, even though it's publicly available.
I'm very confused
My details are:
"api_console_project_id": "820114923602"
googleapps_sdk?project=project-id-5892627631604572744

You can not use the Unpublish feature in the Marketplace SDK

Google API Service -> Marketplace SDK
You can not use the Unpublish feature in the Marketplace SDK
please..
To remove app from the GSuite Marketplace follow this Delete an app guide:
Delete an app as an administrator
If you don't want anyone in your
organization to use a particular G Suite Marketplace app, you can
remove it from your domain. When you remove an app, none of your users
can access it.
Sign in to your Google Admin console. Sign in using an administrator account, not your current account
reyanthonyrenacia#gmail.com
From the Admin console Home page, go to Appsand thenMarketplace apps.
Click the app name.
At the top of the app Settings page, click Trash icon.
Click Remove App.

Google Sheets add-on not visible in Marketplace Apps for site-wide installation

I have followed all the steps here: https://developers.google.com/apps-script/add-ons/domain-wide
And then went through them a million times already.
I can install and use it if I click Test Installation Flow from under Google Apps Marketplace SDK Configuration.
When publishing, the check box for Publish in Google Apps Marketplace is always checked.
Still, when I log in as a domain administrator and go to Marketplace Apps - Add App, I can't find my app in the list.
If you're from Google support, here's the link to my app, maybe you can check something in the backend: https://chrome.google.com/webstore/detail/enabler4sheets/inpioilbljppoobbblcpbpjplkefmkep
Based from the Google Apps Script documentation, The add-on’s name must be the same as the name of the Apps Script project. The checkbox next to Publish in Google Apps Marketplace should be checked only if you are publishing the add-on for domain-wide install and you are not bundling the add-on with an existing Google Apps Marketplace app. See the style guide for more information on the other fields. Select the most recent version of your code and click Create web store draft. This will open a new page for you to configure the add-on for inclusion in the Chrome Web Store.
What I can suggest is to repeat the process based from the document. Please check the Complete application ad publish your add-on: https://developers.google.com/apps-script/add-ons/publish#complete_application_and_publish_your_add-on

How to use the google drive api without allowing users to install chrome webstore apps?

I've made a drive application that does some actions with files inside a google apps domain. To use the drive api in an apps domain I had to put allow users to install webstore apps on. But I don't really want users to install chrome webstore apps.
Is there a possibility to allow users to use the drive api within our domain without allowing them to install Webstore apps?
This is the error I get when it's off :
403 The domain policy has disabled third-party Drive apps.
This is not an installation issue, this is a domain issue. Your domain administrator needs to enable third party Drive Apps in their CPanel.
Once you have done that, you can request the install scope to install an application, there is no requirement on Chrome Webstore integration.