Microsoft Graph - Filtering managed devices by wiFiMacAddress/ethernetMacAddress returns all device records
I'm currently trying to retrieve devices registered with Intune via the Company Portal using the API v1.0/deviceManagement/managedDevices?$filter=.
I'm able to filter by serialNumber as expected, but when I try filtering by wiFiMacAddress/ethernetMacAddress, all registered devices are returned in the response.
Using the Graph Explorer, I made some requests with valid values for serialNumber, wiFiMacAddress, and ethernetMacAddress. The urls were formatted as shown:
https://graph.microsoft.com/v1.0/deviceManagement/managedDevices?$filter=serialNumber eq 'XXXXXXXXXXXX'
https://graph.microsoft.com/v1.0/deviceManagement/managedDevices?$filter=wiFiMacAddress eq 'XXXXXXXXXXXX'
https://graph.microsoft.com/v1.0/deviceManagement/managedDevices?$filter=ethernetMacAddress eq 'XXXXXXXXXXXX'
Out of curiosity, I also tried using startsWith and endsWith, with the same results: serialNumber works but neither MAC address.