-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Get-AzADUser with advanced queries not working #16874
Comments
It seems a service bug. Its behavior is different from documentation. I use the example on doc and send request to service directly
I seems |
@dingmeng-xue the documentation specifies that the count parameter should be included too, maybe that's what is missing, it should be added by default when you call the Az.Resources module with a filter like that.
|
It's not the reason. You can try it via website https://developer.microsoft.com/en-us/graph/graph-explorer |
It absolutely requires the |
@JustinGrote , According to API spec of MSGraph, When I tried
|
Your query is not the same as my query. You did a ne filter, not an eq filter, you did it on department not company, and it is also not clear if you specified ConsistencyLevel eventual header. You need both the header and count for advanced queries |
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you! |
Still an issue. |
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you! |
@dingmeng-xue still an issue. |
I'm also running to same issue with Get-AzADUser cmdlet. Any estimates on fix timeline? |
We will expose parameter: "Count" in 2022-09-06 release |
Thanks, this works now: |
Description
If i understand correctly, the following advanced query should work because i set
consistencyLevel eventual
:Documentation: https://docs.microsoft.com/en-us/graph/aad-advanced-queries#support-for-filter-on-properties-of-azure-ad-directory-objects
Issue script & Debug output
Environment data
Module versions
Error output
The text was updated successfully, but these errors were encountered: