SIA ZSP - Error 'DPA_EPHEMERAL_ACCESS_FAILED_CREATE_AD_USER' when trying to connect to a domain joined target with zero standing privilege
Symptom
When initiating a connection to a domain joined target with SIA ZSP ephemeral domain accounts flow, the session fails to initiate with he following error:
DPA_EPHEMERAL_ACCESS_FAILED_CREATE_AD_USER', 'error_description': 'The ephemeral AD user could not be created, please make sure the strong account has enough permissions to do so.', 'error_message': 'Failed to create the ephemeral AD user, please contact your system administrator.', 'session_id':
Environment
Secure Infrastructure Access (formerly DPA) DPA for SSH;DPA for RDP;DPA for Databases
SIA with Zero Standing Privilege ephemeral domain accounts
Cause
The ephemeral user could not be created by the strong account defined for the domain.
In most cases this is due to the strong account lacking permissions in the domain/OU where ephemeral users are to be created.
Resolution
Validate the strong account's permissions in the domain match the requirements in the official documentation:
- To enable connection via an ephemeral domain user:
- Ensure Enable creation of ephemeral domain users is enabled.
- The strong account should be a domain user defined with only those permissions required to perform the following operations in the most common organization unit of the groups defined in the access policy:
- Create, delete, and manage user accounts
- Modify the membership of a group
- To perform profile cleanup at the end of the session, the account should also have sufficient permissions to delete folders under c:\users on the target servers.
- For least privilege considerations, we strongly recommend using an account that has delegation control only on the most common organization unit of the groups defined in the access policy. We do not recommend adding the account to groups, such as Domain Admins, which can provide the expected permissions.
Official document can be found below:
https://docs.cyberark.com/ispss-access/latest/en/content/admin/dpa-add-manage-strong-accounts.htm