Skip to content

Azure ML 2.38 fails to create modelsΒ #8976

@almmechanics

Description

@almmechanics

Describe the bug

The release of 2.38 of the azure ml library fails to create models

The new version is causing the command az ml model create to fail

No other code has changed within these pipelines and repos over the last week

Related command

As part of our setup for azure ML pipelines we install the latest release version

    az extension add -n ml -y --allow-preview false

Todays logs add the following, which was not present the previous day

2025-07-16T04:36:50.9844632Z WARNING: Preview version of extension is disabled by default for extension installation, enabled for modules without stable versions. 
2025-07-16T04:36:50.9845342Z WARNING: Please run 'az config set extension.dynamic_install_allow_preview=true or false' to config it specifically. 
2025-07-16T04:36:54.2704800Z WARNING: The command requires the extension ml. It will be installed first.
2025-07-16T04:36:57.7133188Z WARNING: Extension 'ml' 2.36.0 is already installed.
2025-07-16T04:36:57.7135331Z WARNING: It will be overridden with version 2.38.0.

Errors

This is repeatable across all models being trained

Issue script & Debug output

az ml model create --name $Name --path $Path --type custom_model -o json

Expected behavior

Model is registered, the output is JSON and no entries written to STDERROR

Environment Summary

/usr/bin/az --version
azure-cli 2.75.0

core 2.75.0
telemetry 1.1.0

Extensions:
azure-devops 1.0.2
ml 2.36.0

Dependencies:
msal 1.33.0b1
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