Defining "Datamapping" virtual property at the "Target side" in sync mapping for SCIM connector will result in the following error on sync in the Target direction.
"Method (Insert object (Insert)) could not be executed successfully. [System.NullReferenceException] Object reference not set to an instance of an object."
The virtual property of type “datamapping” is not allowed to put into SCIM serializer (SCIM doesn’t know this type of property). This will work on read operations but not on write.
The root cause to this error is due to an already solved issue in projector engine. With this, the engine hands over all mapped properties to the SCIM connector nevertheless it has to be serialized or not.
Implement the datamapping virtual property on the 1IM side instead on the Target side.