Deployment ID not recognized in Workspace Marketplace SDK

Page: https://console.cloud.google.com/apis/api/appsmarket-component.googleapis.com/googleapps_sdk

 

How to resolve this situation on the above page?

- I want to deploy a Calendar Add-on built using Apps Script

 

 

- Apps Script

   Owner: me <at> gmail.com

   Writer: me <at> myorg.com

    Associated GCP Project: my-project <at> myorg.com

 

- GCP Org

   - Domain: myorg.com

   - Owners: me <at> gmail.com, me <at> myorg.com

   

When I try to fill the App Configuration page using me <at> gmail.com, It recognizes the Deployment ID but doesn't allow me to save it.  The save button says "currently disabled" At the top of the page, it says "Your account does not belong to the same domain as this cloud project or app.".

 

 

But when I try to fill the page using me <at> myorg.com, it does not recognize the Deployment ID. Google is not allowing me to change ownership of Apps Script from gmail.com to myorg.com. My email me <at> my org.com only has access to GCP, not other Google products.

 

Screen Shot 2021-11-03 at 9.15.50 PM.png

 

 

 

2 10 1,873
10 REPLIES 10

AndrewB
Community Manager
Community Manager

@jayhlee any ideas?

Just confirm that your organization account has edit access to the Apps Script file, and the conflict in here is that you're using a Gmail account, you can't publish an addon if the owner is on a different domain 

That's correct.

Does it mean I need to create a Google workspace account, $5/user/month to get a user account and then have the owner account from the org? Is there a free approach?

Aren't you using Google Workspace already with your "myorg.com" account? Since there's a conflict, I'd create the project from scratch in the Gmail account, but I'm not sure if you can publish the add-on just with the Gmail account, haven't done it.

No, I don't have Google Workspace. I just created an org structure on GCP and had the projects moved there. I was looking for having top-level policies. Now it looks like I got locked. 

 

@davidsalomon is it possible to take my projects off the organization they belong to?

Can anyone help me on this?

AndrewB
Community Manager
Community Manager

@CharlesMaxson any ideas?

I'm facing the same issue. For the publishing to work, the account being used in GCP must be within the same organization.

Trying to publish a Google Calendar add-on, however, results in the same exact error as @suka mentions. It doesn't recognize the Deployment ID. My script is also under a different account because it appears that App Script's cannot be created without a license to Google Workspace.

Is it possible to even publish Calendar add-ons to the marketplace? Or is it not available to the public as someone had mentioned here: https://stackoverflow.com/questions/55963822/is-it-possible-to-create-a-g-suite-application-for-goog...

There's no possibility to select "Calendar add-on" and only Docs, Sheets, Slides and Forms are the given options.

radicain_0-1651172225347.png

 

Stephane_fr
Google Developer Expert
Google Developer Expert

Hi 

Apps Script file must be in the domain of the GCP Org.

So if you want to deploy internally your add-on in a Workspace Domain you must duplicate the apps script file in an account of your domain and generate the deployment ID from this file inside the domain.

Stéphane

Top Solution Authors