Apr 28 2021 09:58 AM
Anybody knows if I can get a report (I assume from Graph) which only displays users with multiple devices assigned (as Primary User, which most likely was an error when issuing replacement device etc)
Thanks
Seb
Apr 29 2021 12:46 AM
Apr 29 2021 01:09 AM
It gives... a report (of sorts).
In User Display Name, it only shows for machines that were manually Enrolled & it gives the name of the person that done it, but NOT Primary User (as assigned in Properties)
Apr 29 2021 01:22 AM - edited Apr 29 2021 01:25 AM
Hi,
Also tested the script, but you are right indeed, on another blog they were telling this would show the primary user but it doesn't. Just changed a primary user... it is indeed not listed
Did you also take a look at this one: It will list all primary users for each device.
I guess if you take some time you can change the script a little bit to get a better report
https://github.com/microsoftgraph/powershell-intune-samples/blob/master/ManagedDevices/Win10_Primary...
Apr 29 2021 01:27 AM - edited Apr 29 2021 01:46 AM
Yes, I am using already these powershell-intune-samples.
Sadly they are build with no option to output to anything apart from screen (without code change), so I do
$File="C:\temp\devices.txt"
Start-Transcript $File -Append
.\Win10_PrimaryUser_Get.ps1
Stop-Transcript
Why is so difficult to get proper reporting from MDM?
Apr 29 2021 01:34 AM
SolutionApr 29 2021 02:51 AM
Apr 29 2021 01:34 AM
Solution