Setup Intune Policies
Overview
This guide explains how to configure and testConditional Access Policies
in Microsoft Intune
.
These policies define how access is granted or denied for users based on the compliance state of their devices.
For more information, read the official Microsoft Conditional Access documentation.
Misconfigured Conditional Access policies can unintentionally block users from signing in. Relution is not liable for any damages resulting from improper configuration. Targeting
all cloud apps
in thetarget resources
with strict policies will also block users from registering their devices.
Recommendations from Relution
To ensure a smooth rollout, Relution
recommends the following:
- to start with, either
- use the “report-only” mode to simulate policy effects before enforcement
- OR apply the policy to a limited group of test users
- never select
All cloud apps
in thetarget resources
. SelectingAll cloud apps
with strict policies will block users from being able to register their device. As of today, theMicrosoft Broker app
can’t be selected in theexclude
filter, which always needs to be enabled.- A good starting point is to target Office 365.
Example Policy Setup
Policies can be configured in Intune > Endpoint security > Conditional Access > Policies.
See the following screenshot as example:
Example configuration:
- Select the users the policy should apply to.
- Select the target ressources.
- In this example, we selected Microsoft Teams
- As a grant, we decided that devices have to be compliant
- Set the policy mode to
Report-Only
for initial testing.
Disable Security Defaults
If you receive an error about security defaults, you must disable them before Conditional Access policies can be used. More information can be found in the Microsoft documentation on security defaults.
If you’re sure to disable them, you can click on disable security defaults
, select disabled
and My organization is planning to use conditional access
.
Debugging and Policy Evaluation
To verify whether a policy has been applied successfully:
- Go to the
Sign-in logs
view inEntra ID
orIntune
. TheConditional Access
tab shows applied or evaluated policies.
Additionally, Microsoft
offers a What If tool.