SIA MSSQL DB - Windows Domain Vaulted Accounts connection failing with "DPA_TARGET_DB_INVALID_CREDENTIALS - Error: 21006"

SIA MSSQL DB - Windows Domain Vaulted Accounts connection failing with "DPA_TARGET_DB_INVALID_CREDENTIALS - Error: 21006"

155
Created On 11/10/26 10:53 AM - Last Modified 11/10/26 13:03 PM


Symptom


When connecting to MSSQL DB via SIA with a vaulted Windows Domain Account, the connection fails with the following error:

 

DPA_TARGET_DB_INVALID_CREDENTIALS - Failed to connect to target or target is not responding, please contact your system administrator [SessionID=<id1234>] (Microsoft SQL Server, Error: 21006) Connection ID <id5678> at <timestamp>
 



Environment


Secure Infrastructure Access (formerly DPA) DPA for RDP

SIA MSSQL Vaulted Windows domain account



Cause


The domain name is missing from the username in the connection.

 

When the connection is made with a Windows Domain account platform vaulted account, only the username is being passed to the DB for authentication, which causes the DB to look for the user as an internal db user (which does not exist), thus failing the connection.

 

This is caused due to the vaulted account's 'Log On To' optional parameter being empty.



Resolution


In the account in Privilege Cloud, fill in the domain-name (or FQDN if appropriate to the environment) in the 'Log On To' optional parameter and save the changes.

 

The next time the connection is made, SIA will pass the username parameter to the DB with the domain included, such as:

DOMAINNAME\userid

instead of simply:

userid

 

This requirement is documented in the official doc below:

https://docs.cyberark.com/ispss-access/latest/en/content/db/dpa-database-manage-va.htm#:~:text=Log%20On%20To%20must%20include%20the%20domain



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000mPeCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail