SIA-RDP Fails Intermittently with DPA_CONNECTION_UNAUTHORIZED
Symptom
SIA-RDP Fails intermittently with;
DPA_CONNECTION_UNAUTHORIZED
Access denied. Please contact your system administrator.
Client error message
Authorization Error
Error in SIA Portal;
SIA Logs:
"status":"user failure","connection_attempt":"Failed","finished_time":null,"duration":null,"error_description":"Access denied. Please contact your system administrator.","error_code":"DPA_CONNECTION_UNAUTHORIZED","error_message":"Authorization Error","error_doc":null,"error_action_steps":null,"warning_code":null,"warning_description":null,"warning_message":null,"warning_doc":null,"warning_action_steps":null
Environment
Secure Infrastructure Access (formerly DPA) Privileged Session Management (PSM)
Cause
The error 'DPA_CONNECTION_UNAUTHORIZED' indicates that there is no policy match for the user or target criteria.
To resolve this issue, ensure that the user is included in the appropriate access policy and that the target machine matches the defined criteria in the policy.
Additionally, verify that the IP address and other connection parameters are correctly configured. If the issue persists, consider reviewing the session logs for more details or contacting support for further assistance.
Resolution
This is an authorization error, specifically a conditional access error, which is why the error appears intermittently.
Check the policy the account belongs to on your Identity Provider (AWS, Azure etc.) and check the specific conditional access parameter that does not match.
For instance, the user attempted to login outside of specific business hours e.g. 8am - 6pm BST. If they attempt to login at 7:55am BST, this Authorization error will show but if they attempt to login at 08:05am BST the login will complete successfully.