Parameterizing Azure ML linked service in ADF

Adhisivan Ragunathan 40 Reputation points
2025-02-13T02:00:02.9566667+00:00

I am trying to dynamically configure ML Execute activity in ADF. It allowed me to create dynamic content with parameters for ML linked service for subscription ID, workspace name etc. However when integrating with ADF ML Execute activity, I don't see any option to pass on these parameters. Generally I get to see linked service parameters showing up under settings section, in this case it is not. Is it something not supported and only works with hardcode configuration or Am I missing something?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,149 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,293 questions
{count} votes

Accepted answer
  1. Chandra Boorla 9,120 Reputation points Microsoft Vendor
    2025-02-27T14:00:46.82+00:00

    @Adhisivan Ragunathan

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer.

    Issue:

    I am trying to dynamically configure ML Execute activity in ADF. It allowed me to create dynamic content with parameters for ML linked service for subscription ID, workspace name etc. However when integrating with ADF ML Execute activity, I don't see any option to pass on these parameters. Generally I get to see linked service parameters showing up under settings section, in this case it is not. Is it something not supported and only works with hardcode configuration or Am I missing something?

    Solution:

    "The issue has been resolved, by handling it by overwriting the ADF ARM template parameters in the Azure DevOps deployment pipeline, allowing for dynamic configuration of the ML Execute activity."

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    Hope this helps. Do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Adhisivan Ragunathan 40 Reputation points
    2025-02-27T08:55:56.47+00:00

    We solved this problem by overwriting the ADF ARM template parameters through Azure DevOps Deployment pipeline. Thank you all for the prompt response.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.