Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Discovery Failing at Windows Classification Despite Existing Discovery Service Account Permissions

Aman_07
Tera Contributor

Hi All,

I would like some clarification on the expected behavior for ServiceNow Discovery when discovering new Windows SQL Servers.

A few months ago, we successfully implemented Windows Discovery using a dedicated service account.
Windows Discovery is currently working successfully for servers that were included in the original Discovery scope.

Current Database Discovery:

We are now implementing SQL Server Discovery and plan to reuse the same Windows service account using Windows Authentication.

The DBA team has already:

  • Granted the required SQL access (VIEW SERVER STATE)
  • Provided a list of non-production SQL Servers for testing

Issue

When I run Quick Discovery against one of the pilot SQL servers, Discovery fails during the Windows Classification phase

Could not find any valid credentials to authenticate the target for type [Windows]
Active, couldn't classify: No WMI connection

From the WMI Runner logs:

  • ServiceNow successfully finds and attempts the Windows credential
  • All credential attempts fail authentication
  • TCP 135 is open
  • WinRM (5985) is open
  • DNS resolution is successful

My Question

My understanding was that since the Windows Discovery service account already has the required permissions, I should only need to grant the additional SQL permissions for Database Discovery.

However, based on the behavior, it appears that the SQL pilot servers may require the same Windows Discovery onboarding/configuration to be applied individually on those servers.

Could someone clarify:

  1. Are permissions such as DCOM, WMI namespace access, Distributed COM Users, Performance Monitor Users, etc., typically configured on each target server?
  2. If a service account already works for Windows Discovery on one set of servers, should it automatically work on other Windows servers?

 

Any guidance would be appreciated.

Thanks in advance.

0 REPLIES 0