⚡Apps Script Diagnostic PlaybookUpdated 2026-11-06

Apps Script: Fix "This App Isn't Verified" OAuth Warning Screen

Exact Error Message:Google hasn't verified this app. The app is requesting access to sensitive info in your Google Account.
⚡ Direct Answer / Immediate Fix:

For internal company scripts: Click "Advanced" at the bottom-left of the warning modal, then click "Go to [Script Name] (unsafe)", and click "Allow".

Why This Error Occurs (Root Cause Analysis)

Apps Script projects requesting sensitive OAuth scopes (e.g., accessing Gmail, Drive, or Sheets) show a security warning when run for the first time by users other than the creator. In enterprise cloud environments, this failure condition is triggered when the underlying API or formula runtime encounters unexpected data boundaries, quota exhaustion, or unauthenticated session tokens across Google backend calculation microservices. Google Apps Script executes within a sandboxed V8 JavaScript runtime with strict consumer and enterprise execution quotas. Maximum script runtime is hard-capped at 6 minutes per execution, and daily service invocation ceilings (UrlFetchApp, GmailApp, DriveApp) are strictly enforced by Google API gateways. Understanding the exact architectural trigger enables system administrators and developers to correct underlying configuration drift rather than applying temporary workarounds.

Step-by-Step Resolution Guide

Follow these verified steps in sequence to isolate and eliminate the error condition:

1
For internal company scripts: Click "Advanced" at the bottom-left of the warning modal, then click "Go to [Script Name] (unsafe)", and click "Allow".
2
In Google Workspace organizations: Admin can mark internal Apps Script projects as "Trusted" in Google Admin Console > Security > API Controls > App Access Control.
3
For public distribution: Submit the app for Google OAuth verification in Google Cloud Console with a published Privacy Policy and demo video.

Technical Edge Cases & Environment Exceptions

⚠️ Critical Edge Case Scenarios

Using sensitive or restricted OAuth scopes: Requesting access to `https://mail.google.com/` or `https://www.googleapis.com/auth/drive` triggers the warning screen for any user other than the script author.

When This Doesn't Work (Alternative Diagnostics & Workarounds)

🔧 Advanced Escalation & Fallback Workarounds

For internal company use, configure the Cloud Project in Google Cloud Console as an "Internal" application under APIs & Services > OAuth consent screen. Internal apps restricted to your Google Workspace domain never show the unverified app warning.

Prevention Checklist & Operational Standards

🛡️ How to Permanently Prevent Recurrence

Scope OAuth permissions narrowly in `appsscript.json` (e.g. use `spreadsheets.currentonly` instead of full drive access) to reduce verification scrutiny.

Frequently Asked Questions: Google hasn't verified this app. The app is requesting access to sensitive info in your Google Account.

Why does Google show "This app isn't verified" on a script I wrote myself for personal use?

Google triggers the warning whenever a script requests sensitive permissions (like accessing Google Drive or Gmail) and is accessed by any user other than the project owner in the editor.

Does the unverified app screen mean my Apps Script code contains malware?

No. It simply means the Google Cloud project associated with your script has not undergone Google's formal brand and scope verification process.

Can linking an Apps Script to a standard Google Cloud project eliminate the warning for internal users?

Yes. By linking to a GCP project in your Workspace domain and setting OAuth consent screen user type to "Internal", all organization members bypass the warning entirely.

How can an end user bypass the "This app isn't verified" warning screen safely?

Click the small "Advanced" link in the bottom-left corner of the OAuth consent dialog, then click "Go to [Project Name] (unsafe)" and confirm permission grants.

What is required to verify a public Google Apps Script web app?

Public apps require submitting privacy policy URLs, terms of service, a YouTube video demonstrating OAuth scope usage, and completing a security assessment if requesting restricted scopes.

Related Guides & Architecture Walkthroughs

More Apps Script Diagnostic Playbooks