I have a function that stores the email addresses of the users from a domain as a script property. Initially this function worked without a problem on domain A, after creating a copy on domain B and making all the required changes, it keeps asking for authorization to Google Contacts even if I granted access several times.
Additional details:
- The script is run from a super admin account
- I'm using oAuth with Consumer Key and Secret
- Under
Two-legged OAuth access controlthe Allow access to all API's option is checked
If you need additional details, please let me know.