An error occurs when Okta provisions a new user to Active Directory (AD) and passes an invalid value for the cn attribute. Updating the attribute mapping in the Profile Editor resolves this issue. During the provisioning process, Okta generates the following error:
An Invalid Directory Pathname was Passed
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Directories
- Active Directory (AD)
- Provisioning
An invalid value for the cn attribute is passed during the provisioning process.
How is the invalid directory pathname error during Active Directory provisioning resolved?
Navigate to the Profile Editor to review the mapping for the cn attribute and determine why the expression fails to create a valid value for the user.
- Navigate to Directory > Profile Editor.
- Select the Directories filter.
- Select Mappings next to the AD instance experiencing the issue.
- Select the Okta User to [Domain] at the top of the page.
- Review the mapping for the
cnattribute and determine why the expression fails to create a valid value for the user.
NOTE: The default mapping for this attribute is user.firstName + " " + user.lastName.
