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.

How to get credentials for agent to access the MSSQL instance

Tapish Sharma1
Kilo Sage

Hi Experts , 

I have an agent installed on windows machine with MSSQL instance running on it. I am configuring metric policies , some checks require credentials to login to MSSQL. How can we get these credentials? do we need to provide access to the agent service account to database or create a new service account and use those credentials ? Currently I have set up a new service account with access to the database to run select queries , but those credentials are throwing login failure error. 

Any inputs would be helpful 

 

TapishSharma1_0-1694774869089.png

 

1 REPLY 1

Rahul Priyadars
Tera Sage

Try Applicative Credentials for Login inside to MS SQL Instance.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1096053

Regards

RP