CPM - CASGP007E Password Generation error: Password policy defines effective length shorter than sum of required password components
115
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 15:53 PM
Symptom
When managing accounts on a password base platform the following error is received in the pm_error.log:
""CACPM126E Error generating Password Object (error: CASGP007E Password Generation error: Password policy defines effective length shorter than sum of required password components (Diagnostic information: 50 8).).""
Environment
10.10;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM) Central Policy Manager (CPM)
Cause
The PasswordLength specified in the platform you are using must be greater than the total sum of MinUpperCase + MinLowerCase + MinDigit + MinSpecial .
E.g if you have a password length of 12 the sum of MinUpperCase + MinLowerCase + MinDigit + MinSpecial must be less than 12.
Resolution
In PVWA, Navigate to Administration --> Platform Management --> Edit the required platform --> Generate Password.
Either
1) Increase the size of the PasswordLength parameter so that it is greater than the sum of all components.
2) Decrease the Minimum character requirements for MinUpperCase + MinLowerCase + MinDigit + MinSpecial such that the total is smaller than the PasswordLength parameter
The action taken will depend on your organizations password policy and the password policy restrictions of the Target system.
Further information on password generation parameters an be found in our online documentation - https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASREF/Automatic%20Password%20Management%20-%20Generate%20Password.htm