Hi ,
Thanks for reaching out to Microsoft Q&A.
As of now, directly passing parameters from an adf pipeline to an Azure ML execute python script module remains unsupported. This limitation has been acknowledged in discussions dating back to 2021, and there have been no official updates indicating a change in this capability.
alternative approaches to try:
- Utilize Azure Batch with ADF:
- You can configure ADF to run Python scripts via Azure Batch, allowing parameter passing. In this setup, parameters can be passed as command-line arguments to the Python script.
- Leverage Azure Databricks:
- ADF can execute notebooks or Python scripts in Azure Databricks, where parameters are passed seamlessly. This method offers flexibility and integration capabilities.
- Custom Modules in AML Designer:
- AML Designer supports creating custom modules, which can be designed to accept parameters. This approach requires additional setup but provides a tailored solution within the AML environment.
While these alternatives may require adjustments to your current workflow, they offer viable solutions to achieve the desired parameter passing functionality between adf and your python scripts.
Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.