-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
az ad user list --upn should support starts_with functionality like --display-name does #9216
Comments
You can use the
For full reference of the filter synatx, check out https://docs.microsoft.com/en-us/graph/query-parameters#filter-parameter |
I am pretty sure I have addressed this question, so I am closing it. Feel free to reactivate if you are still blocked |
Hello @yugangw-msft need help I need to list all user in AAD with displayname and email, I m trying this way it is not display anything can you help |
@jiasli could you help with above? |
@dshamanthreddy, your command looks good to me. Projecting The command is working fine in my test:
Things you may check:
|
I am not quite sure if its feature request or bug...
Will quckly find all users starting with
"displayName"
:"John Doe (Exter"
-> It will find
John Doe (External)
in this case, which is OK.I suppose that:
should do the same with
"userPrincipalName"
attribute-> It will not find anyting, unless You supply full
--upn
name.I understand that this is neccessary for
az ad user show --upn-or-object-id
to output only single result.Is possible to use something like this:
but it takes almost 1,5 min in our environment, instead of almost instant output with
az ad user list --upn "John.Doe@exa"
Thanks
The text was updated successfully, but these errors were encountered: