Configuring SCIM on an Okta Workforce Connection Results in "Resource already exists" With Existing Users

Overview

This article addresses an error that occurs when configuring an Okta Workforce connection with Inbound System for Cross-domain Identity Management (SCIM). While new users sync correctly, attempting to sync existing users on the connection fails with the following error:

Resource already exists

Applies To

  • Okta Workforce Inbound SCIM

Cause

The default SCIM settings are optimized for new connection deployments, not for connections with pre-existing users. The error occurs because the SCIM userName attribute is not mapped to a unique, searchable user identifier, such as email, in Auth0. This prevents the system from locating existing users during the sync process

Solution

To resolve this issue, the SCIM userName attribute must be mapped to a unique, searchable identifier that corresponds to the existing users. The default settings are detailed in the Inbound SCIM for Okta Workforce connections documentation

  1. In the Auth0 dashboard, navigate to the Provisioning tab of the Okta Workforce connection
  2. Update the mapping for the SCIM attribute containing the user ID attribute to a unique and searchable user identifier. In most cases, mapping this to email resolves the issue

  1. Select Save to apply the changes.