Android: Create dynamic group based on os build number

Copper Contributor

Any suggestions on how to create dynamic group based on os build number for Android devices?

4 Replies

@Truls_Paulsen 

 

Can try some of these queries to see if one is suitable: 

 

Intune filter rules based on OS versions — Handy reference 

Create an Azure AD dynamic group for Windows 11 devices 

 

Please like or mark this thread as answered if it's helpful, thanks!

no option on build number......

@Truls_Paulsen 

I am using the simple OS Version instead of build number and a filter to control assignments of settings or apps that only exist on certain OS versions - does that help anyone at all?
https://learn.microsoft.com/en-us/mem/intune/fundamentals/filters-device-properties

Tenant Administration > Filters > Create Device Filter > Android Enterprise

Android-Devices-Phones-Version-9
(device.osVersion -startsWith "9")

Android-Devices-Phones-Version-10
(device.osVersion -startsWith "10")

Android-Devices-Phones-Version-11
(device.osVersion -startsWith "11")

Android-Devices-Phones-Version-12
(device.osVersion -startsWith "12")

@Truls_Paulsen 

(device.deviceOSVersion -notIn ["17.0.3","16.7.1","17.1.1","17.1.2","17.2.1"]) 

This is the ONLY way I was able to get it to work.  The version is a text string so yeah, no greater than or less than can be used.

Provide the list of OS versions you want -In or do not want -notIn.