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

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Retail Environment Reprovisioning Retarget Tool on VHD

(0) ShareShare
ReportReport
Posted on by 2,119

Hello,

What is the process of running Environment Reprovisioning tool on VHD environment.

I have restored the Database from UAT (Update 20) to Local VHD (Update 10.0.13)

The modules implemented in UAT are Finance, SCM, Payroll and Retail/Commerce.

I want to run Retail Retarget tool on the VHD. I have downloaded it from LCS and tried running it:

pastedimage1629398553419v1.png

But I'm getting below error:

pastedimage1629398617061v2.png

Is there a blog to explain how it can be run on VHD?

---------------Update1-----------

I followed this Blog Using the Retail Reprovisioning tool for Dynamics 365 for Operations – JohanPersson.nu

and ran the Runbook command but getting below error:

pastedimage1629399723299v1.png

Appreciate any tips.

Regards,

I have the same question (0)
  • Suggested answer
    Juliet Zhu Profile Picture
    on at
    RE: Retail Environment Reprovisioning Retarget Tool on VHD

    Hello,

    First of all, given that you are restoring a 10.0.20 database to 10.0.13 VHD, have you applied the 10.0.20 service update?

    If you have done so, please make sure the 10.0.20 service update is located in a short path, for example, C:\temp.

    Inside of that update package go to RetailServer\Scripts find a script called RetargetRetailServer.ps1 and manually run it under a PowerShell Administrator console.

    Like this:

    pastedimage1629407209864v1.png

    Thanks,

    Juliet Zhu

  • MYGz Profile Picture
    2,119 on at
    RE: Retail Environment Reprovisioning Retarget Tool on VHD

    Thanks Juliet. I have downloaded Service update 20. Do we directly apply it to 13? Or I have to go step by step first major update 17 and then update 20?

    Regards,

  • Juliet Zhu Profile Picture
    on at
    RE: Retail Environment Reprovisioning Retarget Tool on VHD

    It's not mandatory to do so, applying another interim service update before upgrading to 10.0.20. As always, just make sure you have backup of everything before applying the service update, in case anything goes wrong and easier for troubleshooting.

    Thanks,

    Juliet Zhu

  • MYGz Profile Picture
    2,119 on at
    RE: Retail Environment Reprovisioning Retarget Tool on VHD

    I ran the service update 20. It got stuck at step 9. There's no file like that in that folder for which it is giving the error:

    pastedimage1629438239702v1.png

  • MYGz Profile Picture
    2,119 on at
    RE: Retail Environment Reprovisioning Retarget Tool on VHD

    Update:

    So as you said keeping the folder into small path was crucial. It was in downloads folder. I took it to C:\ServUpd20. now the error is gone.

  • MYGz Profile Picture
    2,119 on at
    RE: Retail Environment Reprovisioning Retarget Tool on VHD

    Update:

    Getting Error on Step 25: Sync AX database:

    System.Management.Automation.RuntimeException: An exception of type System.Net.WebException occurred when making an http request to: http://127.0.0.1/ReportServer. Refer to the log file for more details.

    pastedimage1629441711288v1.png

  • MYGz Profile Picture
    2,119 on at
    RE: Retail Environment Reprovisioning Retarget Tool on VHD

    Update:

    Started Report Server manually from SQL Server configuration service and then it passed the step.

    pastedimage1629445330572v1.png

  • MYGz Profile Picture
    2,119 on at
    RE: Retail Environment Reprovisioning Retarget Tool on VHD

    So Service Update 20 is done. Thanks so much Juliet.

    pastedimage1629454071598v1.png

    But I'm now stuck at Retarget Retail script. Getting below errror:

    pastedimage1629454138318v2.png

  • Juliet Zhu Profile Picture
    on at
    RE: Retail Environment Reprovisioning Retarget Tool on VHD

    Were you running this with Administrator?

  • MYGz Profile Picture
    2,119 on at
    RE: Retail Environment Reprovisioning Retarget Tool on VHD

    This is a new user with Administrative privileges. Not the first user:Administrator.

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 > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 309 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Laurens vd Tang Profile Picture

Laurens vd Tang 93 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans