How to make "Machine Learning Execute Pipeline" activity in ADF use default pipeline version(or latest version) of published endpoint in Azure ML studio

Hemanth Kumar Koraboina 0 Reputation points
2023-04-12T22:39:00.65+00:00

In Azure ML studio, In pipelines -> pipeline end points -> select any published pipeline -> published pipelines As shown below, I have published one pipeline. User's image

Now while configuring "Machine Learning Execute Pipeline" activity in Azure Data Factory, it provides an option to select the pipeline version. I can select the latest version and run the pipeline. User's image

My question: In future, I have updated some things in the script and published new pipeline under the same end point as below and made it the default. User's image

But, my ML Execute pipeline still points to the older version, Is there a way to set the Pipeline Version in ADF in such a way that, it should always point out to the latest version or default version. So that I can make my developments and there is no need for me to update each and every time in ADF.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,611 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,751 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,201 Reputation points Microsoft Employee
    2023-04-13T16:11:17.6733333+00:00

    Hi Hemanth Kumar Koraboina,

    Thank you for posting query in Microsoft Q&A Platform.

    If pipeline version dropdown not showing default or latest option? If yes, try them or try to left unselected. That way I guess it may point to latest or default pipeline automatically. If above is not the case, then I would suggest you use add dynamic content option for it and try to dynamically Paas your pipeline version using pipeline parameters.

    Hope this helps. Please let me know if any further queries.


    Please consider hitting Accept Answer button. Accepted answers help community as well.


  2. Xiaoxue Wang 0 Reputation points
    2023-08-31T12:07:31.3566667+00:00

    Hi,

    You just need to set a dynamic content for you pipeline version to "Default". Then your ML Execute pipeline will use the default pipeline for that endpointScreenshot 2023-08-31 at 14.00.48

    .

    0 comments No comments