Home > Software engineering >  Is it possible to create/deploy a google web app with a service account as its owner?
Is it possible to create/deploy a google web app with a service account as its owner?

Time:01-30

Google Apps Script project (more about this here)

  • Create script at script.new
  • Menu Publish -> deploy as a web app
  • Here you choose performed by me, user, etc. Accessed by ...
  • Is it possible to make it work with a service account as its owner? (so that it survives when you terminate the user's accounts later)

CodePudding user response:

I would check out this awesome article stepping through the step-by-step approach to allow Google Apps Script to use a service account. This might work for your needs.

How to use GCP service accounts with Google Apps Script projects

One thing to note is that the Google Apps Script API itself does not work with service accounts. As per the documentation.

Hope this helps! Let me know if you need further assistance :)

  •  Tags:  
  • Related