Skip to content

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

@Stoneberger

Description

@Stoneberger

Describe the bug

Since Thursday (03.07.2025) I get the error "ERROR: Met error <class 'KeyError'>:'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 <class 'KeyError'>:'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 <class 'KeyError'>:'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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botMachine LearningService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.extension/ml

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions