<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

CSV Directory Integration Breaks after Doing an Update under the Provisioning Tab

Lifecycle Management
Okta Classic Engine
Okta Identity Engine

Overview

The CSV directory integration is a lightweight out-of-the-box option that enables building custom integrations for on-premises systems using the Okta On-Premises Provisioning agent.


Organizations commonly use CSV files containing user identities. Using the agent, Okta can ingest these files on a recurring basis, importing users and their attributes into Okta. Expect all the functionality available in other Okta profile masters, such as Workday or Active Directory, which includes scheduled imports, attribute-level mastering, matching rules, and a rich profile of user attributes.


After performing the initial import from the CSV directory, if we make any kind of changes to the Provisioning tab > CSV Directory > Okta, all users will start showing the following error messages, and imports will no longer work.

App could not be assigned automatically. is an invalid value for userName field (code blank).



Error Message 

Applies To

  • CSV Directory Integration
  • OPP Agent
  • CSV Template

Cause

The default format of the four required headers is either changed or missing from the CSV file.

Solution

The required headers for successful integration are:

  • userName
  • firstName
  • lastName
  • email

Okta cannot do any kind of modifications to them as that will break the configuration, causing error messages for all of the users.

 

In case modifications have been done, in order for us to repair it once an initial import is completed, it is necessary to:

  1. Correct the CSV file with the recommended format for the 4 required headers.

  2. Disconnect from the CSV Directory all of the users who were imported.

  3. Run an import to bring all of the users back.

Recommended content

Loading
CSV Directory Integration Breaks after Doing an Update under the Provisioning Tab | Okta Support