Conditional Access Policies can be configured with three types of actions: allow, deny, and allow with MFA.
When a user tries signing in, they are first checked if they are part of an allow policy. If they are, and if their current sign-in attempt matches the conditions of the allow policy they are part of, they are allowed to sign in.
If they are not part of an allow policy, or don't pass the conditions of the allow policies they are part of, they are then checked against the allow with MFA policies. Again, if they don't fit into any of those, they are checked with the deny policies. If they don't fit in with any of the policies, the default policy is applied to them.
Out of these, allow and deny policies are straightforward; a user only has to pass against one of the policies they are part of, and the corresponding action is applied to them. For example, if they are a part of three allow policies, pass the conditions of one of the policies, and fail two policies, they will still be allowed to sign in. No further check is done.
MFA policies are different, as the specific policy a user passes is also checked. MFA policies have extra configurations: you decide which MFA factors a user is allowed to use, how long they can trust browser sessions, and whether they can use a backup code to bypass MFA.
Consider an example: A user is part of two MFA policies and passes the conditions of both. Let's say MFA policy 1 allows using only OneAuth, MFA policy 2 allows using only a hardware security key. Now during sign-in, a decision has to be made on which MFA factor should be allowed for the user; OneAuth or hardware security key.
To solve such cases, you will be able to set priorities for MFA policies when adding a policy. The policies are checked sequentially, and the MFA configuration of the first policy that a user passes is applied to the user. In our example, if MFA policy 1 had the higher priority, then the user would be allowed to use only OneAuth for signing in.
To reorder MFA policies after adding them:
- Sign in to Zoho Directory, then click Admin Panel in the left menu.
- Go to the Security tab, then go to Conditional Access Policies.
- Click Reorder Conditional Policy.
- Drag and drop the policies to reorder. The first policy has the highest priority, and the last one has the lowest priority.
- Click Reorder once you're done to save your changes.