web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

updateretailchanneldatabase.ps1 failed. line 272

(0) ShareShare
ReportReport
Posted on by

PU40 d365F&O

Step 60

globalupdate script for service model: retailserver on machine

updateretailchanneldatabase.ps1 failed. 

pastedimage1611030788732v3.png

I have the same question (0)
  • Suggested answer
    WillWU Profile Picture
    22,361 on at

    Hi Joham031,

    If you are not using Retail Channel functionality, you can try re-creating the Channel DB following the below steps. The following steps will indicate how to remove the Retail Channel Database components from the AOS database.

    1,Connect to the intended environment.

    2,Find the latest deployable package applied to the environment. It will be under folder <ServiceVolue>:\DeployablePackages\<PackageGUID>

    3,Under the deployable package folder, find the following SQL script <ServiceVolue>:\DeployablePackages\<PackageGUID>\RetailServer\Scripts\DropAllRetialChannelDbObjects.sql.

    This script, when run against the AOS database, will remove all objects related to the Retail Channel Database. Only proceed if you are not using the Retail Channel functionality.

    4,Connect to the AOS database and run the above script. This operation will take several minutes.

    5,Resume the package deployment or start the package deployment to have the Retail Channel components recreated correctly.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans