<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Google Workspace Provisioning Error in Okta: The Credentials Used to Connect to the API Were Invalid

Okta Integration Network
Okta Classic Engine
Okta Identity Engine

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

 

Google Provisioning error

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.

  1. Access the Okta Admin Console.
  2. Navigate to Applications > Applications > Google Workspace > Provisioning > Integration.
  3. Click Edit.
  4. Click Re-authenticate with Google Workspace.
    Re-authenticate with Google Workspace button 
  5. Enter the Google Workspace Admin account credentials.
  6. Enter the admin username.
  7. Enter the admin password.
  8. Review the list of permissions Google grants Okta to perform in the Google Workspace tenant.
  9. Click Allow. A message confirming successful authentication appears on the Provisioning page in Okta.
  10. Click Save.
  11. Navigate to Dashboard > Tasks to attempt the user provisioning again. Any failed assignments appear under Tasks.
    Tasks
  12. Identify the failed task for the user and click Retry Selected.

 

Related References

Loading
Google Workspace Provisioning Error in Okta: The Credentials Used to Connect to the API Were Invalid | Okta Support