Azure / Azure/azure-cli

[Role] `az role assignment list --subscription` shows empty principalName

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

Description

**Describe the bug**
`az role assignment list --subscription` shows empty `principalName` for subscription which is not under the current tenant (shown in `az account show`).

The `principalName` is empty:
```
{
...
"principalName": "",
"principalType": "User",
...
},
{
...
"principalName": "",
"principalType": "Group",
...
},
```

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.