I need to execute various batch scripts located in a VM within my Resource Group. The call of these scripts needs to be orchestrated by Datafactory.
I learned about Run Command
in VM, and which can be used via PowerShell or Rest API. I was wondering if any of these ways is recommended to include in a Datafactory pipeline.
My approach at this point would be to use a Web Activity
to do the API calls, one for each script.
My question: Is there a more recommended way to do this? Do you see any bottleneck or situation that may be a problem with this approach?