Unable to login as a normal user

jitendra2027
Tera Contributor

Hi team,

I have created a user with my admin account on servicenow. But when I try to login the user with the user id and password (auto generated by servicenow), it shows invalid username or password. Why am I unable to login as a normal user. Is there any other portal of servicenow for normal users.

Thanks in advance.

3 REPLIES 3

Shubham Kumbhar
Kilo Guru

Hello  jitendra2027,

 

-Create a new user under User Administration Module

-Provide the correct username (e.g. user_name) and password (e.g. User@123).

-Log out as an admin and try to log in as a user that you have created using the correct credentials.

-Because there is no other portal of ServiceNow for normal users.

-I just tested your query on my PDI and it is working fine for me.

-Please try it once again.

 

Mark helpful if you get the solution for this.

 

Thank You.

Manikandan Than
Tera Expert

Hello @jitendra2027 ,

If the instance was integrated with the AD server and its login through SSO. Your user id was available in the ServiceNow instance but not in AD. Then follow the below steps to login.

- After creating the user, you can try to login with this link https://(instance_name).servicenow.com/login.do it will take the user to the login page directly so when they use the email address and password of the user created in the service now directly, they will be able to login without any SSO authentication.

Mark helpful if you get the solution for this.

 

Regards,
Manikandan

Community Alums
Not applicable

I thought I'd add to what has already been shared in case it helps anyone else. 


Issues can arise if you export a user record as an .xml from an environment using SSO, then import that record to an environment not using SSO. In this scenario, you can reset the password as many times as you like, the user will not be able to login. This is because the 'source' on the user record still has the data from the SSO instance. Simply removing the information from the source field will allow the user to login locally using the PW you have supplied them. 

    var rec = new GlideRecord('sys_user');
    rec.addEncodedQuery('sys_id=c6b8fd49e5f84a1006c576c92837ba48'); //sysid of imported user
    rec.query();
    if (rec.next()) {
        rec.source = '';
        rec.update();
    }