Hi Team,
I am trying to use Gsuite Application Scope for Get Mail Message Activity and use Service Account Key as authentication method.
I tried with following ways:
- Get a service account key in .p12 format, updated key path, service account email and password
Error Received: Precondition check failed [400] - Get a service account key in json format, updated key path.
Error Received: Precondition check failed [400]
After reading some of the Forum posts, checked Has Domain Wide Access checkbox, and gave my personal email address as User’s email
Error Received: Unauthorized email address
Can anyone help me with following questions:
-
How to solve this precondition check failed when using Service account key authentication in .p12 format? Not getting what I am doing wrong here?
-
When using Account key in JSON format and checking HasDomainWideAccess, can you tell me which user’s email address we need to provide (Personal gmail address?). In Google console under the service account which I am using there is Domain Wide Delegation option under Advanced Settings, but i couldn’t find any option to enable it. Seems it is only available for Google Workspace account.
-
If roles/permission needs to be setup for Service account key authentication, how to do it, what roles do I need to set up. I tried with Service Account Admin and Key Admin but received same error (Precondition check failed)
In configuration scope for Gsuite in UiPath - mail.google.com and auth/drive scopes are checked.