问题
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".
I have made sure that:
- My work email account has read access to the google scripts folder with the code
- Security preferences allow third party marketplace apps on the
Any guess on how I can solve this?
回答1:
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:
- Share the developer add-on from personal account to GSuite email account.
- Login to GSuite email account.
- Open Google drive by navigating to https://drive.google.com
- Here you can see the add-on shared from your personal account, make a copy of this.
- Open the new add-on, take the deployment id of this new add-on and install in your gsuite gmail.
It worked for me.
回答2:
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.
来源:https://stackoverflow.com/questions/48918803/how-to-fix-invalid-add-on-error-when-installing-unpublished-gmail-addon