Idira Identity: Self service account unlock and password reset fails for some users in a cross-forest trust

Idira Identity: Self service account unlock and password reset fails for some users in a cross-forest trust

113
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 13:05 PM


Symptom


When self-service password reset or unlock is implemented, and a Cross-Forest or Multi-Forest trusts exists, often password reset will fail or seem to work and then not take effect. Additionally, account unlock does not work as expected either.

Environment


Identity App Access Service Identity tenant with Idira Identity Connector installed on AD

Cause


This can happen if the Cloud Connector services are running as the Local System account (default), and try to reset a password or unlock an account across the trust. (Domain A Cloud Connector, running as Local System, tries to reset a password on Domain B, via the trust). Authentication is successful, but password reset and unlock will still fail. This is because the Local System account does not have the correct permissions to do so on the other domain across the Trust (where the User is sourced from).

Resolution


There can be three solutions to this issue. All will require at least one Domain Admin account (or comparable).


Option 1

1. Create a single service account (Domain Admin or comparable) in one (primary) AD, and grant them permission to the "Account Operators" built-in group in AD for each Domain. Be sure to specify the correct location when searching for this new account on the other domains.



2. Once the new service account has been added to the subsequent Domain Built-in "Account Operators" group, next, the Administrator will want to go to the policy (or policies) used in the CyberArk Identity Admin Portal for the Account Self Service settings.

Navigate to Policies > Select policy name > User Security Policies > Self Service.

Here, we will switch the configuration from the default, “Use cloud connector running on privileged account" to instead "Use these credentials." We will enter the new service account here, which if properly added to the Account Operators group for each domain, should be able to perform the reset or unlock.





Option 2

1. Follow step 1 from Option 1 above.

2. On the Cloud Connector hosts across all domains, the Administrator will want to change the account used for the CyberArk Identity Cloud Connector service to use this new Service account from step 1.

3. On the Cloud Connector host, open services.msc from the Run Command (Windows Key+R)



4. Locate the “CyberArk Identity Connector” service and right click to select “Properties”

5. On the “Log On” tab, choose the radio button called “This account.” Use the “Browse” button to find the new Service account that was created in step 1. Add the password and then click “Apply” and “Ok”

6. Stop and Restart the service from the "General" tab to update.

7. Proceed with this change on all hosts running the Cloud Connector Service.



Option 3

1. This option will require a separate Domain admin user for each separate AD source.

2. Next, in the CyberArk Identity Admin Portal, the Administrator will need to create a role for each AD source. Here the Administrator will scope the Users from the source AD via some security group membership in the domain (Users@ is a built-in group)



3. The Administrator will next create a policy for each Role that was created. The new policy will only be applied to the Users from the Role they belong to. This should equate to 1 Role per 1 Policy.

4. For each policy, specific to the domain AD source, follow step 2 for Option 1 to add the new Service account to be used for that policy. This way, the Administrator account for the domain AD source will be used for the Users which belong to the same AD source.

5. Last, since policies are applied top-down in the listed order, the Administrator will want to make sure that these policies have no other settings or restrictions in place, and then move them to the top of the list in the Policies section. The Administrator will also likely want to remove any other settings which may be in place for Account Self Service.


Additional Information


Details

Problem:

When self-service password reset or unlock is implemented, and a Cross-Forest or Multi-Forest trusts exists, often password reset will fail or seem to work and then not take effect. Additionally, account unlock does not work as expected either.



Cause:

This can happen if the Cloud Connector services are running as the Local System account (default), and try to reset a password or unlock an account across the trust. (Domain A Cloud Connector, running as Local System, tries to reset a password on Domain B, via the trust). Authentication is successful, but password reset and unlock will still fail. This is because the Local System account does not have the correct permissions to do so on the other domain across the Trust (where the User is sourced from).



Solution:

There can be three solutions to this issue. All will require at least one Domain Admin account (or comparable).


Option 1

1. Create a single service account (Domain Admin or comparable) in one (primary) AD, and grant them permission to the "Account Operators" built-in group in AD for each Domain. Be sure to specify the correct location when searching for this new account on the other domains.




2. Once the new service account has been added to the subsequent Domain Built-in "Account Operators" group, next, the Administrator will want to go to the policy (or policies) used in the CyberArk Identity Admin Portal for the Account Self Service settings.

Navigate to Policies > Select policy name > User Security Policies > Self Service.

Here, we will switch the configuration from the default, “Use cloud connector running on privileged account" to instead "Use these credentials." We will enter the new service account here, which if properly added to the Account Operators group for each domain, should be able to perform the reset or unlock.





Option 2

1. Follow step 1 from Option 1 above.

2. On the Cloud Connector hosts across all domains, the Administrator will want to change the account used for the CyberArk Identity Cloud Connector service to use this new Service account from step 1.

3. On the Cloud Connector host, open services.msc from the Run Command (Windows Key+R)



4. Locate the “CyberArk Identity Connector” service and right click to select “Properties”

5. On the “Log On” tab, choose the radio button called “This account.” Use the “Browse” button to find the new Service account that was created in step 1. Add the password and then click “Apply” and “Ok”

6. Stop and Restart the service from the "General" tab to update.

7. Proceed with this change on all hosts running the Cloud Connector Service.



Option 3

1. This option will require a separate Domain admin user for each separate AD source.

2. Next, in the CyberArk Identity Admin Portal, the Administrator will need to create a role for each AD source. Here the Administrator will scope the Users from the source AD via some security group membership in the domain (Users@ is a built-in group)



3. The Administrator will next create a policy for each Role that was created. The new policy will only be applied to the Users from the Role they belong to. This should equate to 1 Role per 1 Policy.

4. For each policy, specific to the domain AD source, follow step 2 for Option 1 to add the new Service account to be used for that policy. This way, the Administrator account for the domain AD source will be used for the Users which belong to the same AD source.

5. Last, since policies are applied top-down in the listed order, the Administrator will want to make sure that these policies have no other settings or restrictions in place, and then move them to the top of the list in the Policies section. The Administrator will also likely want to remove any other settings which may be in place for Account Self Service.


  


Actions
  • Print
  • Copy Link

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