Skip to content

"az resource list --tag" gives strange error #9916

Description

@mick62

Describe the bug

Command Name
az resource list

Errors:

you cannot use the tag filter with other filters

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • I assigned tag (key) 'customer' for 2 of my storage accounts.
  • az resource list --tag 'customer'

Expected Behavior

JSON text with description of the 2 resources which have tag 'customer' assigned.

Environment Summary

Windows-10-10.0.16299-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.65 *

Additional Context

Metadata

Metadata

Assignees

Labels

ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupResource Manager-cliWorkaroundbugThis issue requires a change to an existing behavior in the product in order to be resolved.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions