Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Discovery Scans for Windows targets will return the data of the MID Server host, not the Target, when the MID Server falls back to the service user - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Discovery Scans for Windows targets will return the data of the MID Server host, not the Target, when the MID Server falls back to the service user
KB0750751

Discovery Scans for Windows targets will return the data of the MID Server host, not the Target, when the MID Server falls back to the service user


2177 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Description

If a customer uses only the service account on the MID server service for their Windows credential, and do not have any windows credentials in the credential table of the instance, all windows discovery probes return details from the MID Server host, and not the target that's meant to be scanned.
The WMI classify probe returns the hostname of the MID server, not the target.

This issue is maintained even if the following properties are explicitly applied to the MID server:
mid.powershell.use_credentials = false
mid.powershell.local_mid_service_credential_fallback = true

The fallback facility to use the mid service credential is no longer working. It is acting as though there are no credentials being used at all. Since you can reproduce this with:
mid.powershell.use_credentials = false
mid.powershell.local_mid_service_credential_fallback = false

Steps to Reproduce

On a Madrid Patch 3 instance:

  1. Install a MID Server on Windows, and run the service as a domain user that has local administrator rights on target discovered servers
  2. Do not add any Windows Credentials to the instance
  3. Discover a target IP, different to the MID Server host

The CI of the MID Server host will end up being linked to the Device History for the IP scanned.

Inspect the "Windows - Classify" ECC Queue input record, and the hostname and other details of the MID server host will be returned.

If Windows - Identity probe also runs, the IP addresses returned by that will be of the MID Server, and not include the expected target's IP, proving we are not scanning the target.

Workaround

This problem is currently under review. You can contact ServiceNow Technical Support or subscribe to this Known Error article by clicking the Subscribe button at the top right of this form to be notified when more information will become available.

To avoid the issue, make sure valid Windows Credentials exist in the instance Credentials table, and can be used by Discovery MID Servers.

If you have never needed additional Windows Credentials, you can still add the MID Server's Windows Service login as user as a Windows Credential in the instance.

It is possible you also hit this bug because you have Windows Credentials, but none are active or assigned to the MID Server used by Discovery. This may also be the case after a clone, when credentials records may still have references to the MID Servers that only exist in the source instance of the clone, and in that case the Credentials need to be set to 'All MID Servers' or add the specific MID Servers of the clone target instance instead.


Related Problem: PRB1348739

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.