Janet Putnam Thank you for reaching out.
Issue:
I have an Azure sql db that I have a data sync with an on prem db. The sync was working and all was good. 1/31 we added a column to a table in the on prem db. I added the same column to my Azure sql db and refreshed the schema for the data sync. The new column appeared in the list of available columns, so I clicked it and hit save. The log message said "Schema information obtained successfully." The next time the sync was scheduled to happen the Azure sql was successful and the on prem db was successful, but the syncdata db has this.
error
"Database re-provisioning failed with the exception "Invalid column name 'LegalHold'.Inner exception: SqlException ID: 0af6effa-f946-48f7-8f66-720c5f1de8a6, Error Code: -2146232060 - SqlError Number:207, Message: Invalid column name 'LegalHold'. For more information, provide tracing ID ‘3965e3ce-1026-4a53-9bf5-b04a836f3320’
Solution 1
Drop and recreate the table with the conflicting column in the hub database even if the data type matches. In case there was a discrepancy with the data types, you will need to recreate the table with the correct data types.
Solution 2
The process should be: Add the column to the spoke db, Add the column to the hub db, Remove the table from the sync, Sync, Add the table back to the sync (the new column should be added automatically), Sync. If this works, it would save having to drop/recreate/repopulate the table.
Please let us know if that works.
Regards,
Oury