Skip to content

Azure ML YAML issues

Shantnu Suman edited this page Dec 22, 2022 · 1 revision

If you are having issues with the Azure CLI while working with Azure ML YAML files in VSCode, please try one of the following steps:

  • Make sure you have Azure CLI installed in the global environment and not any python virtual environment using pip or any other package manager. Please follow the steps mentioned here to install Azure CLI
  • Run az upgrade command to update the Azure CLI to the latest version
  • Run az extension update -n ml to update the ML extension to latest versions

If you get an error message like "expected a single document in the stream, but found more"

You are probably using YAML Multi Documents. If yes, Azure ML CLI 2.0 currently doesn't support multiple yaml document streams from a single file and thus we don't allow users to submit multi document yaml files from the extension.