Azure / Azure/azure-cli-extensions

Azure ML 2.38 fails to create models

Open
#8,976 3 comments 1 reaction 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

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
```cmd
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_

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.