SIA - DPA-ACCOUNT-SECRET-RETRIEVAL-FAILURE
Symptom
When attempting SIA RDP connection, the following error appears under session diagnostics:
"status":"user failure","connection_attempt":"Failed","finished_time":null,"duration":null,"error_description":"Failed to retrieve vaulted credentials for user, please make sure the account is configured correctly","error_code":"DPA_ACCOUNT_SECRET_RETRIEVAL_FAILURE","error_message":"Failed to retrieve vaulted credentials for user - Please contact your system
Environment
14.6 Secure Infrastructure Access (formerly DPA) DPA for RDP DPA for RDP Vaulted Access
Cause
SENARIO 1:
For this particular case, backend logs in Datadog showed the following:
Multiple accounts were found matching the connection parameters. In this instance, the customer had two accounts with the same name under the same domain stored in the vault causing a conflict when attempting a connection via SIA
SENARIO 2:
Backend logs showed the following:
{"code":403,"message":"Forbidden","description":"Not authorized to use password in Safe Error","errorCode":"ACC00205E"}
User may be part of a group doesn’t have the ‘Use Accounts’ permission on the relevant Safe that is being attempted to access/use. Hence this error message being displayed.
Resolution
SENARIO 1:
Delete one of the matching accounts so there is only one unique account that can be pulled from the vault
***This can also appear due to the account(s) being a member of an Account Group, which is not yet supported in SIA at the time of this update. It is currently planned, but no timeline is yet available.
SENARIO 2:
Ensure the user accessing the relevant safe has the 'Use Accounts' permission enabled