Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

This app is blocked (Apps Script Editor)

59 views
Skip to first unread message

Boris Baublys

unread,
Mar 24, 2025, 3:29:46 AMMar 24
to Google Apps Script Community

When trying to authorize a script in AppsScript IDE, I get the error:

This app is blocked This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access

This happened after I tried to run AppsScript with the Advanced Protection Program enabled. I received the following message:

Access blocked: the application 'BMP2gsheet' is not approved by Advanced Protection… Error 400: policy_enforced".

Now, even after exiting the Advanced Protection Program, I continue to receive messages about blocking any of my scripts.

I’m not a Google Workspace administrator, so I can’t use https://developers.google.com/apps-script/support#contact_support

I run the script using the same account that the script belongs to, logging out of all other accounts.

I tried creating a new spreadsheet, starting the script editor and running the simple script

var doc = SpreadsheetApp.getActiveSpreadsheet()

and it does not work with the same error message. All scripts, including previously created ones, fail to authorize with the same error. It seems, the problem is in the account settings.

I also tested the workaround . It worked for me. However, a workaround is not a solution to the problem. Besides the prospect of this tediousness does not please.

Please tell me how to unblock AppsScript IDE?

Since bug report [This App is blocked](https://issuetracker.google.com/issues/181220763#comment83is closed with the status "Won't fix (Obsolete)", I opened a new one here . Check there if this is relevant for you.


Reply all
Reply to author
Forward
0 new messages