Azure / Azure/azure-cli

'az role assignment list' should support '--assignee-object-id'

Open
#15,994 6 comments 5 reactions 1 assignee Claimed by @jiasli View on GitHub
act-identity-squad Feature Candidate feature-request RBAC
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.**
az role assignment create has a parameter '--assignee-object-id', but 'az role assignment list' doesn't have.

using '--assignee' would require access to graph api, this is unexpected when we already known the object id but doesn't have access to graph.

**Describe the solution you'd like**
Add '--assignee-object-id' parameter to 'az role assignment list' same as ''az role assignment create'

**Describe alternatives you've considered**

**Additional context**
cli 2.13

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.