Forum Discussion
Coopem16
Sep 17, 2021Brass Contributor
Byod Device information Via Powershell
Hello, We need to try and pull Device Model for our BYOD (registered devices). It does not look like it is an Available property using Get-AzureADUserRegisteredDevice. Does anyone know how to Gathe...
- Sep 20, 2021For AAD registered without enrollment use the method from Jannik with this Graph API query :
GET https://graph.microsoft.com/v1.0/devices
This post can be usefull :
https://smsagent.blog/2018/10/22/querying-for-devices-in-azure-ad-and-intune-with-powershell-and-microsoft-graph/
Graph API :
https://docs.microsoft.com/en-us/graph/api/device-list?view=graph-rest-1.0&tabs=http#example-1-get-a-list-of-devices
Jannik_Reinhard
Sep 20, 2021Iron Contributor
Coopem16 :
With the follow Graph provider you get the information you need:
https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/
Here you can find a script from which you can get the PS function:
https://github.com/microsoftgraph/powershell-intune-samples/blob/master/ManagedDevices/ManagedDevices_Get.ps1