Posts

Showing posts from July, 2023

Step GlobalUpdate script for service model: RetailServer on machine: DEV-VM is failing during MsDyn365FO package deployment

In the past, I often had the problem that during package deployment of a service update via Lifecycle Services (LCS) the step “GlobalUpdate script for service model: RetailServer” unexpectedly failed. The reason why this was not expected is that I´m not using the RetailServer at all, so the component should be in the same state as it was deployed or updated by the previous service update. After some research, I found the post from Rahul Sharma in the Dynamics 365 community blog . Because of this blog, I found the solution which “solved” the error several times already. All you have to do is: 1. Connect to the intended environment. 2. Find the latest deployable package applied to the environment. It will be under folder <ServiceVolume>:\DeployablePackages\ 3. Under the deployable package folder, find the following SQL script <ServiceVolume>:\DeployablePackages\RetailServer\Scripts\DropAllRetialChannelDbObjects.sql This script, when run against the AOS database, will remo...