Forum Discussion

Robert Moir's avatar
Robert Moir
Copper Contributor
Feb 15, 2019
Solved

Targeting different intune policies to different devices for the same users.

Hi all, I'm looking at deploying Intune Standalone as a migration from SCCM Hybrid Intune and I'm looking to improve user experience while I can.   Talking about iOS devices here, we have users wh...
  • Deleted's avatar
    Deleted
    Feb 15, 2019

    Hi Robert,

     

    wouldn't it be a possibility to use dynamic groups yet?

    In my case we donÄt use DEP oder Android Zero Touch.

    The users can enroll their devices by their own. In the enrollment process they choose a device type (BYOD or COPE/CORP).

    I've set up a dynamic group like this: 

    e.g.

     

    Name: Intune_BYOD_Devices_IOS

    Rule: (device.deviceOSType -eq "iPad") -or (device.deviceOSType -eq "iPhone") -and (device.deviceCategory -eq "BYOD")

     

    or for Android:

    Rule: (device.deviceOSType -eq "Android") -and (device.deviceCategory -eq "BYOD")

     

    Be carefull: The OS Type for iOS Devices isn't "iOS" (Strange, i know).

    It is "iPad" and "iPhone".

    With the device.devicecategory you can distinguish BYOD and CORP or the types you have. (BYOD is just a string i used. If you use "Company Device" you have to use this string in the dynamic rule.

Resources