If the asset being imported contains an ampersand in the name, an XML parsing error is thrown and the DataSync fails
Not all users and computers get imported within App Portal and the DataSync.log file shows the following exception:
Error getting computer table template XML parsing: line 1, character 136, semicolon expected at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
Having an ampersand character '&' in either the computer or the user name causes the above XML parsing exception to be thrown. This is turn causes the data sync import process to fail.
To workaround the issue, the ampersand character in the machine or user name can be replaced to allow the import to finish successfully.
The other alternative is to use a custom sync query that does not import machine or user names with the ampersand character e.g The following SQL query can be used for a Custom Device Sync Query: select vrs.ResourceID from v_R_System vrs where vrs.Netbios_Name0 not like '%&%' order by vrs.Netbios_Name0
This issue was being tracked under bug issue #IOJ-1780781