Azure / Azure/azure-cli

add arg to `az ad sp credential list` for list of ID's

Open
#16,429 1 comment 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-identity-squad feature-request Graph
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Is your feature request related to a problem? Please describe.**

I'm writing a script to proactively check for expired SP credentials using `az ad sp credential list --id`, but that means that I have iterate over every SP ID and make a separate `az ad` call which is very slow as each call is a separate network request.

**Describe the solution you'd like**

I'd really like there to be an arg for passing a list of ID's that would allow me to reduce the number calls by a factor of N.

**Describe alternatives you've considered**

One alternative would be to just reduce the number of SP's on my account which would reduce the number of calls, but that's out of scope in my opinion.

**Additional context**

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.