Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Applicative Credentials for MSSQL

KhasimKhanP
Tera Expert

Hi folks,

 

I'm trying to discover MS SQL installed in Windows Machine.

I've defined applicative credentials and win credentials but's throwing the error.

 

KhasimKhanP_0-1739520546915.png

 

Credentials being used:

User name: sa

KhasimKhanP_0-1739520713947.png

 

 

 

 
 

 

 

 

8 REPLIES 8

Hlo @Selva Arun ,

I didn't find any record in the MS SQL instance table.

Oh, okay, let me check more and get back to you.

 

Regards,

 

Selva Arun

AjinA
Tera Contributor
ChatGPT said:

It looks like the issue is mainly with the SQL authentication and network setup rather than the discovery tool itself. Make sure you are using the exact SQL instance name (for example, MACHINE\SQLEXPRESS) in your configuration. Also, open SQL Server Configuration Manager and enable TCP/IP under SQL Server Network Configuration → Protocols for SQLEXPRESS. For easier discovery, set a static port (like 1433) instead of dynamic ports and allow it through the Windows Firewall. In SQL Server Management Studio, confirm that the server is running in Mixed Mode Authentication so that the sa login works, and test those credentials manually from another machine. If the manual connection fails, the credentials or SQL configuration itself need to be fixed first. The probe error you’re seeing usually points to invalid or inaccessible credentials.

SK Chand Basha
Tera Sage
Tera Sage

Hi @KhasimKhanP 

I would suggest use Command Validation tool

There is a plugin Pattern Enhancements, from that you can validate the all the pattern commands with respective credentials and mid server.

SKChandBasha_0-1759026505605.png

See if respective MSSql pattern commands are passed or not!