# Fix “Login From an Untrusted Domain” Authentication Errors in Dynatrace

**URL:** <https://community.dynatrace.com/t/fix-login-from-an-untrusted-domain-authentication-errors-in-dynatrace/44531>\
**Category:** Extensions\
**Tags:** mssql, extensions\
**Created:** [March 8, 2024, 2:14pm UTC](https://community.dynatrace.com/t/fix-login-from-an-untrusted-domain-authentication-errors-in-dynatrace/44531 "2024-03-08T14:14:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vidhyasagar](https://avatars.discourse-cdn.com/v4/letter/v/a9adbd/32.png) [@Vidhyasagar](https://community.dynatrace.com/u/Vidhyasagar)\
**Post date:** [March 8, 2024, 2:14pm UTC](https://community.dynatrace.com/t/fix-login-from-an-untrusted-domain-authentication-errors-in-dynatrace/44531/1 "2024-03-08T14:14:13Z")

</div>

_Summary:&nbsp;This post explains why integrated authentication fails with the “login from an untrusted domain” error and provides steps to correct domain trust, credential configuration, and AD settings._

Hello,

I am trying to onboard SQL Always On clusters using an extension in Dynatrace, and I am using AD credentials authentication.

Once the configuration is enabled, when I check, it gives the error " The login is from an untrusted domain and cannot be used with Integrated authentication," which is expected.

As per the documentation of Dynatrace, they are asking to import the server certificate to the keystore.&nbsp; [Microsoft SQL Server monitoring configuration — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/microsoft-sql-monitoring#ssl)

Please, someone, help me decide which certificate to import and how to pull the cert from the SQL cluster server.

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [March 8, 2024, 2:43pm UTC](https://community.dynatrace.com/t/fix-login-from-an-untrusted-domain-authentication-errors-in-dynatrace/44531/2 "2024-03-08T14:43:40Z")

</div>

There are many, many reasons why this error appears. It can be an incorrect password or different AD environments or a locked out user and several others. There are some good tips here:&nbsp;[https://stackoverflow.com/questions/18603696/trouble-connecting-to-sql-server-login-failed-the-login-is-from-an-untrusted-d](https://stackoverflow.com/questions/18603696/trouble-connecting-to-sql-server-login-failed-the-login-is-from-an-untrusted-d)

---

<div class="post-metadata">

**Author:** ![sivart\_89](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sivart\_89](https://community.dynatrace.com/u/sivart_89)\
**Post date:** [March 8, 2024, 6:34pm UTC](https://community.dynatrace.com/t/fix-login-from-an-untrusted-domain-authentication-errors-in-dynatrace/44531/3 "2024-03-08T18:34:39Z")

</div>

We’ve personally seen that same error due to an incorrect password being used
