My Oracle Support Banner

How to Change an Username in Apps for an OID Integrated Instance - when attempting to create a new user, receive an ORA-20001 error (Doc ID 428726.1)

Last updated on OCTOBER 04, 2016

Applies to:

Oracle Applications Technology Stack - Version 11.5.8 to 12.1.3 [Release 11.5 to 12.1]
Information in this document applies to any platform.
Checked for Relevance on 04-FEB-2015


In an Apps environment integrated with OID where Apps to OID provisioning is enabled, when attempting to create a new user, you receive an ORA-20001 error.   Other users can be created successfully, so the problem seems to be related to one username only

The issue can be reproduced at will with the following steps:

1.  Create a new user with the following username "12345" in Apps "Define User" form


2.  In OID there is a corresponding entry

UID is 12345
3. Change the Apps user account to "98765" in the Apps "Define User" form
At this moment
UID is 98765
DN is unique and cannot be changed in oidadmin, and neither oiddas.

So at this stage, although the username has been changed and will work correctly, the original internal reference is still being used within OID

4.  If you now have a situation where you need to create a separate new user "12345" in Apps, this should work without an error, but instead in Define->User form the following error appears:

"Unable to call fnd_ldap_wrapper_user due to the following reason: ORA-20001:
Unable to call fnd_ldap_wrapper_user due to the following reason:
A user with the given username already exists.
Please use a different username. (USER_NAME=12345). (USER_NAME=12345)"
The issue has the following business impact:
Due to this issue, specific new users cannot be created without knowing the previous history of user creation.


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

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

In this Document

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