Views:

Applies to Product - Dynamics 365 Lifecycle Services


What’s happening?
Custom code applied to production is being removed after applying a quality update patch.
 

Reason:
This behavior occurs because the image promoted from the sandbox to production includes all custom code along with the standard code. When a quality update package is applied, it overwrites whatever is already present in the production environment.
 

Resolution:

  • After applying a custom package to production, if a quality update package is subsequently applied, the custom code may be wiped off. This is expected behavior as the sandbox image that is promoted to production contains the state of the environment at the time of the quality update.
  • There was no need to apply the quality update package to production after applying the custom package, as the custom package already contained the quality update.