Azure / Azure/azure-cli-extensions

az ml job create not working anymore: "ERROR: Met error <class 'KeyError'>:'mlflow.source.git.branch'"

Open
#8,941 3 comments 3 reactions 0 assignees View on GitHub
Auto-Assign bug customer-reported extension/ml Machine Learning Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

### Describe the bug

Since Thursday (03.07.2025) I get the error "ERROR: Met error :'mlflow.source.git.branch'" permanently when using the command "az ml job create". Unfortunately, I cannot say whether this also affects other commands.

### Related command

az ml job create -f job.yml --resource-group name-of-your-resource-group --workspace-name name-of-your-workspace --set something-to-set

### Errors

ERROR: Met error :'mlflow.source.git.branch'

### Issue script & Debug output

Class AutoDeleteSettingSchema: This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
Class AutoDeleteConditionSchema: This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
Class BaseAutoDeleteSettingSchema: This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
Class IntellectualPropertySchema: This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
Class ProtectionLevelSchema: This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
Class BaseIntellectualPropertySchema: This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
ERROR: Met error :'mlflow.source.git.branch'
Please check log by running the command with '--debug' for more details.

### Expected behavior

An Azure ML job should normally be created.

### Environment Summary

azure-cli 2.74.0 *

core 2.74.0 *
telemetry 1.1.0

Extensions:
azure-devops 1.0.2

Dependencies:
msal 1.32.3
azure-mgmt-resource 23.3.0

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.