Forum Discussion
Matthew_H1895
Mar 16, 2022Copper Contributor
Trying to parse a url using query params using Microsoft.Graph.Intune module
Invoke-MSGraphRequest -Url 'https://graph.microsoft.com/beta/deviceManagement/managedDevices?$select=id,imei,operatingSystem,ownerType,managedDeviceOwnerType&$filter=(operatingSystem eq ''iOS'')'...
Moe_Kinani
Mar 17, 2022Bronze Contributor
Hi Matthew,
Have you thought about using PowerAutomate? It’s easier than using powershell or Postman, then you can parse the results and use them.
Here is a good guide:
https://www.petervanderwoude.nl/post/using-a-custom-connector-for-device-management-actions-in-microsoft-intune/
Moe
Have you thought about using PowerAutomate? It’s easier than using powershell or Postman, then you can parse the results and use them.
Here is a good guide:
https://www.petervanderwoude.nl/post/using-a-custom-connector-for-device-management-actions-in-microsoft-intune/
Moe
- Mar 17, 2022
Moe_Kinani You could also store the output from https://graph.microsoft.com/beta/deviceManagement/managedDevices in a variable and query from there?
$devices=https://graph.microsoft.com/beta/deviceManagement/managedDevices $devices.value | Where-Object operatingSystem -Contains 'iOS'
- Mar 17, 2022Or PowerBi 🙂 https://docs.microsoft.com/en-us/mem/intune/developer/reports-proc-create-with-odata
- Mar 23, 2022
Did you manage to get a report?