Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Answered

Manually running Retargetting tool error

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
    RE: Manually running Retargetting tool error

    Excellent, thank you so much Steven that fixed my issue

  • Verified answer
    Xusheng Profile Picture
    Xusheng 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans