In my Apps Script project, I'm trying to loop through folders in My Unit using DriveApp.getFolders()
. When the code reaches while(folders.hasNext())
, I get the following error:
"The feature you are attempting to use has been disabled by your domain administrator."
However, Google Drive service is enabled for all users on the domain.
Is there another security setting I need to ask the domain admin to enable?