Azure / Azure/azure-cli

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

Open
#31,304 2 comments 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-identity-squad Auto-Assign Azure CLI Team customer-reported Graph needs-triage potential-pruning question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.