Skip to content

az ml online-deployment update Cant update/removes tag #33834

Description

Related command
az ml online-deployment update --set tags.tag=tag

Is your feature request related to a problem? Please describe.
Hi,
For a ML deployment I want to use a tag as a hash fingerprint so can check if the new a new pipeline run has to update the deployment or not.

Currently tags can be added when a deployment is created
az ml online-deployment create -f "deployment.yml --set tags.tag=tag

And these tags can be requested through
az ml online-deployment show -n deployment-name --endpoint-name endpoint-name --workspace-name --query "[tags.tag]"

But the update command:
az ml online-deployment update --set tags.tag=tag
Throws the following error:
ERROR: Couldn't find 'tags' in ''. Available options: ['environment']

Seems the update command cannot set any tags, but only update the environment listed to them. Beyond that if the tags part is left out, and the deployment is updated it will remove any preexisting tags.

Describe the solution you'd like
For the update command to support tags to pull the command inline with the create command

Activity

  1. yonzhan commented on Aug 3, 2026

    @yonzhan
    Collaborator

    Thank you for opening this issue, we will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions