Hi All,
We use Lifecycle Services to setup our Dynamics 365 environments and use Azure DevOps to build and release our ISV code on those environments.
Currently our environments are running on either "App version 8.1 and PU 20" or "App version 8.1.1 and PU 21".
We also use the release pipelines to execute data restores. High-level procedure:
- Stop AOSService
- Restore AxDB database from A to B..
- Start AOSService
- Execute synchronization
This is done via PowerShell scripts.
It is during the synchronization that the error occurs. The sync happens in 2 stages:
- DbSync
- DimensionsSync
The 'DbSync' runs ok without problems, but the 'DimensionsSync' fails from time to time. (not always and at random times)
There are no errors in the 'DbSync' log files, but in the error log file for the 'DimensionsSync' we found the below:
We're not sure if we should truncate the 'SysLastValue' table on our source environment or not as the issue doesn't occur during each restore process...?
This is the PowerShell code for the Dimensions sync part:
We tried restoring the source backup that caused a sync failure on another target environment via Azure DevOps > release pipeline. But there the sync succeeded (the stage task 'Sync' succeeded). When looking at the log file from a succeeded Dimensions Sync, there's still some type of error in the log file though...
Has anyone got any experience with this issue?
Thank you for your feedback.