-
Notifications
You must be signed in to change notification settings - Fork 176
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
What happened to OData query arguments in the 1.0.1 release??? #409
Comments
Hey @KirkMunro Thanks for reporting this. A couple of us have tried it and we are not able to repro the error.
|
@KirkMunro, we've traced the issue to the underlaying .NET 4.x framework, and it only happens in PS 5.1 when targeting v1.0 profile. Consider using PS 7 as we work on getting a fix out via #410 This is related to #408 |
Any ETA for this? I can't use PS7 because I need ExchangeOnline. |
I'm really surprised that it has taken more than 2 weeks for this significant issue to get fixed. I just learned that this issue breaks usage of |
@darrelmiller: I see the fix for this is already in a PR, associated with your 1.1.0 milestone that shows as only being 16% complete, with no due date. PowerShell 7 as a workaround for this problem only works if you're talking to someone who is using Graph from native PowerShell. I have a product, that currently is built on the Windows PowerShell SDK, and while we will support the PowerShell 7 SDK, we're not quite there yet, so there is no workaround for me. The end result is that you've GA'ed a broken release, which holds us back on 0.9.1. When can I expect to see this issue fixed in an update to the Microsoft.Graph module bundle in the Gallery? |
Sorry about the delay. We were blocked by bad metadata that drives our generation process. This bug has now been fixed in 1.1.0. Use |
Thanks @peombwa, I have confirmed this resolves this issue. |
This used to work, pre-RTM:
Get-MgUser -All -Filter 'AccountEnabled eq true' -Expand Manager
Now it fails with the following error:
If I remove
-All
, it fails with this error:If I remove
-Filter
, it fails with this error:So all OData query arguments are broken since the 1.0.1 release.
Here is the output from the last command with debug turned on:
Please issue a hotfix for this as soon as possible.
Also, I strongly recommend adopting Pester tests as part of your CI/CD pipeline so that these regressions don't happen, or augmenting your Pester tests if you already have a Pester test harness in place.
cc: @darrelmiller
The text was updated successfully, but these errors were encountered: