How do we reset SQLMonitor service account credentials?
cnwilson
Posts: 7 New member
Is there any way to update the service account's password without a full reinstall of the WebServer and Base Monitors? Our security regulations are requiring us to rotate the password regularly. Even though I can update the credential for SQL Monitor Base Monitor in Services and the service starts up successfully, it will still give "Incorrect service account credentials" when any user attempts to login to the portal. The SQL Monitor Web Service shows it is running as Local System.
We are not using IIS to host the Web Server, just the built-in Kestrel feature, and we are using a Windows AD account for all authentication to database hosts as well as running the Base Monitor services. We are on SQL Monitor version 12.1.50.8232.
We are not using IIS to host the Web Server, just the built-in Kestrel feature, and we are using a Windows AD account for all authentication to database hosts as well as running the Base Monitor services. We are on SQL Monitor version 12.1.50.8232.
Tagged:
Best Answer
-
cnwilson Posts: 7 New memberI had followed instructions on https://documentation.red-gate.com/sm12/troubleshooting/can-t-log-in-to-sql-monitor-with-active-directory/incorrect-service-account-credentials but had no luck. Another member of our team followed those steps and got it working. I believe I may have reinserted those [settings] table records too quickly or not restarted services when I first attempted.
Either way we are back in working order now and I'll know to clear those tables out each time we reset the service account credentials moving forward. Thanks again for the help ATurner.
Answers
You will also need to update the connection string. In the same data connection string mentioned here https://documentation.red-gate.com/sm/maintaining-and-upgrading-sql-monitor/maintaining-sql-monitor/moving-the-sql-monitor-database you should see the account and be able to change the password.
I may have misunderstood, are you talking about the account that is used to communicate with the database? or the one the base monitor or web server runs under?
Judging from some other screenshots I've seen, is it possible that some more recent versions are showing the proper account in Windows Services for the Web Monitor service? Ours has it as Local System even though the Base Monitor does show the proper AD account.
Thank you for the help ATurner!
In this case with using integrated authentication it will be using the base monitor account. So if you change the account running the base monitor service it will change the account connecting to the database.