Skip to content

az acr task identity show -n Name -r Registry -o table shows wrong table headers and no output #11868

@BenjaminHerbert

Description

@BenjaminHerbert

Describe the bug

az acr task identity show renders incorrect result for output formats table and tsv.

In particular:
az acr task identity show -n redactedName -r redactedRegistry -o table renders wrong headers and no meaningful output.

Output format that shows the expected output:

  • json
  • jsonc
  • yaml
  • (none)

Output format that does not show the expected data:

  • table
  • tsv

To Reproduce

az acr task identity show -n redactedName -r redactedRegistry -o table

NAME    PLATFORM    STATUS    SOURCE REPOSITORY    TRIGGERS
------  ----------  --------  -------------------  ----------

One entry would be expected with different headers. (The printed headers look like the headers of az acr task list -r ... -o table.)

az acr task identity show -n redactedName -r redactedRegistry -o json renders expected output:

{
  "principalId": null,
  "tenantId": null,
  "type": "UserAssigned",
  "userAssignedIdentities": {
    "/subscriptions/redacted": {
      "clientId": "redacted",
      "principalId": "redacted"
    }
  }
}

Expected behavior
I expect some meaningful output data, regardless of --output format.

Errors:
No errors are thrown.

Additional Context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions