Integrating via Windows Credentials

Its_Azar
Mega Sage

Hi All

 

For an integration we are supposed to use an windows credentail to connect to the endpoint, not sure how this works, i have created an rest message connected the endpoint selected the midserver,  but still not able to connect, how do we connect using an windows credential? 

1 REPLY 1

sanjaygupta
Tera Guru

You need to configure a Windows credential in ServiceNow and associate it with your REST Message. Selecting a MID Server alone does not provide authentication credentials.

One important distinction is whether the endpoint expects Windows Integrated Authentication (NTLM/Kerberos) or Windows username/password authentication.

  • Navigate to All > Connections & Credentials > Credentials.

  • Select New.

  • Choose the appropriate Windows credential type, if available in your instance.

  • Enter the Windows username, password, and domain.

  • Save the credential.

  • Open your REST Message record.

  • Check the Authentication Type and select the appropriate supported authentication method.

  • Associate the credential with the REST Message or its connection configuration.

  • Ensure the MID Server is selected to route the request through your internal network.

  • Test the REST Message using the HTTP method's Test option.

If the endpoint specifically requires NTLM or Kerberos authentication, verify that your REST Message configuration and MID Server support the required authentication protocol. A standard Basic Authentication credential is not automatically equivalent to Windows Integrated Authentication.

Also check the MID Server logs for authentication failures and connectivity errors.

Reference: ServiceNow Documentation – Create credential records and connection configurations.

Hope you found it helpful!