May 03 2020
- last edited on
Jan 14 2022
Didn't really find an answer to this and getting a proper answer from support seemed hard because the functionality spans multiple teams. So here it goes.
As I read in the dynamic group documentation (Docs Page - Device Rules) the "device.enrollmentProfileName" would allow me to create dynamic groups of Win10 devices based on their assigned autopilot profile. I was getting mixed results when I was trying/testing this however.
What I could establish so far is that it seems this value for the device is set as it's getting deployed with the profile or getting enrolled in Intune. And if you later reassign the device to a different Autopilot profile the value is not changed until you restage or re-enroll the device.
I'ld like to have some confirmation that this is actually correct and if it is at Autopilot deployment only or also when re-enrolling the device in intune.
As an extra it would be nice to export this value for all devices, but so far saw no reference to this attribute when polling devices with PowerShell or the MSGraph.
Who could clarify this a little bit for me?
May 03 2020 06:36 AM
May 03 2020 06:42 AM
May 03 2020 06:44 AM
May 03 2020 10:33 AM
Yes, but the grouptags are pretty much the devicephysicalIDs.
U use them in dynamic groups just the same:
(device.devicePhysicalIds -any _ -eq "[OrderID]:Sales")
I know all that, but I want to know the answer to my question. Out of curiosity. You can solve my problem in many different ways. But my curiosity is only solved with knowledge. :D
Nov 25 2020 12:33 AM
@ShellBlazer I'm curious about this too. Were you ever able to find a solution for this?