Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Manually running Retargetting tool error

(0) ShareShare
ReportReport
Posted on by 310

Hi All,

i am getting same error as mentioned in this Post

https://community.dynamics.com/365/commerce/f/dynamics-365-commerce-forum/369595/retargetting-tool-error-in-d365fo

 but what steven W mentioned in reply screenshot is not visible, can some one help me with what manually needs to be changed in which configuration file?

error i am getting error log below

2020-04-29T16:39:21 : Retargeting failed
2020-04-29T16:39:21 :
PSMessageDetails :
Exception : System.Management.Automation.ParameterBindingValidationException: Cannot validate argument on
parameter 'AosSOAPEndpointUrl'. The argument is null or empty. Provide an argument that is not
null or empty, and then try the command again. --->
System.Management.Automation.ValidationMetadataException: The argument is null or empty.
Provide an argument that is not null or empty, and then try the command again.
at System.Management.Automation.ValidateNotNullOrEmptyAttribute.Validate(Object arguments,
EngineIntrinsics engineIntrinsics)
at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal
parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags)
--- End of inner exception stack trace ---
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext
funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame
frame)
at
System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
frame)
at
System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
frame)
TargetObject :
CategoryInfo : InvalidData: (:) [Set-RetargetedRetailInformation], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationError,Set-RetargetedRetailInformation
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at <ScriptBlock>, C:\Temp\Update34GA\RetargetingTool.2.0.19016.1\RetailServer\EnvironmentRetarg
et\RetargetRetailServer.ps1: line 72
at <ScriptBlock>,
C:\Temp\Update34GA\RetargetingTool.2.0.19016.1\RetailServer\scripts\RetargetRetailServer.ps1:
line 20
at <ScriptBlock>, <No file>: line 3
at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}

  • Suggested answer
    Vasudev Kochuveettil Profile Picture
    310 on at
    RE: Manually running Retargetting tool error

    Excellent, thank you so much Steven that fixed my issue

  • Verified answer
    Xusheng Profile Picture
    on at
    RE: Manually running Retargetting tool error

    Please make sure below two parameters have value once before you run this tool.

    pastedimage1588211259810v1.png

    If the parameter don't have the value, you need manually set it. Hope this can help you.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,129 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,895 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans