Filters are great for a lot of reasons but mainly because they allow us to instantly target devices whereas the traditional way of using “Dynamic groups” takes time to update membership whenever new or updated devices appear.
Filters can be targeted towards the following device types.
- Windows 10 and later
- Android Device administrator
- Android Enterprise
Step 1: Create Filter
Start by going to the endpoint manager admin center and navigate to “Tenant administration > Filters” and click on “Create“
Give your filter a name and a brief description.
In my case i will be creating a filter that targets personal devices and exclude them from my OneDrive policy.
Platform: Windows 10 and later
I will be choosing to set my rules to look for the property “DeviceOwnership” and set it to target devices if the property “Equals” “Personal“.
Keep in mind the “Preview Devices” button at the bottom of the page. This is amazing to verify that you are actually targeting the devices you want using your filter.
Click next and create.
Step 2: Apply your filter.
Find your desired policy and change “Assignment” and click on the “Add all devices” button and chose “Edit filter“
Here you can choose to either include or exclude the filter you created earlier.
If you have any questions / feedback or would like to correct me on any of the stuff above, please use the comment section or contact me directly using the blue button in the bottom right corner.