SIA MSSQL DB - Windows Domain Vaulted Accounts connection failing with "DPA_TARGET_DB_INVALID_CREDENTIALS - Error: 21006"
Symptom
When connecting to MSSQL DB via SIA with a vaulted Windows Domain Account, the connection fails with the following error:
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: