Use the Azure Machine Learning activity to run a job on an Azure Machine Learning instance

The Azure Machine Learning activity in Data Factory for Microsoft Fabric allows you to run a job on an Azure Machine Learning instance.

Prerequisites

To get started, you must complete the following prerequisites:

Add an Azure Machine Learning activity to a pipeline with UI

To use an Azure Machine Learning activity in a pipeline, complete the following steps:

Create the activity

  1. Create a new pipeline in your workspace.

  2. Search for Azure Machine Learning in the pipeline Activities pane, and select it to add it to the pipeline canvas.

    Note

    You may need to expand the menu and scroll down to see the Azure Machine Learning activity as highlighted in following the screenshot.

    Screenshot of the Fabric UI with the Activities pane and Azure Machine Learning activity highlighted.

  3. Select the new Azure Batch activity on the pipeline editor canvas if it isn't already selected.

    Screenshot showing the General settings tab of the Azure Machine Learning activity.

Refer to the General settings guidance to configure the General settings tab.

Azure Machine Learning activity settings

  1. Select the Settings tab, then you can choose an existing or create a new Azure Machine Learning connection.
  2. Choose and Endpoint type, either Batch Endpoint or Pipeline (v1).
  3. Provide a Batch endpoint and Batch deployment and configure **Job settings for the Batch Endpoint type, or provide the pipeline details to run an Azure Machine Learning Pipeline (v1).

Screenshot showing the Settings tab of the Azure Machine Learning activity.

Save and run or schedule the pipeline

After you configure any other activities required for your pipeline, switch to the Home tab at the top of the pipeline editor, and select the save button to save your pipeline. Select Run to run it directly, or Schedule to schedule it. You can also view the run history here or configure other settings.

Screenshot showing the Home tab in the pipeline editor with the tab name, Save, Run, and Schedule buttons highlighted.