After synchronizing the Active Directory on the Policy Server MMC, there are users who are still not being added in the list.
On the Diagnostic Monitor, it shows the following error message:
2018 09/14 15:16:30 [04b4 : 001a] (00) (W) [PolicyServerWindowService.exe] 18/09/14 - 14:16:30.5882 AD Synchronization.
Exception MobileArmor.Diagnostics[26]::Logging.Post : Exception Bug in readcreds:System.InvalidOperationException:
There is an error in XML document (1, 344). --->
System.Xml.XmlException: ' ', hexadecimal value 0x0C, is an invalid character. Line 1, position 344.
...... at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at MobileArmor.Data.AdminTypes.ActiveDirectory.CryptoApi.ReadCredentials(String distinguishedName)
at MobileArmor.AppDomains.AD.Directory.x6c1268b8fdc7ecbd.xbb6b07ec32a2c4cc()???? - [(0)]
The issue is about getting an exception when reading data from the registry. To fix this issue, the user must remove the registry values to force the Policy Server recreate the values. Do the steps below:
- Open the Registry Editor, then navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Mobile Armor\DirectorySync\DNs.
- Delete all of the values, except "(Default)".
- Restart the Policy Server Windows Service to trigger AD Synchronization