I have an issue with the impersonation on my domain with team drives.
Indeed, when I run:
rclone -vv --drive-impersonate email@example.com lsf GDrive:, I get the following error:
"error_description": "Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested."
My settings in three points:
- Here is my
type = drive
scope = drive
service_account_file = /home/USER/Documents/sa-auth.json
client_id = XYZ
client_id matches the one in the
service_account_file file. (I also tried without specifying the
.rclone.conf, did not change anything).
I made sure the service account has proper domain-wide delegation enabled
client_idhas been granted