Azure / Azure/azure-cli

Can I call 'az ad user list' using the Graph Beta?

Open
#22,636 4 comments 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-identity-squad Auto-Assign customer-reported Feature Candidate feature-request Graph
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

## Describe the bug
When using `az ad user list` in the new version of AZ CLI 2.37.0, the result that comes back is the graph call
https://graph.microsoft.com/v1.0/users

I would like to know if you can tell the az cli to use the Beta version of the MS Graph calls?
https://graph.microsoft.com/beta/users

**Command Name**
`az ad user list`

## Environment Summary
```
Windows-10-10.0.17763-SP0
Python 3.10.4
Installer: MSI

azure-cli 2.37.0

Extensions:
account 0.2.2
application-insights 0.1.15
azure-devops 0.23.0
costmanagement 0.1.1
log-analytics 0.2.2
logic 0.1.5

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1
```
## 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.