We want to have some users required to use MFA and some users that can log without. For this we have two groups "MFA Required" and "MFA Not Required". When we want to active MFA for a user, we simply move them from one group to the other. We have a conditional access that enforces the MFA.
The includes/excludes:
The grant:
The User flow:
The issue is that now I get the MFA screen for all users. The "MFA Enforcement" even says "Conditional delegates the MFA decision to conditional access policies." when hovering above the "i". When I check the option "Enforce conditional access policies" in the User Flow nothing changes.
What is going on here? I feel I'm missing something, but I can't find anything online.
EDIT: I checked the audit logs in azure and when I log in with the user from "MFA Required" I see this:
And for the user from "MFA Not Required" I see this:
I still get the MFA screen for both though.