microsoftgraph / microsoftgraph/msgraph-beta-sdk-dotnet
Device Compliance Scripts Device Run State Wrapper is broken
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 112
- Forks
- 37
- Avg merge
- 14h 57m
- Merged PRs (30d)
- 3
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the deviceManagement/deviceComplianceScripts/{deviceComplianceScript-id}/deviceRunStates endpoint and the SDK method shown in the issue. Compare the generated request with the Graph Explorer request and verify that it returns a DeviceComplianceScriptDeviceStateCollectionResponse with data; no source file or test is named.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100