Hi everyone,
On our Google Workspace domain (URL Removed by Staff), new Apps Script web app deployments don’t work for anonymous users.
Setup: standalone project, doGet returns JSON via ContentService. Manifest: "webapp": {"executeAs": "USER_DEPLOYING", "access": "ANYONE_ANONYMOUS"}. Deployed from the editor and with clasp (same result).
What happens:
- As the owner (signed in), after authorizing it once, the web app works and returns the JSON.
- Without being signed in (incognito, or curl),
https://script.google.com/macros/s/<DEPLOYMENT_ID>/execreturns HTTP 400 with the Drive page “Unable to open the file at this time”. - The same happens with a container-bound project.
- An older web app on the same account works fine (access “Only myself”).
Already checked in the Admin console (Drive and Docs > Sharing settings): sharing outside the domain ON; users can share links / publish to anyone ON; Access Checker = “Recipients only, suggested target audience, or public (no Google account required)”; distributing content outside the domain = “Anyone”. Apps Script service ON. Single signed-in account (no multi-login).
Is there any other domain/organization setting that blocks anonymous access to Apps Script web apps, or is this a known issue? Thanks!