Forum Discussion
Users with Multiple Devices - Groups Best Practice
- Feb 08, 2020
Hi StuartK73 ,
I had the same scenario for one of our customers, in that case, what I would suggest,
Just create a Dynamic Groups.
Example:
Windows 10 laptop
- (device.deviceOSVersion -startsWith "10.0") and (device.deviceOwnership -eq "Company")
- (device.deviceOSVersion -startsWith "10.0") and (device.deviceOwnership -eq "Personal")
iOS Personal phone
- (device.deviceOwnership-eq "Personal")
iOS DEP / Corp phone
- (device.enrollmentProfileName -eq "DEP iPhones")
Android Enterprise Work Profile
- (device.deviceOSType -contains "AndroidEnterprise")
- (device.deviceOSType -eq "AndroidForWork")
MacOS
- (device.deviceModel -eq "iPad Air")
And then simply create your Intune Management Profiles and Categories based on those created groups.
And don't forget to benefit of using device categories.
Hi StuartK73 ,
I had the same scenario for one of our customers, in that case, what I would suggest,
Just create a Dynamic Groups.
Example:
Windows 10 laptop
- (device.deviceOSVersion -startsWith "10.0") and (device.deviceOwnership -eq "Company")
- (device.deviceOSVersion -startsWith "10.0") and (device.deviceOwnership -eq "Personal")
iOS Personal phone
- (device.deviceOwnership-eq "Personal")
iOS DEP / Corp phone
- (device.enrollmentProfileName -eq "DEP iPhones")
Android Enterprise Work Profile
- (device.deviceOSType -contains "AndroidEnterprise")
- (device.deviceOSType -eq "AndroidForWork")
MacOS
- (device.deviceModel -eq "iPad Air")
And then simply create your Intune Management Profiles and Categories based on those created groups.
And don't forget to benefit of using device categories.
Hi Buddy
Thanks very much for the device queries per OS, very useful.
Can you please recheck the queries on:
AE Corp Owned Fully Managed
iOS Personal
Stuart
- MahmoudAtallahFeb 09, 2020Brass Contributor
As the best approach is to create device categories, by using the deviceCategory attribute. For example: device.deviceCategory -eq “Personal Device“.
When users of iOS and Android devices enroll their device, they must choose a category from the list of categories you configured. After they choose a category and finish enrollment, their device is added to the Intune device group, or the Active Directory security group that corresponds with the category they chose.
- StuartK73Feb 10, 2020Iron Contributor
Many thanks for your very informative reply.
Device Categories, I find, can be prone to error from end users, ie selecting the wrong category.
Do you have a reference that this is the best practice here?
User Groups vs Device Groups:
Regards