ServiceNow Discovery Credential is working for midserver but not for other server

hanwar2
Kilo Sage

@Runjay Patel @Dr Atul G- LNG 

 

I need some urgent help. I am facing issue with Discovery Credential which is working for MidServer through MidServerServiceAccount but not working for another server.

 

I have created two windows servers in AWS in same VPC, subnet, Security Group and used one server for MidServer.

 

I am able to run discovery for midserver but other server it is not working. Even the MidServerService Account is also not passing the credential test.

 

MidServer IP is 2.0.0.7 and the other server IP is 2.0.0.195, when I run discovery it is getting all scan completed for 2.0.0.7 but not for 2.0.0.195

 

Please help

 

1 ACCEPTED SOLUTION

hanwar2
Kilo Sage

Hi All, 

Thanks for your suggestions. 

I was able to sort it out by making the changes in Firewall of the VMs which I was trying to discover. 

View solution in original post

11 REPLIES 11

Najmuddin Mohd
Mega Sage

Hello @hanwar2 

I learnt that,


When we use MidServerServiceAccount, it means that the MID SERVER is installed on that IP Address machine and no credential is needed. It will take the credential of the MidServer service account user's password.


So, the first server which you are discovering has the MID SERVER Installed and use MidServerServiceAccount is using the MidServer service account user's password and validating.

For, second there is no MID Server installed on it and MidServerServiceAccount will not validate, since Mid Server is not installed on it.

To Discover the other Server, you need to create a Credential in the Credentials table with Username and Password. (the one you use to login).



If the above information helps you, Kindly mark it as Helpful and Accept the solution.
Regards,
Najmuddin.


Hi @Najmuddin Mohd 

 

Thanks for your reply.

 

I did add the windows login and password which I have for 2nd server in the Discovery > Credentials and tried to test the credentials but it is not validating.

I have added both the windows credentials which I generated from AWS as well as ServiceAccount user name and password which I created for the 2nd server

I am attaching the screenshots, can you suggest the steps which I have to use.

 

hanwar2_0-1739645959960.png

hanwar2_1-1739646010414.pnghanwar2_2-1739646104042.png

 

 

 

 

Hi @hanwar2 

 

Could you please add the domain name as well in the username. 

Hi @SK Chand Basha 

I have tried to domain name as well .\username but credential test is failing.

hanwar2_0-1739692314231.png