FND_USER_PKG.CreateUser - ORA-20001: Custom user name validation

Hi,
I created a user IDM in Oracle ERP instance (R12.1.2). I gave execute privilege on FND_USER_PKG to IDM.
I also created synonym IDM.FND_USER_PKG for APPS.FND_USER_PKG;
I logged in to SQLPLUS as IDM and executed the below and got an error - ORA-20001: Custom user name validation in subscription to event oracle.fnd.user.name.validate failed. Could anyone of you help me?
The statement works fine when I run as APPS.
SQL>begin
2 FND_USER_PKG.CreateUser (
3 x_user_name => 'TEST899',
4 x_owner => NULL,
5 x_unencrypted_password => 'oracle',
6 x_session_number => userenv('sessionid'),
7 x_start_date => sysdate );
8
9 end;
10 /
begin
ERROR at line 1:
ORA-20001: Custom user name validation in subscription to event
oracle.fnd.user.name.vali
date failed.
ORA-06512: at "APPS.APP_EXCEPTION", line 72
ORA-06512: at "APPS.FND_USER_PKG", line 3663
ORA-06512: at "APPS.FND_USER_PKG", line 955
ORA-06512: at "APPS.FND_USER_PKG", line 1173
ORA-06512: at "APPS.FND_USER_PKG", line 1292
ORA-06512: at line 2
Thanks
Cherrish Vaidiyan

Can you reproduce the issue when you create the same user from the application?
ORA-20001: Custom user name validation in subscription to event oracle.fnd.user.name.validate failedDo you have any customization that could be related to user creation validation?
Can you reproduce the issue if you use the code in https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG.CreateUser&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein

Similar Messages

  • Custom user name validation in subscription to event

    Hello,
    I am on R11.5.10.2 and trying to create fnd_users using FND_USER_PKG.CREATEUSER. But i am getting following error :
    ORA - 20001: Custom user name validation in subscription to event oracle.apps.fnd.user.name.validate failed.
    The above mention business event is enabled but their is no subscription attached to it.
    Can any body faced the same issue ?
    Thanks
    Ayaz

    Also send the count of invalid onjects in the DBNot sure how the count would help, but I believe the name of invalid objects would be more helpful.

  • Custom user name mapper needs external LDAP connection.

    I have a custom user name mapper that needs to connect to our external LDAP. Our security realm is configured to connect to the external LDAP for users and groups. Is there a way to reuse this connection in the custom user name mapper?

    I have a custom user name mapper that needs to connect to our external LDAP. Our security realm is configured to connect to the external LDAP for users and groups. Is there a way to reuse this connection in the custom user name mapper?

  • ORA-20001: INVALID USER: ACCESS DENIED!! - TIVOLI

    version 10.2.0.2
    SQL> connect tivoli
    Enter password:
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20001: INVALID USER: ACCESS DENIED!! - TIVOLI
    ORA-06512: at line 77
    Edited by: DBA2008 on Feb 12, 2010 11:59 AM

    DBA2008 wrote:
    i disable the trigger messing up tivoli user,& i am able to login fine, wondering if i enable it back it will do the same?If you keep doing the same thing, you can expect the same results.
    Perhaps you should analyze the trigger to figure out
    1) what it was supposed to be doing that is not being done since you disabled it
    2) why it was throwing the error . . .

  • Customizing User Name Policy OOTB Plugin

    Hi
    I want to use the User Name policy generation plugin to generate the user id for an oim user. But the requirement is that we have to create the User ID with Preferred Name(not with first name) and Last Name and the issue is that in the code we cannot get the attribute other then the attribute coming in the HashMap. So the question is , Is there any way in which we can pass this UDF to that hashmap or can get the value in the code?
    Please note Preferred name is a UDF and coming from the trusted Source.
    Thanks in Advance

    Maybe i've partially solved the issue, I've noted that during the user creation procedure the username field is mandatory in the for so I must specify a value.
    Maybe the validation procedure of the OOTB username policy returns alway a true value so the field is always converted in UPPERCASE and the username generation rule is never called
    How can i set a non mandatory account name field ?

  • User ID Number to Custom User Name

    Hello.
    We have some users logging in using their SSN (or some important #). We want them to create their own usernames and login using the new name. This name will just be for logging in, we want to track audit info like updated by and created by etc. with the SSN. (We have old records with this # as audit col values , also the user should be able to change their user names later)
    Is there a way to authenticate using the new user name and set the session user id with the original ID (SSN or other numbers) used.
    Thanks.
    A.S

    Bump.

  • USER UPDATE가 안되는 문제 ORA-20001 ORA-06512

    제품 : AOL
    작성날짜 : 2002-11-29
    USER UPDATE가 안되는 문제 ORA-20001 ORA-06512
    =======================================
    PURPOSE
    Problem Description
    SQL> exec fnd_user_pkg.UpdateUser('LGESSO','SEED', 'lgesso2');
    BEGIN fnd_user_pkg.UpdateUser('LGESSO','SEED', 'lgesso2'); END;
    ERROR at line 1:
    ORA-20001: Unabled to change password for user LGESSO for this following
    reason:
    Password was not changed.
    ORA-06512: at "APPS.APP_EXCEPTION", line 51
    ORA-06512: at "APPS.FND_USER_PKG", line 350
    ORA-06512: at line 1
    Workaround
    patch 2426407를 적용해야 한다.
    Solution Description
    FND_USER_PKG.UpdateUser가 유저의 패스워드를 바꿀때 fail이 나는 문제이다.다음과 같은 에러가 난다:
    ERROR at line 1:
    ORA-20001: Unabled to change password for user JFROST for this following
    reason:
    Password was not changed.
    ORA-06512: at "APPS.APP_EXCEPTION", line 51
    ORA-06512: at "APPS.FND_USER_PKG", line 348
    ORA-06512: at line 1
    This is due to a change in FND_WEB_SEC.change_password being defined with a
    pragma of autonomous transaction.
    FND_USER_PKG.UpdateUser calls FND_WEB_SEC.change_password to change a user's
    password.
    Reference Documents
    -------------------

    DBA2008 wrote:
    i disable the trigger messing up tivoli user,& i am able to login fine, wondering if i enable it back it will do the same?If you keep doing the same thing, you can expect the same results.
    Perhaps you should analyze the trigger to figure out
    1) what it was supposed to be doing that is not being done since you disabled it
    2) why it was throwing the error . . .

  • HT204053 Dear Support Team, every time i tried to logon Icloud its gives me wrong user name or password and at the end it show me error " This Apple ID is valid but is not an ICloud Account" then how can i use one account for same Apple ID and ICloud???

    Dear Support Team,
    Every time i tried to logon Icloud its gives me wrong user name or password and at the end it show me error " This Apple ID is valid but is not an ICloud Account" then how can i use one account for same Apple ID and ICloud?
    Thanks

    It is not possible to create a new iCloud account using a Windows machine. You must create the account using a Mac (10.7.5 or more) or an IOS device (iPhone etc). Once that is done you can sign into and use the account on your Windows machine.

  • Error Message = 3205: '~WF_ADHOC-1446' is not a valid role or user name

    Hi,
    I have an Item attribute of type 'Role' ('CREDIT_COMMITTEE_MEMBERS') and I am using that attribute as performer for two notification activities.
    For first notification, I create an adhoc role and assign it to the attribute and the notification goes successfully.
    I want to send reminder to the people who have not responded to the first notification.
    So I used the following query:
    SELECT recipient_role
    FROM wf_notifications
    WHERE (message_name = 'MSG_TO_CREDIT_COMM_NEED_APPR' or message_name = 'MSG_REMINDER_CREDIT_COMM')
    AND item_key = itemkey
    AND status = 'OPEN';
    The following code was used to update the Item attribute of type "Role"
    FOR rec_cc_role_names IN cur_cc_role_names
    LOOP
    IF l_role_count = 0 THEN
    l_role_users := rec_cc_role_names.recipient_role;
    ELSE
    l_role_users := l_role_users || ' ' || rec_cc_role_names.recipient_role;
    END IF;
    l_role_count := l_role_count + 1;
    END LOOP;
    wf_directory.createadhocrole
    ( role_name => l_role_name,
    role_display_name => l_role_display_name,
    notification_preference => 'MAILTEXT',
    role_users => l_role_users,
    expiration_date => NULL);
    wf_engine.setitemattrtext
    ( itemtype => 'XXCCVOTP',
    itemkey => itemkey,
    aname => 'CREDIT_COMMITTEE_MEMBERS',
    avalue => l_role_name);
    The second notification activity is throwing the below error
    Error Name = WFNTF_ROLE
    Error Message = 3205: '~WF_ADHOC-1446' is not a valid role or user name.
    Error Stack =
    Wf_Notification.SendGroup(~WF_ADHOC-1446, XXCCVOTP,
    MSG_REMINDER_CREDIT_COMM, 07-APR-10, WF_ENGINE.CB)
    Wf_Engine_Util.Notification_Send(XXCCVOTP, 154009, 186344,
    XXCCVOTP:MSG_REMINDER_CREDIT_COMM)
    Wf_Engine_Util.Notification(XXCCVOTP, 154009, 186344, RUN)
    Kindly help.
    Thanks,
    Amit

    The users list was null for the role, which was causing the error. The query populating the user list was not returning any row.

  • Apple changed my Apple ID to the email address associated with my iTunes account. I now can no longer access my account because the old user name is no longer valid and has no password. I have been on the phone with tech support for hours trying to fix.

    Apple changed my Apple ID to the email address associated with my iTunes account. I now can no longer access my account because the old user name is no longer valid and has no password. I have been on the phone with tech support for hours trying to fix this. I can not update any of the apps associated with that user name.

    Is this itunes on the iPad or on my computer? Thank you for the reply.

  • P6 user name is not valid for connecting to the reporting database

    No data is available because your P6 user name is not valid for connecting to the reporting database
    I am getting above error in the following environment:
    P6 running on wls instance 1.
    BI Publisger running on wls instance 2
    MS SQL server 2005
    Note that the error appears when I clink on the 'Reports' tab in P6. My admin user on P6 has access to report/analyser modules.
    To connect P6 to BI Publisher I am using 'PxRptUser' in the P6 configuration for Bi Publisher. I know as well that the WSDL URL is correct and I can test this in SoapUI tool.
    In BI publisher I have created the PMDB data source using PxRprUser, and the test of this connection works.
    (Because the report samples come with Oracle flavoured SQL that SQL server does not like, I have configured BI Publisher so I have just a single report left that sources it data from an xml file. This works in BI Publisher. It also helps me in that I do not need to add 'WHERE' clauses and parameters required for SQL server?)
    Furthermore, using a DB tool, I can connect to my SQL server using PxRPTUser.
    So why do I get the error above?
    I picked up somewhere that I should not be adding users to BI Publisher. Funny enough, testing the 'login' method the BI Publisher exposes through its WSDL (as above) I noticed I HAD to create the user PxRptUser in BI publisher application itself (on top of PxRptUser in database) for the login web service to work with PxRptUser
    That did not solve the connection between P6 and BI Publisher though. What am I missing ...
    Edited by: user3674522 on 10/11/2011 20:16

    Thought I found something but can't repliacte, som issue is still there:
    Had a look at the wls instance logs where BI publisher is running, and the error I get is:
    111111_023646955][][ERROR] javax.naming.NamingException: Unresolved naming: cn=admin, dc=user, dc=users, dc=principals at [cn=admin]
    That user, admin, is the one I have used to access P6. Why is this passed on to BI Publisher? I thought the idea was that the PxRptUser set in BI Publisher configurations in P6 would be used?
    Edited by: user3674522 on 10/11/2011 20:17

  • Custom report toshow the "Last Logon User Name"

    Is it possible to create a custom report to display the "Last Logon User Name" field that appears in the Properties of each computer object ?

    Yes, download the RDL file and modify the report. If the user name is not in one of the current datasets, then you have to add it first.
    Kent Agerlund | My blogs: blog.coretech.dk/kea and
    SCUG.dk/ | Twitter:
    @Agerlund | Linkedin: Kent Agerlund |
    Mastering ConfigMgr 2012 The Fundamentals

  • Azure AD user name not using configured custom domain name

    I have configured a few users for Lync Online that I setup before I had custom domain name work with Azure AD.  Now I have the custom domain setup and verified and configured as the primary domain.  The users that were configured for Lync
    Online are still displayed with the *.onmicrosoft.com username in Azure AD.
    Is there a way I can change these users so their usernames use our custom domain?

    You can easily change the UPN via PowerShell:
    Set-MsolUserPrincipalName -UserPrincipalName [email protected] -NewUserPrincipalName [email protected]
    If you want to do this in bulk for all users, you can use something like this:
    $all = Get-MsolUser -All
    $users = $all | ? {$_.UserPrincipalName -match "tenant.onmicrosoft.com"}
    $users | % {Set-MsolUserPrincipalName -UserPrincipalName $_.UserPrincipalName -NewUserPrincipalName $_.UserPrincipalName.Replace("tenant.onmicrosoft.com","domain.com")}
    Test it first against a single user of course :)

  • TS3988 my user name (email address) is no longer a valid email address.  How do I get around the verification stage or change my username to be my current email address?

    How can I change my user-name for ITunes?  My user name was my old work email address and is no longer valid. When I try to create an iCloud account, I am having trouble due to the fact that the username is not a good email address.

    How are you trying to do it ? You can change the rescue email address on your account by, from http://support.apple.com/kb/HT5312 :
    Navigate to appleid.apple.com using your web browser.
    Click "Manage your account"
    When prompted, sign in using your Apple ID and password.
    Click Password & Security
    You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
    After you've validated your identity by correctly answering your security questions, click Edit to the right of your rescue email address.
    Once you've finished editing your rescue email address, click the Save button directly below the email field.
    You can then try using your current rescue email address as your primary email address - you may need to log out of that page and back in. Or you can then try changing the primary email address via the Store > View Account menu option on your computer's iTunes
    If you have an iPhone, iPad and/or iPod Touch you may then need to log out of your account on them by tapping on it in Settings > iTunes & App Store and log back in for the account to be 'refreshed' on it.

  • Sales Agreement workflow errored on 3205: is not a valid role or user name.

    Hi experts,
    We're currently on EBS R12.1.2 We're running into an issue that seems like a very general issue that other businesses would have encountered before. We have a business user who creates most of sales agreements. When this business user left the company, we set active end date on the particular userid. Now, when we go into these sales agreements originally created by this particular userid, and put in the expiration date to expire these sales agreement. We're seeing the sales agreement workflow erroring out in the pre-notification workflow email with error 3205: is not a valid role or user name.
    It seems to be this is a very typical business scenario. If you have encountered this problem, please share how you resolved this issue within your oracle apps environment.
    Thank you in advance for your help,
    Jennifer

    Hello,
    We have the same problem in 11.5.10.2. If we want use this blanket sales agreement I have to skipped this notification by sysadmin and after this I can extend end date and another user can use this BSA.
    Look at Extend The Expiration Date For Closed Non-Active Expired BSA Blanket Sales Agreement [ID 1394888.1]     
    Regards,
    Luko

Maybe you are looking for

  • Idoc related issuse

    Dear all, I have some problem in idoc related issuses.i preparing technical documents from FS. There are some filds coming from the client system to sap systmm,.there r nearly 7 field(parent). And 9 fields (childs).this is from cls to WBI . I have to

  • Wrong photo in album

    Two questions, please... I'm presenting a slide show tomorrow using iPhoto 4. I created an album of some 100 images. All the thumbnails are correct and in the right order. Yet when I play the slide show, two images are different than the thumbnails!

  • Password Protected xls files

    I just installed IWork with the hope of not needing to buy office for my new Mac. I have a number of password protected xls files that i need to open, and I am not given the option to put in the password? Any way around this, or am I stuck buying off

  • Playback component to change dvd to dv.....

    i recently purchased the pmeg2....installed it....but cant find it on my computer....has this happened to anyone else.......help........also when down loaded ,i got to options between types of quicktime....which do i use...i have updated version but

  • Mplayer-plugin - anyone can use it?

    Could you tell me how to use mplayer-plugin? Or could you point me to any documentation? This is example site with movies: http://www.galaxydynamics.org/cosmic_cruise.html When I click on avi this plugin just blocks firefox.