Share via

Intune Graph Api in clause error

Kari Kauppinen 1 Reputation point
2020-12-30T13:26:23.537+00:00

Following graph api query:
https://graph.microsoft.com/v1.0/deviceManagement/ManagedDevices?$filter=operatingSystem in ('Android','iOS')

Should return devices where operating system equals Android or iOS.
Instead returns
{
"error": {
"code": "InternalServerError",
"message": "{\r\n \"_version\": 3,\r\n \"Message\": \"An internal server error has occurred - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: Url: https://fef.xxxx.manage.microsoft.com/DeviceFE/StatelessDeviceFEService/deviceManagement/managedDevices?api-version=2018-05-24&$filter=operatingSystem+in+(%27iOS%27)\\",\\r\\n \"CustomApiErrorPhrase\": \"\",\r\n \"RetryAfter\": null,\r\n \"ErrorSourceService\": \"\",\r\n \"HttpHeaders\": \"{}\"\r\n}",
"innerError": {
"date": "2020-12-30T13:24:29",
"request-id": "",
"client-request-id": ""
}
}
}

Microsoft Security | Intune | Other

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.