Google Workspace provisioning flow fails with the following error visible in the Okta dashboard:
Automatic provisioning of user <username> to app Google Workspace failed: Failed to download custom objects. Unauthorized operation for the given domain
- Google Workspace
- Provisioning
- Error
The permissions for the account used to create the API connection are incorrect on the Google Workspace side. The account's permissions may have changed, and it is not the Google Workspace Admin account.
When enabling provisioning in Okta and choosing the Google Workspace admin credentials for the integration, always use a system account.
- Go to Okta Admin Console and navigate to Applications > Applications > Google Workspace > Provisioning > Integration > click the Edit button.
- Click Re-authenticate with Google Workspace.
-
Enter the Google Workspace Admin account credentials:
- Enter the admin username.
- Enter the admin password.
- Review the list of permissions Google will grant Okta in the Google Workspace tenant. If acceptable, click Allow.
- On the Provisioning page in Okta, a message will confirm successful authentication. Click Save.
- Attempt the failed tasks again. Navigate to Dashboard > Tasks. Any failed assignments should appear under Tasks.
-
After identifying the failed task for the user to be retried, click Retry Selected.
