Calling PS script from Azure Webjobs

Occasional Visitor

Hi,

 

This is my first post here. 

 

I am from D365 FO background . I am integrating azurejobs using logic apps.

 

This is my PS script

param($scriptPath,$inputPath,$outputPath)
perl $scriptPath -input $inputPath -output $outputPath

 

When I execute the above command directly in ps, I am getting the expected result.

(perl script is called and the files are moved properly)

I am passing the value of paths from logic apps gateway. 

But I end up with the attached error when I call the same ps script from azure webjobs

 

 

Do I need to modify the ps script here?

0 Replies