sqlserver probe Error: Login failed from an untrusted domain
search cancel

sqlserver probe Error: Login failed from an untrusted domain

book

Article ID: 444623

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

The sqlserver probe fails to connect to the Microsoft SQL database with the error "Login failed. The login is from an untrusted domain"

Symptoms

  • Probe status shows "red" or "error".
  • Log file contains: Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
  • The issue persists even when sqlcmd confirms auth_scheme is KERBEROS from the same robot.

Environment

  • DX UIM 23.4.*
  • sqlserver probe any version

Cause

Copying the connection string or the .cfg file from a different environment (e.g., from Production to Test) can cause internal attribute mismatches. The probe fails to negotiate Kerberos correctly using the old configuration metadata, and since NTLM is blocked, it cannot fall back, resulting in the "untrusted domain" error.

Resolution

To resolve this issue, create a new monitoring connection manually instead of copying an existing one:

  1. Open the sqlserver probe configuration.
  2. Do not copy or clone existing connections.
  3. Select Add New Connection.
  4. Manually enter the FQDN, username (Domain\User), and password.
  5. Save and restart the probe.

Additional Information

sqlserver (SQL Server Monitoring) Release Notes