Recently, several customers have asked for options to restrict the use of certain hardware vendors in their organization. Intune plans to provide additional options to restrict enrollment based on hardware manufacturer. We also plan to extend our CA compliance policies to block access based on hardware manufacturer.
Until this functionality is developed and deployed, however, I wanted to share a short-term workaround to restrict any of these devices. We’ll use a two-step combination of Azure AD dynamic group membership and “impossible” compliance policies to achieve this outcome.
First, we need to create an Azure AD dynamic group with all our target devices.
We now want to create an “impossible” compliance policy and target it at the newly created Azure AD group.
In Intune, create a new Device compliance policy for Android (you’ll need to do this for Android Enterprise too). In the Device Properties of the policy, configure the Minimum OS version to something impossible, like 100.
Now assign this compliance policy to the SomeHardwareVendor Android Devices group, and next time the group members check-in to Intune, they’ll be marked non-compliant.
With these two short steps, we can effectively block any hardware manufacturer from accessing corporate resources.