Azure / Azure/azure-cli

`az ad group member list` does not list service principals

Open
#22,664 26 comments 9 reactions 1 assignee Assigned to @isra-fel View on GitHub
act-identity-squad Auto-Assign common issue customer-reported Graph needs-author-feedback Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**
az ad group member list

**Describe the bug**
`az ad group member list` does not list service principals.

**To Reproduce**
Run `az ad group member list --group ` on a group with members of type `Service Principal`.

**Expected behavior**
Returns all members of the group, including Service Principals.

**Additional context**
```json
{
"azure-cli": "2.37.0",
"azure-cli-core": "2.37.0",
"azure-cli-telemetry": "1.0.6",
"extensions": {
"account": "0.2.1",
"aks-preview": "0.5.10",
"application-insights": "0.1.13",
"datafactory": "0.5.0"
}
}
```

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.