This is a repost from an ongoing issues I've had - would like to bubble it up to see if anyone has found a solution.
I am creating a table in my enterprise geodatabase, enabling global ids and archiving, and sharing as a referenced feature service with sync enabled to my Portal. I do this all with ArcGIS Pro / Python.
When I share this feature layer with my distributed collaboration configured to send as copies, a hosted feature layer is created in my ArcGIS Online instance reflecting the data in my enterprise geodatabase. That works as expected.
However, this table is periodically updated outside ArcGIS - that is, with native SQL. This process runs a truncate on the table, and repopulates with new data. This process also generates new global ids to populate on load as well.
This is where the distributed collaboration breaks.
My logs say "failure in processing exports for Replica", "Failed to export data changes message for replica with Guid," "Failed to export data changes to replica". "Invalid column value [globalid]."
So I'm assuming something is happening with the globalid. They look to be the standard format {8}-{4}-{4}-{4}-{12}, where the number is the number of characters (e.g. 52B2EBC3-DBA2-46C1-93F1-0D6DD52A2F13)
So two questions:
1. It is unsupported to maintain a distributed collaboration when the source table is maintained outside of ArcGIS
2. If not, is there a different process our DBA should follow so that the synchronization successfully processes?
For example - is there a different enterprise database system table (e.g. archive table) that is updated as well that helps facilitate the collaboration. So when updating an database with ArcGIS tools, the tool internals automatically update the system table, but when updating with SQL, that system table doesn't get updated. Searching for any help here - I feel like this should be supported somehow - the replication system is great, but to assume all the data ETL is done with ArcGIS is a little short-sighted.