I have created a standalone Google Apps Script (it does not belong to any document). The script get triggered automatically at some fixed intervals. This script
- creates a couple of folder (if they don't exist)
- creates a Google spreadsheet (if it doesn exist). Read said spreadsheet.
- update calendar events
I noticed that when I first run it, it asked for permissions to read, delete all Google Drive items, all spreadsheets and all calendar events
I work on tailoring the scopes required and at least Google Drive does not have those broad permissions. I am still unable to reduce the scope for Google spreadsheet (And also calendar). An expert @TheMaster made a post some years but is not exactly the same case.
I tried changing the scopes but the editor complained and requested that to use openById
I need to change the scopes back