Power BI Refresh Error:
Fabric Pipeline Error 4111
What does this error mean?
The `AzureMLExecutePipeline` activity references a linked service that is incorrect or incompatible with the Azure Machine Learning workspace required for this pipeline run. The activity cannot connect to the target ML workspace using the specified linked service.
Common causes
- 1The linked service referenced in the activity points to a different Azure Machine Learning workspace than the one containing the target published pipeline
- 2The linked service was updated to point to a new workspace or subscription without updating all pipeline activities that depend on it
- 3A wrong linked service was selected during pipeline authoring, either manually or through a template with pre-filled defaults
- 4Environment promotion (e.g., dev to production) resulted in a linked service mismatch where a development workspace reference remains in a production pipeline
How to fix it
- 1Step 1: Open the pipeline in Fabric Data Factory and locate the AzureMLExecutePipeline activity returning Error 4111.
- 2Step 2: Inspect the linked service currently referenced in the activity and note the Azure Machine Learning workspace it points to.
- 3Step 3: Confirm the correct target workspace by verifying the `mlPipelineId` or experiment name used in the activity against the Azure Machine Learning Studio for each workspace.
- 4Step 4: Update the activity's linked service reference to point to the correct Azure ML workspace linked service, creating a new linked service if one does not already exist for the target workspace.
- 5Step 5: Save and validate the pipeline, then trigger a test run to confirm the activity successfully connects to the correct Azure ML workspace.