Google Workspace Provisioning Error in Okta: The Credentials Used to Connect to the API Were Invalid
Last Updated:
Overview
The Google Workspace provisioning flow fails due to invalid API credentials. Re-authenticate the Google Workspace API connection to resolve this issue. The Okta dashboard displays this error message:
Automatic provisioning of user <username> to app Google Workspace failed: The credentials used to connect to the API were invalid; please check your configuration
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Google Workspace
- Provisioning
Cause
The Google Workspace credentials used to create the API connection are invalid.
Solution
How is the Google Workspace provisioning error resolved?
Re-authenticate the Google Workspace API connection and retry the failed provisioning task to resolve the error.
- Access the Okta Admin Console.
- Navigate to Applications > Applications > Google Workspace > Provisioning > Integration.
- Click Edit.
- 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 grants Okta to perform in the Google Workspace tenant.
- Click Allow. A message confirming successful authentication appears on the Provisioning page in Okta.
- Click Save.
- Navigate to Dashboard > Tasks to attempt the user provisioning again. Any failed assignments appear under Tasks.
- Identify the failed task for the user and click Retry Selected.
