Skip to content

[Reference feedback]: Am I supposed to remember the IDs or Names? #31304

@gh4dp

Description

@gh4dp

Type of issue

Other (describe below)

Reference command name

az ad sp show

Feedback

I am sorry but I could not find the reason for NOT having the following as a valid option:
az ad sp show --name

I am just assuming I must be doing something wrong. The current command offers following syntax:
az ad sp show --id "alphanum-aaaa-nnnn-aaaa-abcd12345678" ( i.e. valid "appId" ).
Meaning I must have stored the appId somewhere OR must remember it.

It would be more helpful if I can get the details using the name not the ID.
This means I must pull it from portal even if I have given a better meaningful name.

Thanks

Page URL

https://learn.microsoft.com/en-us/cli/azure/ad/sp?view=azure-cli-latest#az-ad-sp-show

Content source URL

https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-autogen/Latest-version/latest/ad/sp.yml

Author

@mikefrobbins

Document Id

ce8023ab-d509-d477-7e27-4cf62215f04c

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamGraph(doesn't work with label-triggered comments; use Graph.Microsoft instead) az adact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-triageThis is a new issue that needs to be triaged to the appropriate team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions