Matching User not found

We have a custom Okta app set up with SCIM provisioning. The app is of type SWA with the SCIM Base URLs properly configured. Our use case is to sync users added/removed in the Okta app with our external application.

However, when we try to assign a user to the application, we receive the following error:

Automatic provisioning of user <agent> to app <scim app> failed: Matching user not found.

I’ve confirmed that provisioning permissions for Create Users, Update Users, and Deactivate Users are enabled in the Okta app. Despite this, the provisioning still fails.

Any insights into what might be causing this issue or how to troubleshoot it further would be greatly appreciated!

Hi @Ganapathy,

When we query for users we will send a GET to your server to determine if the user exists: SCIM 2.0 Protocol Reference - after that, if User Creation is on we’ll send a POST to create that user. If this isn’t happening, we should check and make sure everything is good on your app. Let’s try a few things:

  1. Attempt to validate your API Credentials from the “Provisioning” tab under “Integration” to make sure that connection’s still alive. It probably is if you’re getting this particular error, but check just to make sure.
  2. Ensure that “Push new users” is checked here, uncheck and recheck it and save the configuration
  3. Under “To App” in the Provisioning section, uncheck and recheck “Create users” here as well and save it.

Give those a try and let me know if it helps!

Hi Daniel

Tested the following

  1. Validated my API credentials
  2. Unchecked and checked ‘Push new users’
  3. uncheck and recheck “Create users”

Still i am getting the same error message

In the logs section I could see that

  • Push new user to external application (Success)
  • Sync User to external application (Failure)

Is this of any help?

Also this is the response for GET that we send from our application

response_data = {
        "schemas": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"],
         "totalResults": 0,
         "startIndex": 1,
         "itemsPerPage": 0,
         "Resources": []
}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.