-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Describe the bug
When calling POST https://graph.microsoft.com/beta/deviceManagement/reports/getConfigurationPoliciesReportForDevice, I receive an error if specify any orderBy (I tried several combinations: ["PolicyId"], ["IntuneDeviceId"], ["IntuneDeviceId", "PolicyId"]).
However, the same request works if I just remove "orderBy" parameter
Expected behavior
Request should work with orderBy parameter
How to reproduce
Call POST https://graph.microsoft.com/beta/deviceManagement/reports/getConfigurationPoliciesReportForDevice with request body like:
{
"filter": "(IntuneDeviceId eq '') and ((PolicyBaseTypeName eq 'Microsoft.Management.Services.Api.DeviceConfiguration') or (PolicyBaseTypeName eq 'DeviceManagementConfigurationPolicy') or (PolicyBaseTypeName eq 'Microsoft.Management.Services.Api.DeviceManagementIntent') or (PolicyBaseTypeName eq 'DeviceConfigurationAdmxPolicy'))",
"orderBy": ["PolicyId"]
}
SDK Version
5.127.0
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
_No response_
