Forum Discussion
Matthias_VDB
Jan 15, 2025Iron Contributor
"sign-in frequency" every time not working as expected and described.
We have several PIM managed groups in an Entra ID tenant.
Members are added as eligible.
For the activation of the memberships an Authentication Context is created which is linked to a conditional access policy.
The conditional access policy requires MFA with phishing resistant authentication factors, and "sign in frequency" is set to "every time".
When activating membership authentication is required. When activating membership to another group (>5min in between activations) one would expect to request an authentication prompt, as described in Microsoft documentation.
In Firefox this works as expected,
In Edge and Chrome there is no re-authentication required every time, and sometimes even not for the first activation, not even in an in-private session.
The device is not joined to this tenant, and the account used to log on is different from the one used to logon to the Entra ID portal.
This is a test tenant with only those CA rules configured, no other policies or rules are in place.
Anyone experiencing the same, or knowing the cause?
- Matthias_VDBIron Contributor
Update after some more testing.
Recap:
We have the following setup in a test-tenant with standard settings and required p2 licenses.
- PIM managed groups with only eligible memberships
- the configuration requires "Authentication context"
- The authentication context is custom made for this use case and linked with, for now, 1 Conditional Access policy.
- The conditional access policy is configured to require phishing resistant MFA, and Sign-In Frequency is set to "Every time". The policy is scoped to "all users"
The goal is to require MFA every time a user activates membership to one of those PIM managed groups, as those provide access to administrative permissions.
The expected behaviour, based on the Microsoft description is that a user is required to provide MFA for the activation if there is more than 5 minutes between those activations.
Updated experience after more testing:
The actual experience is very unpredictable:
- Sometimes no MFA is requested, even with the first logon if the user activates their membership within 5min after logging on to the Azure portal,
- Sometimes re-authentication with if MFA is requested as expected,
- Most of the times MFA is requested the first time, but succedent activations don't require re-authentication. It can happen after 1 hour those do, or 20 min, or... And in addition is the behaviour very different from browser to browser.
The Authentication Context is only used for this purpose.
The tests were done in a tenant with no other active CA policies in place.
The device is not joined to the tenant.
The account which is logged on to the device is not the account used to logon to the tenant.
Due to the unpredictability, we can't provide steps for the reproduction of the issue, as it is also stil not clear in which circumstances the behaviour is not as expected or described. I also assume this behaviour we experience is also not "as designed".
Thanks for the advice and feedback!