AWS IAM Identity Center provisioning flow fails with the following error visible in the Okta dashboard:
Automatic provisioning of user <user> to app AWS IAM Identity Center failed: Error while verifying if user <user> exists: Unauthorized
- AWS IAM Identity Center
- Provisioning
- Error
This error occurs because the Access token from the AWS IAM Identity Center used to create the API connection is invalid.
Follow the steps or video below.
-
Refer to AWS: Configuration Guide.
-
Go to Okta Admin Console and navigate to Applications > Applications > AWS IAM Identity Center > Provisioning > Integration > click the Edit button.
-
Copy the SCIM endpoint URL from the AWS IAM Identity Center and paste that value into the Base URL field in Okta. Make sure to remove the trailing forward slash at the end of the URL.
-
Copy the valid Access token from the AWS IAM Identity Center and paste that value into the API Token field in Okta.
-
Click Test API Credentials to verify that the credentials entered are valid.
-
Verify the connection is successful, and then click Save.
- Attempt the failed tasks again. Navigate to Dashboard > Tasks. Any failed assignments should appear under Tasks.
- After locating the failed task for the user that should be retried, click on Retry Selected.
