Anthony Silva
Anthony Silva

Reputation: 195

How to fix "Invalid Add-on" error when installing unpublished Gmail addon?

I developed a Gmail addon on my personal Google scripts workspace. I didn't have any trouble installing it on my personal Gmail. I haven't published it to the app marketplace yet and I wanted to install (using this method) it on my company's Google Suite email account (I am the administrator of that Google Suite account). However, when I copy the deployment ID and press install I get an error saying "invalid addon".

enter image description here

I have made sure that:

  1. My work email account has read access to the google scripts folder with the code
  2. Security preferences allow third party marketplace apps on the

Any guess on how I can solve this?

Upvotes: 1

Views: 1413

Answers (2)

Anthony Silva
Anthony Silva

Reputation: 195

Apparently it's just not possible to instal an unpublished add-on across different domains without making a new copy of the add-on's code.

Upvotes: 1

Sabbu
Sabbu

Reputation: 419

In company GSuite email account, it is not possible to install a developer add on(developed from personal gmail account) as GSuite company accounts are more secured. There is a way we can whitelist the add-ons in GSuite admin console, but they did not add it for developer add-in yet.

I encountered the same problem for my company's GSuite account. I followed the following steps to solve the issue:

  1. Share the developer add-on from personal account to GSuite email account.
  2. Login to GSuite email account.
  3. Open Google drive by navigating to https://drive.google.com
  4. Here you can see the add-on shared from your personal account, make a copy of this.
  5. Open the new add-on, take the deployment id of this new add-on and install in your gsuite gmail.

It worked for me.

Upvotes: 1

Related Questions