-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
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.