msgraph-beta-sdk-dotnet
msgraph-beta-sdk-dotnet copied to clipboard
Device Compliance Scripts Device Run State Wrapper is broken
Describe the bug
I am trying to query a specific device compliant script's run states like below.
However, I am getting an error like below.
Expected behavior
Should be getting back an DeviceComplianceScriptDeviceStateCollectionResponse object with data.
How to reproduce
Either go to Graph Explorer and use this endpoint: https://graph.microsoft.com/beta/deviceManagement/deviceComplianceScripts/{deviceComplianceScript-id}/deviceRunStates
OR
Use the SDK and use the method like the first image of the post.
SDK Version
5.94.0-preview
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
It is important to note that it appears to be an issue with the URL/endpoint that is configured because even using the Graph Explorer tool I get this error.
Thanks for raising this @luke-patchblox
Are you able to confirm if this endpoint was working at some point? The error seems to suggest the endpoint is not supported by the API at the moment.
Thanks for raising this @luke-patchblox
Are you able to confirm if this endpoint was working at some point? The error seems to suggest the endpoint is not supported by the API at the moment.
I had not tested the endpoint before the day of that error, so I do not know if the endpoint was ever working. Perhaps it just hasn't been added yet?