Skip to content

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

@pmatthews05

Description

@pmatthews05

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

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botFeature CandidateGraph(doesn't work with label-triggered comments; use Graph.Microsoft instead) az adact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions