Skip to main content
Kofax

Special character usage in MSGraph account password

Article # 3035030 - Page views: 99

Issue

When using the below password for their MSGraph account, the connection to the mailbox doesn't work.
=-=-=-=-=-=-=-=-=-=-=-=--=-=
Z@SQ*c&EV)La.q3}
=-=-=-=-=-=-=-=-=-=-=-=--=-=

The following error is returned:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2021-09-01 19:26:36.715 ERROR [Thread=1] [Kofax.KCS.ImportConnector.Config.frmEditPop3MB] Connection to the mailbox using MS Graph cannot be established., Unexpected character encountered while parsing value: <. Path '', line 0, position 0.,
gridViewConnections_GotFocus
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Cause

This is a XML parsing limitation.

Solution

This is a XML parsing issue.
KIC requests are in XML format. We should avoid the following characters in the password field and other fields that goes into the request:

  1. <
  2. >
  3. &
  4. '
  5. ""

We have encountered similar XML parsing issues in the past and the best practice we would recommend is to avoid these 5 characters in the password.

Level of Complexity 

Easy

 

Applies to  

Product Version Build Environment Hardware
Kofax Import Connector All N/A N/A N/A

 

Article # 3035030