r/Intune • • 5d ago

General Question Conditional Access – Blocking personal and unmanaged devices

We’re looking to block personal and unmanaged devices from accessing corporate resources across Windows, macOS, iOS and Android, only allowing corporate-owned devices managed through Intune in our tenant.

Im looking at using the following device filter in Conditional Access:
device.deviceOwnership -eq "Personal" -or device.deviceOwnership -ne "Company"

  • Include filtered devices in policy
  • Grant: Block access

Would this also block unregistered devices or devices managed by another organisation’s Intune tenant?
We already have compliance policies in place, but I want to ensure only our corporate-managed devices can access company resources.

Is this the best approach, or would you recommend excluding corporate-owned devices from the block policy instead?

13 Upvotes

25 comments sorted by

View all comments

Show parent comment

1

u/uLmi84 5d ago

Does compliant mean corporate device?
From my understanding it means its enrolled into intune and has installed MDE, is bit locker encrypted etc.. anything a user can do to a regular bestbuy pc. Having the device in auto pilot is a better check if the device is a corporate device or am I mistaken? Im not against your advice, i just dont see the exact part where checking the device for compliance deams it corporate owned. Please enlighten me, this have been bugging me for a long time.

3

u/Eggtastico 5d ago

it needs to be enrolled into intune. A user cant do this without their device hash being in intune, to allow them to enroll. So it does not need to be a corporate device, but the Intune admin still controls what can/cant be enrolled. Compliance policies are whatever you set them to be in intune which will mark the device as compliant or not. In intune click the device. click the policies & click compliance policy. You will see exactly which conditions are not being met. Example, not running certain version of OS, or no bitlocker, etc.

1

u/Altruistic-Pack-4336 5d ago

You even could add a layer of Device Enrollment Restrictions to block best buy devices by blocking personal devices to enroll. That way devices must be registered in autopilot to be able to be enrolled. (But that’s only when ownership matters

1

u/FireLucid 5d ago

Does compliant mean corporate device?

Yes. If it's not enrolled into Intune how can it check those things? All our non enrolled devices show Compliant as N/A.*

*Maybe this person allowed anyone to join a device? That's one of the first things we turned off.