Hi @tcurdt, as per Google’s docs, this would require a Google Workspace account:
If you have a Google Workspace account, an administrator of the organization can authorize an application to access user data on behalf of users in the Google Workspace domain.
If you are using a Google Workspace account and are an administrator in your organization, you would need to follow the steps outlined in Google’s documentation to enable this feature:
To delegate domain-wide authority to a service account, a super administrator of the Google Workspace domain must complete the following steps:
- From your Google Workspace domain’s Admin console,go to Main menu menu > Security > API Controls.
- In the Domain wide delegation pane, select Manage Domain Wide Delegation.
- Click Add new.
- In the Client ID field, enter the service account’s Client ID. You can find your service account’s client ID in the Service accounts page.
- In the OAuth scopes (comma-delimited) field, enter the list of scopes that your application should be granted access to. For example, if your application needs domain-wide full access to the Google Drive API and the Google Calendar API, enter:
- Click Authorize.
Your application now has the authority to make API calls as users in your domain (to “impersonate” users). When you prepare to make authorized API calls, you specify the user to impersonate.
Hope this clarifies and helps! Give me a shout if you have followed these steps and are still having trouble.