Discovery Credentials

carloschaluisan
Kilo Contributor

While running our Discovery Schedules, a significant amount of authentication / credential issues are being generated. The errors with the highest occurrence are:

  • Connection failed to WMI service. Error: Permission denied
  • SSHCommand: No valid credential found for types [SSH Password,SSH Private Key]
  • Failed to access target system. Please check credentials and firewall settings on the target system to ensure accessibility: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Here is what we've done so far:

  • Confirmed the usernames and passwords in the Credentials table are correct Confirmed the MID Servers are up.
  • Firewalls in the Host Machines where the MID servers are installed are disabled
  • Set mid.use_powershell = true in each MID Server
  • Set mid.powershell.use_credentials = true in each MID server
  • Set mid.powershell.local_mid_service_credential_fallback = false in each MID server
  • Manually ran WMI (gwmi) queries and tested SSH from the Host servers where the MID servers are installed and confirmed access is granted and data is returned.

Any troubleshooting suggestions would be greatly appreciated...

20 REPLIES 20

doug_schulze
ServiceNow Employee
ServiceNow Employee

When using local credentials be sure that..


1. You do not have User Access Control (UAC) enabled on the target you are looking to discover


2. The user name in the Credential table is in the .\user format..



then it 'should' work just fine..