[CPM] - Failed to convert xml content into a XmlDocument object type
95
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 12:58 PM
Symptom
Debug logs:
10/08/2020 02:35:23.306 | Info -> BaseAction :: ExecuteChain -> WSChains build version 1.0.7247.19245
10/08/2020 02:35:23.306 | Executing chain 'verifypass'
10/08/2020 02:35:23.306 | Executing link 'VerifyPasswordLink' using request 'VerifyPassword'
10/08/2020 02:35:23.306 | Replaced parameter '{{username}}' with value 'Administrator'
10/08/2020 02:35:23.322 | Replaced password '{{pmpass}}'
10/08/2020 02:35:23.322 | Info -> BaseAction :: ExecuteChain -> Error Stack Trace: Cyberark.Extensions.Plugin.WSInvoker.Exceptions.InitConfigurationXmlException: Failed to convert xml content into a XmlDocument object type ---> System.Xml.XmlException: An error occurred while parsing EntityName. Line 4, position 25.
Environment
9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6 [CPM]
Plug-in using:
- Cyberark.Extensions.Plugin.WSChains.dll
- <Plug-in Name>Chains.xml
Cause
- The password object content is being parsed and translated to XML
- The password contains characters that XML does not like
Example:
"
'
<
>
&
Resolution
Change the password to a password that does not contain the forbidden characters
Add these characters to the PasswordForbiddenChars parameter in the Policy.
PasswordForbiddenChars="<>;\&'