-
Notifications
You must be signed in to change notification settings - Fork 192
Object cast bug when calling OData actions and functions that return a collection. #610
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
Comments
Thanks for opening this bug. This is an issue with how delta response is described in our OpenAPI documents and is being tracked by microsoftgraph/microsoft-graph-devx-api#307. I'll make a follow-up to see how far we are to having a fix. |
@peombwa , this seems to affect |
Hello @peombwa, Same issue using cmdlet "Get-MgDirectoryObjectById" ` HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: [CmdletException]: Received exception with message 'InvalidCastException - Unable to cast object of type 'Microsoft.Graph.PowerShell.Runtime.Json.JsonObject' to type 'Microsoft.Graph.PowerShell.Runtime.Json.JsonArray'. : at Microsoft.Graph.PowerShell.Runtime.Json.JsonArray.Parse(String text) |
Uh oh!
There was an error while loading. Please reload this page.
Calling Get-MgGroupDelta with no parameters once connected results in a object cast error.
Steps to reproduce:
Install latest version (1.4.2) of the SDK.
Connect to graph
Run command
AB#8851
The text was updated successfully, but these errors were encountered: