1. DELETE FROM dbo.$ndo$navappschemasnapshot WHERE [istableextension] = 1 and originalobjectid = <custom object ID range>
2. Run Sync-NAVTenant. In our case, we still getting the error
3. Drop all tables with $AppData. Not sure why these tables exists after converted from 15.2 to 16.1. We found these tables exists in some ways but from other databases that we converted it doesn't.
Answers
https://community.dynamics.com/business/f/dynamics-365-business-central-forum/395258/sync-navtenant-error-when-upgrading-to-bc-16-2
1. DELETE FROM dbo.$ndo$navappschemasnapshot WHERE [istableextension] = 1 and originalobjectid = <custom object ID range>
2. Run Sync-NAVTenant. In our case, we still getting the error
3. Drop all tables with $AppData. Not sure why these tables exists after converted from 15.2 to 16.1. We found these tables exists in some ways but from other databases that we converted it doesn't.
4. Run Sync-NAVTenant again.