CPM - Failed to get application pool settings object. Error code:8011
Symptom
The issue only occurs when the customer has the below configuration.
The target server joined the dev domain, and the logon account used for the IIS Application pool setup is from the main domain.
Below is the error captured in PM_error.log and IIS Application Pool debug logs.
pm_error.log
===========
CACPM072E Change password process on remote machine failed (Error: 8011, Safe: xxxxx, Folder: Root, Object: xxxxx).
CACPM250E Operation on remote machine on password object Safe: xxxxx, Folder: Root, Object: xxxxx failed (try #0) with the following error: Execution error. EXT01::Failed to get application pool settings object. Error code:8011
Debug.log
========
07/11/2024 01:42:29.486 | Info -> bj :: b -> Received: Failed to get application pool settings object (80070721, PMIISAppPool.vbs): A security package specific error occurred.
Environment
10.5;10.10;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;13.2;13.1;14.0;13.3;14.2;14.3 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)
- Central Policy Manager (CPM)
- IIS Application pool
Cause
The same hostname existed in both the dev and main domains.
Resolution
Delete the duplicated hostname in either the dev or main domains.