My Oracle Support Banner

"String index out of range: -1": Error while Provisioning to OID Via Access Policy (Doc ID 1069190.1)

Last updated on JANUARY 31, 2022

Applies to:

Identity Manager - Version and later
Information in this document applies to any platform.


Create an access policy which directly provisons "All Users" to OID. Use a prepopulate adapter to prepopulate the organization DN/container DN because you are provisioning these users into a new DN and not the default (cn=Users) DN. 
"Auto-Save" and "Auto-Prepopulate" options are checked in both "OID User" Process definition and Resource object. 
The problem is that the user shows "Provisioning" status in "Resource Details" but when clicking "Edit" and Save the process form and retry the failed tasks of "Create User" and "Container DN Updated"; then only the user gets provisioned to OID. 
This requires human intervention. How to avoid this?
The logs shows the following:


Create a prepopulate adapter for prepopulating a different organization/container DN instead of cn=Users (default). Define Access policy.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.