Okta Provisioning Fails With Invalid API Credentials Error
Last Updated:
Overview
Okta generates a provisioning error when the credentials for the application API connection are invalid. Re-authenticating the API integration in the Okta Admin Console resolves this issue. The following error appears on the Okta dashboard during the provisioning flow:
Automatic provisioning of user <username> to app <app name> failed: The credentials used to connect to the API were invalid; please check your configuration
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Application Provisioning
- Application Programming Interface (API)
Cause
The error occurs because the credentials for the application API connection are invalid.
Solution
What resolves the invalid API credentials provisioning error?
Re-authenticate the application API integration in the Okta Admin Console and retry the failed provisioning tasks.
- Navigate to the Okta Admin Console and go to Applications > Applications.
- Select the affected application.
- Go to the Provisioning tab and select Integration.
- Select Edit.
- Select Re-authenticate with <app name>.
- Sign in to the application as an administrator.
- Verify that a message appears confirming the successful authentication.
- Select Save.
- Navigate to Dashboard > Tasks.
- Select the failed task and select Retry Selected.
