Search code examples
google-apps-scriptgoogle-docsgoogle-workspacegoogle-docs-api

Google Docs Apps Script Extension Add-ons - Greyed Out after Installation


I have retrieved necessary permissions from my admin to publish my Apps Script Extension to the internal Google Martketplace. (You can imagine it to be something similar to the tutorial here)

When developing/testing the extension, I was able to use it just fine. working extension

After installing it "officially" via the Google Marketplace, the extension becomes greyed out.

enter image description here

Google Marketplace

greyed out extension

What's happening to my app?

I have also provided all the necessary oauth scopes in appsscript.json:

"oauthScopes": [
    "https://www.googleapis.com/auth/documents",
    "https://www.googleapis.com/auth/script.external_request",
    "https://www.googleapis.com/auth/script.container.ui"
  ],

Solution

  • It turns out that "Allow list" was insufficient; this app needs to be added to the "domain install" list in Google workspace by the admin instead. After doing the latter the app was accessible