Skip to content

az ad app credential list --id xxxxx - not listing 'certificate' type details  #10263

@paulpuvi06

Description

@paulpuvi06

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
I am trying to get credentials list of my APP using **az ad app credential list --id ** , but it returns only client secret list.

To Reproduce
Create AD SP
Upload certificate to SPN and execute

az ad app credential list --id <applicaitonid>

az ad sp credential list --id <applicaitonid>

Expected behavior

it should return all type of credentials belongs to specific applicationid. i am able to get the types (AsymmetricX509Cert,Password) using below commands in pwsh, but really want to use az cli for --show-mine filter :)

Get-AzADApplication -ObjectId "xxxxxx" | Get-AzADAppCredential

Environment summary

azure-cli - 2.0.70 * | mac os 10.14.5 (18F132)

Metadata

Metadata

Labels

Graph(doesn't work with label-triggered comments; use Graph.Microsoft instead) az adcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions